[Gdal-dev] Compling GDAL 1.3.1 in MinGW

Frank Warmerdam warmerdam at pobox.com
Fri Dec 9 00:29:44 EST 2005


On 12/8/05, Mike Leahy <mgleahy at golden.net> wrote:
> Ok, without sqlite, I get a new error:
>
> (cd .libs && rm -f libgdal.la && ln -s ../libgdal.la libgdal.la)
> make[1]: Leaving directory `/Downloads/gdal-1.3.1'
> (cd swig; make build)
> make[1]: Entering directory `/Downloads/gdal-1.3.1/swig'
> for dir in ; do (cd $dir; make build ); done
> /bin/sh.exe: -c: line 1: syntax error near unexpected token `;'
> /bin/sh.exe: -c: line 1: `for dir in ; do (cd $dir; make build ); done'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/Downloads/gdal-1.3.1/swig'
> make: *** [swig-target] Error 2

Mike,

This is a known problem with GDAL 1.3.1 on non-bash
based systems.  You will need to comment out the swig
related stuff in the GDAL GNUmakefile.  It will be fixed
in 1.3.2.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list