[Gdal-dev] Compling GDAL 1.3.1 in MinGW

Mike Leahy mgleahy at golden.net
Fri Dec 9 15:20:29 EST 2005


Frank,

Thanks - that did the trick.

This leads me to a more general question: would I be better off if I 
were to use Cygwin instead of MinGW/MSYS for compiling code on Win32? 
It's been a while for me, but I seem to recall that Cygwin uses bash...

Thanks again,
Mike

Frank Warmerdam wrote:
> 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