[GRASS-dev] GRASS GIS compilation on windows: SET OSGEO4W_ROOT=@osgeo4w@ not replaced by SET OSGEO4W_ROOT=C:\OSGeo4W64
Helmut Kudrnovsky
hellik at web.de
Sat Jan 6 12:59:05 PST 2018
Martin Landa wrote
> Hi,
>
> 2018-01-06 21:27 GMT+01:00 Helmut Kudrnovsky <
> hellik@
> >:
>> SET OSGEO4W_ROOT=@osgeo4w@ <=
>
> [...]
>
>> SET OSGEO4W_ROOT=C:\OSGeo4W64
>> [...]
>> --------------------------
>>
>> it seems @osgeo4w@ isn't replaced by C:\OSGeo4W64
>>
>> any idea how to fix this?
>
> not needed, it's done by installation process on client machine [1]
> (path can differ)
>
> [1]
> https://trac.osgeo.org/grass/browser/grass/trunk/mswindows/osgeo4w/postinstall.bat#L3
don't understand it right.
when I do in msys2:
PACKAGE_POSTFIX=-daily OSGEO4W_POSTFIX=64 ./mswindows/osgeo4w/package.sh
grass75svn.bat is copied to C:\OSGeo4W64\bin\, but with this line:
SET OSGEO4W_ROOT=@osgeo4w@
when is this replaced? when is postinstall.bat launched? only when the
compiled package is uploaded to OSGeo4W and then downloaded by the
OSGeo4W-installer?
in the wiki (https://trac.osgeo.org/grass/wiki/CompileOnWindows#Usage)
---------------------
Usage
To start GRASS use the icon on the desktop or if you want to be able to use
the command line from within GRASS.
Type in the OSGeo4W cmd console (assuming that we compiled GRASS 7.1):
c:\osgeo4w\bin\grass71svn.bat
---------------------
when I do this with the self compiled C:\OSGeo4W64\bin\grass75svn.bat, then
GRASS can't be started because of the missing correct SET OSGEO4W_ROOT=....
-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
More information about the grass-dev
mailing list