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

lists at rtwilson.com lists at rtwilson.com
Tue Dec 4 01:29:28 PST 2012


>>Does anyone know how to fix this? Have I got some configuration wrong
> somewhere?
>
> it's maybe an osgeo4w-mingw/msys-issue.
>
> try to add --host i686-pc-mingw32 in
>
> C:\OSGeo4W\usr\src\grass_trunk\mswindows\osgeo4w\package.sh
>
> 	./configure  --host i686-pc-mingw32 \
> 		--with-libs="$OSGEO4W_ROOT_MSYS/lib $PWD/mswindows/osgeo4w/lib" \
> 		--with-includes=$OSGEO4W_ROOT_MSYS/include \
> 		--libexecdir=$OSGEO4W_ROOT_MSYS/bin \

I've added this and now get the following output in the package.log file:

Tue Dec 4 09:27:47 GMTST 2012: STARTING remove old logs
Tue Dec  4 09:27:47 GMTST 2012: FINISHED remove old logs AFTER 0s
Tue Dec 4 09:27:47 GMTST 2012: STARTING configure
checking host system type... i686-pc-mingw32
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... rm: cannot lstat `conftest.exe':
Permission denied
yes
checking for Cygwin environment... rm: cannot lstat `conftest.exe':
Permission denied
rm: cannot lstat `conftest.exe': Permission denied
rm: cannot lstat `conftest.exe': Permission denied
no
checking for mingw32 environment... rm: cannot lstat `conftest.exe':
Permission denied
rm: cannot lstat `conftest.exe': Permission denied
rm: cannot lstat `conftest.exe': Permission denied
yes
checking for executable suffix... .exe
checking for full floating-point support... rm: cannot lstat
`conftest.exe': Permission denied
no
checking for full floating-point support with -mieee... rm: cannot lstat
`conftest.exe': Permission denied
no
configure: warning: *** Incomplete floating-point support.
rm: cannot lstat `conftest.exe': Permission denied
rm: cannot lstat `conftest.exe': Permission denied
checking for pwd... /bin/pwd
checking for source directory... /osgeo4w/usr/src/grass_trunk
checking for build directory... /osgeo4w/usr/src/grass_trunk
checking for svnversion... no
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/OSGeo4W/include
checking for additional library dirs... /c/OSGeo4W/lib
/osgeo4w/usr/src/grass_trunk/mswindows/osgeo4w/lib
checking for a BSD compatible install... /bin/install -c
checking for flex... flex
checking for yywrap in -lfl... no
checking for bison... bison -y
checking for ranlib... ranlib
checking for ar... ar
checking for env... env
checking for perl... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for limits.h... yes
checking for termio.h... no
checking for termios.h... no
checking for unistd.h... yes
checking for values.h... yes
checking for f2c.h... no
checking for g2c.h... no
checking for sys/ioctl.h... no
checking for sys/mtio.h... no
checking for sys/resource.h... no
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for sys/types.h... yes
checking for sys/utsname.h... no
checking for libintl.h... no
checking for iconv.h... yes
checking for langinfo.h... no
checking whether time.h and sys/time.h may both be included... yes
checking for off_t... yes
checking for uid_t in sys/types.h... no
checking return type of signal handlers... void
checking for Cygwin environment... no
checking for ftime... yes
checking for gethostname... no
checking for gettimeofday... yes
checking for lseek... yes
checking for nice... no
checking for time... yes
checking for uname... no
checking for seteuid... no
checking for setpriority... no
checking for setreuid... no
checking for setruid... no
checking for drand48... no
checking for putenv... yes
checking for setenv... no
checking for nanosleep... no
checking whether setpgrp takes no argument... yes
checking for long long int... yes
checking for W11... no
checking for X... disabled
checking for library containing cuserid... no
checking for asprintf... no
checking for atan... yes
checking for dlsym... no
checking for dlsym in -ldl... no
checking for iconv... no
checking for iconv in -liconv... no
checking for iconv in -lgiconv... no
checking for libiconv... no
checking for libiconv in -liconv... yes
checking for socket... no
checking for socket in -lsocket... no
configure: warning: *** Unable to locate socket() function.
checking for location of zlib includes...
checking for zlib.h... yes
checking for location of zlib library...
checking for deflate in -lz... yes
checking for location of External PROJ.4 includes...
checking for proj_api.h... yes
checking External PROJ.4 version... 480
checking for location of External PROJ.4 library...
checking for pj_get_def in -lproj... yes
checking for location of External PROJ.4 data files... /c/OSGeo4W/share/proj
checking for /c/OSGeo4W/share/proj/epsg... yes
checking for nad2bin... /c/OSGeo4W/bin/nad2bin
checking whether to use regex... yes
checking for location of regex includes...
checking for regex.h... no
configure: error: *** Unable to locate regex includes.

It looks like there are some errors finding things like conftest.exe early
on, and then an error about regexps.

Any ideas?

>
>
>
> -----
> best regards
> Helmut
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/Error-compiling-GRASS-7-on-Windows-Unknown-platform-i686-pc-msys-tp5020437p5020442.html
> Sent from the Grass - Dev mailing list archive at Nabble.com.
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>




More information about the grass-dev mailing list