[GRASS-dev] Re: [GRASS-user] Referencias de GRASS 6.3.0 nativo para MS-Windows

Markus Neteler neteler at osgeo.org
Sun Feb 8 15:40:29 EST 2009


On Sun, Feb 8, 2009 at 8:18 PM, Markus Neteler <neteler at osgeo.org> wrote:
> On Sun, Feb 8, 2009 at 5:19 PM, Glynn Clements <glynn at gclements.plus.com> wrote:
>>
>> Markus Neteler wrote:
>>
>>> PS: I would like to do testing but don't know how to start grass64.bat
>>> in the mingw shell in wine...
>>
>> You're not supposed to start it from the MSys shell, but from the
>> Windows command prompt (cmd.exe).
>>
>> It should be mostly usable without having MSys installed.
>
> I also tried cmd.exe:
>
> wine $HOME/.wine/drive_c/windows/system32/cmd.exe
> D:\> cd .wine\drive_c\OSGeo4W\bin
> D:\.wine\drive_c\OSGeo4W\bin>grass64.bat
> Access denied

I overlooked the "@echo off" on top.


[neteler at host550 bin]$ wine ~/.wine/drive_c/windows/system32/cmd.exe
CMD Version 1.1.4

C:\OSGeo4W\bin>g64.bat
C:\OSGeo4W\bin>SET OSGEO4W_ROOT=C:\OSGeo4W
C:\OSGeo4W\bin>PATH C:\OSGeo4W\bin;C:\windows\system32;C:\windows
C:\OSGeo4W\bin>for %f in
C:\OSGeo4W\bin>call "C:\OSGeo4W"
Access denied

C:\OSGeo4W\bin>do call "%f"
Invalid name

      [ Apparently the for loop is too fancy for Wine ]

C:\OSGeo4W\bin>rem
#########################################################################
C:\OSGeo4W\bin>rem #
C:\OSGeo4W\bin>rem #            GRASS Initialization
...
C:\OSGeo4W\bin>rem set GRASS_PROJSHARE=c:\grass\share\proj
C:\OSGeo4W\bin>set WINGISBASE=C:\OSGeo4W/apps/grass/grass-6.4.0RC3
C:\OSGeo4W\bin>"C:\OSGeo4W/apps/grass/grass-6.4.0RC3"\etc\init.bat
File not found

Hacking the bat files gets into the Init.bat file. But it later fails with a
python error because some modules aren't found. I guess this is just
too funky to work with Wine.

Markus


More information about the grass-dev mailing list