[GRASS-dev] Re: FW: [GRASS-user] GRASS for windows script solution
Moritz Lennert
mlennert at club.worldonline.be
Wed Dec 5 05:05:18 EST 2007
On 03/12/07 19:51, Michael Barton wrote:
> Moritz,
>
> Here is more information on GRASS for Windows and NVIZ from Isaac. We
> still can’t get NVIZ to launch if GRASS is started from the grass.bat
> file. Given that it DOES work fine if launched from within MySys, it
> seems that this must be some kind of path issue that is potentially
> solvable.
I think I found the culprit, although I don't understand why it used to
work before, nor why it works on my machine...
In etc/gm/gm.tcl, lines 142 and 143 read:
append regexp .* $env(GISBASE) {[^:]*}
regsub -- $regexp $env(PATH) "&:$env(GISBASE)/etc/gui/scripts" env(PATH)
However, in windows, the seperator in the PATH variable is a ';', not a
':'. Could you try changing the two ':' in these two lines to ';' and
see what happens:
append regexp .* $env(GISBASE) {[^;]*}
regsub -- $regexp $env(PATH) "&;$env(GISBASE)/etc/gui/scripts" env(PATH)
Moritz
More information about the grass-dev
mailing list