[GRASS-dev] Error compiling GRASS 7 on Windows - Unknown platform i686-pc-msys

Glynn Clements glynn at gclements.plus.com
Mon Dec 3 11:13:20 PST 2012


Robin Wilson wrote:

> I've been trying to compile GRASS 7 (latest svn) on Windows,
> following the instructions at
> http://trac.osgeo.org/grass/wiki/CompileOnWindows. When running the
> package.sh script from within MSYS I got nothing displayed on a
> screen, waited only a short time, and then got back to the command
> prompt. I assumed it hadn't work, and found the package.log file
> (see below). It seems that it can't deal with a platform of
> i686-pc-msys.
> 
> Does anyone know how to fix this? Have I got some configuration
> wrong somewhere?

It appears that "uname -s" refers to "msys" rather than "mingw".

I've made the following change in r54167:

--- aclocal.m4	(revision 54165)
+++ aclocal.m4	(working copy)
@@ -506,6 +506,7 @@
 	    LD_LIBRARY_PATH_VAR="PATH"
 	    ;;
         *-pc-mingw32)
+        *-pc-msys)
             SHLIB_LD_LIBS='${LIBS}'
             SHLIB_SUFFIX=".dll"
             SHLIB_LD="${CC} -shared"

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list