[GRASSLIST:5461] Re: 5.0 and 5.1 on same machine?

Radim Blazek blazek at itc.it
Tue Feb 4 04:36:53 EST 2003


On Monday 03 February 2003 09:38 pm, Jeff D. Hamann wrote:
> I'm thinking about doing work on GRASS 5.1, but need a stable version to do
> regular work with. Is it possible to have GRASS 5.0.x and GRASS 5.1.x on
> the same machine (cygwin)?

I know nothing about GRASS/CYGWIN, on Linux there is no problem, 
some notes:
- you can run 5.0 and 5.1 at the same time (current region (WIND)
  is shared so run modules in both at the same time may be problem)

- XDRIVER is modified, some modules (d.what.*) are not backward/forward
  compatible. Unfortunately management of XDRIVERs is not separated,
  you must not select XDRIVER started by other version.
  Correct:
  grass50: d.mon start=x0; d.mon select=x0
  grass51: d.mon start=x1; d.mon select=x1
  Wrong:
  grass50: d.mon start=x0
  grass51: d.mon select=x0

- you can run 5.0 modules from 5.1 shell if PATH and GISBASE
  is set to 5.0, I use script 'g50':
export PATH=/yourpath/grass/dist.i686-pc-linux-gnu/bin:$PATH;
export GISBASE=/yourpath/dist.i686-pc-linux-gnu;
$*

  and run 5.0 modules:
g50 r.buffer


Radim




More information about the grass-user mailing list