[GRASS-dev] Installing GRASS GIS on Windows

Helmut Kudrnovsky hellik at web.de
Sat Dec 2 23:53:01 PST 2017


Jerry Huang wrote
> Hello,
> 
> I was attempting to download and install GRASS GIS (grass72_release) using
> the following link: https://trac.osgeo.org/grass/wiki/CompileOnWindows
> 
> Following the steps, I get an error from running:
> 
> OSGEO4W_POSTFIX=64 ./mswindows/osgeo4w/package.sh
> 
> Checking package.log, it seems that the error stems from the absence of a
> Platform.make file. Does anyone know a fix to this?
> 
> include/Make/Vars.make:1: include/Make/Platform.make: No such file or
> directory
> make: *** No rule to make target 'include/Make/Platform.make'.
> make: Failed to remake makefile 'include/Make/Platform.make'.
> /dist.
> make: /dist.: Command not found
> make: *** [include/Make/Rules.make:16: /dist.] Error 127
> 
> Thanks,
> Jerry
> 
> _______________________________________________
> grass-dev mailing list

> grass-dev at .osgeo

> https://lists.osgeo.org/mailman/listinfo/grass-dev

Maybe change the subject of your mail to 'compiling on Windows'.

a package.log should have been created.

could you post here the relevant part of configure in package.log?

It should look similar to

"Sat Dec 2 00:20:39 2017: STARTING configure
checking host system type... x86_64-w64-mingw32
checking for gcc... gcc
checking whether the C compiler (gcc 
-L/c/msys64/usr/src/grass_trunk/mswindows/osgeo4w/lib -lz) works... yes
checking whether the C compiler (gcc 
-L/c/msys64/usr/src/grass_trunk/mswindows/osgeo4w/lib -lz) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for Cygwin environment... no
checking for mingw32 environment... yes
checking for executable suffix... .exe
checking for full floating-point support... yes
checking for pwd... /usr/bin/pwd
checking for source directory... /c/msys64/usr/src/grass_trunk
checking for build directory... /c/msys64/usr/src/grass_trunk
checking for svnversion... /usr/bin/svnversion
checking for MacOSX App... no
checking for MacOSX architectures... no
checking for MacOSX SDK... no
checking how to build libraries... shared
checking for additional include dirs... /c/OSGeo4W64/include
checking for additional library dirs... 
[... ]

"Sat Dec 2 00:20:39 2017: FINISHED configure"



-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html


More information about the grass-dev mailing list