[GRASS-dev] Re: [GRASS GIS] #1553: osgeo4w and qgis builds: path
settings to msys on wingrass find wrong 'sort'
GRASS GIS
trac at osgeo.org
Tue Jan 31 08:13:39 EST 2012
#1553: osgeo4w and qgis builds: path settings to msys on wingrass find wrong
'sort'
-------------------------------------+--------------------------------------
Reporter: sbl | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Packaging | Version: 6.4.2 RCs
Keywords: wingrass, osgeo4w, qgis | Platform: MSWindows XP
Cpu: Unspecified |
-------------------------------------+--------------------------------------
Comment(by sbl):
Replying to [comment:5 hamish]:
> Replying to [comment:4 sbl]:
> > I can confirm that:
> > v.db.select --verbose map=grid columns=cat where="cat>10"
> > works on a fresh installation of OSGeo4W, though, v.report
> > and sort do not.
>
> what does `which sort` say? how about `which echo`?
`which sort` says:
'which' is not recognized as an internal or external
command,
operable program or batch file.
Both, from the GRASS Text GUI, and the WX-GUI commandline interface
Invoked from Msys it says:
/bin/sort.exe
>
> do /bin/sort.exe and /bin/echo.exe exist?
Not in C:\OSGeo4W\bin, but in C:\OSGeo4W\apps\msys\bin
>
> are you running the commands from a MSys rxvt terminal prompt, a cmd.exe
DOS box, or the wxGUI command-line entry box?
I tried the DOS box (GRASS Text GUI), the Wx-GUIs commandline, and Msys.
The commands work only on Msys.
>
> In your $PATH /bin comes before /c/WINDOWS/system32, so I'm not sure why
it wouldn't pick up /bin/sort.exe if it was there.
Really strange, but when I write C:\OSGeo4W\apps\msys\bin\sort in GRASS
CMD it works also from there.
>
>
> thanks,
> Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1553#comment:6>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list