Opened 16 years ago

Closed 13 years ago

#90 closed defect (fixed)

grass-pkg: wrong version in apps/grass/bin/ scripts

Reported by: hamish Owned by: osgeo4w-dev@…
Priority: trivial Component: Package
Version: Keywords: grass
Cc:

Description

Hi,

this is the 6.4.0svn-2 package.

the /c/OSGeo4W/apps/grass/bin/grass64 and grass64.bat scripts have not been modified to reflect the current version and directory layout. They both still contain "6.4.0RC4" in the GISBASE path name, which doesn't exist.

thanks, Hamish

Change History (7)

comment:1 by jef, 16 years ago

Priority: majortrivial

those scripts are unused. grass64.bat in %OSGEO4W_ROOT%\bin has been updated.

in reply to:  1 comment:2 by hamish, 16 years ago

Replying to jef:

those scripts are unused. grass64.bat in %OSGEO4W_ROOT%\bin has been updated.

ok. we had a user report all sorts of problems trying to start GRASS from the provided Msys unix terminal (Vista 64bit). I tried too and hit that script and so filed the bug. Once corrected we get a "Redirection is not supported" error while running the $GISBASE/etc/set_data interactive curses text startup program. From the DOS box and Start Menu icons it all starts ok.

http://thread.gmane.org/gmane.comp.gis.grass.user/29660 http://thread.gmane.org/gmane.comp.gis.grass.user/29628/focus=29730

thanks, Hamish

in reply to:  1 ; comment:3 by hamish, 16 years ago

Replying to jef:

those scripts are unused. grass64.bat in %OSGEO4W_ROOT%\bin has been updated.

[scripts are still used if grass is launched from the msys terminal]

c:\osgeo4w\apps\grass\bin\grass64 (.sh) has had PYTHONPATH and other stuff removed from it in the osgeo4w version:

mswindows/GRASS-Installer.nsi

FileWrite $0 '# Set the PYTHONPATH variable$\r$\n'
FileWrite $0 'PYTHONPATH="$$GISBASE/etc/python:$$GISBASE/Python25:$$PYTHONPATH"$\r$\n'
FileWrite $0 'export PYTHONPATH$\r$\n'
FileWrite $0 'PYTHONHOME="$INSTALL_DIR\Python25"$\r$\n'
FileWrite $0 'export PYTHONHOME$\r$\n'

see http://trac.osgeo.org/grass/ticket/623#comment:6

Hamish

in reply to:  3 comment:4 by hamish, 16 years ago

Replying to hamish:

Replying to jef:

those scripts are unused. grass64.bat in %OSGEO4W_ROOT%\bin has been updated.

[scripts are still used if grass is launched from the msys terminal]

e.g. the instructions at https://trac.osgeo.org/grass/wiki/CompileOnWindows suggest to use them. (even though users doing that would have already set the new paths themselves as part of the build ...)

c:\osgeo4w\apps\grass\bin\grass64 (.sh) has had PYTHONPATH and other stuff removed from it in the osgeo4w version:

Sorry, I speak terrible lies. No such thing has been done. There was a bug in Init.sh that was blocking PYTHONPATH from getting set. Now fixed in SVN.

see http://trac.osgeo.org/grass/ticket/623

and today's UPDATES: https://trac.osgeo.org/grass/wiki/CompileOnWindows

(r.li's Makefile now fixed, etc...)

Hamish

comment:5 by neteler, 15 years ago

Is this still an issue?

Markus

comment:6 by hamish, 15 years ago

I'm not sure, the OSGeo4W GRASS build hasn't been updated since 14 Oct 2009.

Hamish

comment:7 by martinl, 13 years ago

Resolution: fixed
Status: newclosed

The situation change a lot, last comment is 2 years old. Closing...

Note: See TracTickets for help on using tickets.