[GRASS-dev] Re: [GRASS GIS] #820: r.in.wms doesn't work in WinGRASS installer distribution

GRASS GIS trac at osgeo.org
Thu Feb 11 02:14:29 EST 2010


#820: r.in.wms doesn't work in WinGRASS installer distribution
---------------------------+------------------------------------------------
  Reporter:  ddalimonte    |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  normal        |   Milestone:  6.4.0                    
 Component:  Packaging     |     Version:  svn-releasebranch64      
Resolution:                |    Keywords:  r.in.wms, wingrass       
  Platform:  MSWindows XP  |         Cpu:  Unspecified              
---------------------------+------------------------------------------------
Comment (by hamish):

 Replying to [comment:17 cmbarton]:
 > I don't have a Windows platform computer and so cannot test
 > directly. I've just seen scripts fail with the error that awk
 > (or gawk) doesn't exist with recent winGRASS installations
 > (i.e., not the osgeo4w version of GRASS).

 it seems like it is now with the r40876 nightly build, but I don't think
 that's the problem. I think the problem is that #!/bin/bash is being run
 as some other sh for some reason.

 C:\Program Files\GRASS-64-SVN\msys\bin\awk
 and "awk" works for me at the MSys command prompt. (It is just a tiny
 shell script that does `gawk "$@"`.)


 fwiw bash.exe and sh.exe have the exact same filesize and $BASH_VERSION
 says "3.1.0(1)-release". There is no sign of `dash`.

 fwiw2 I just ran the awk-using script r.colors.stddev from the MSys prompt
 and from the wxGUI menu and it worked fine.

 I don't think there is any usage difference between awk and gawk, because
 on my Debian install it's the same symlink.


 Hamish

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/820#comment:21>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list