[Gdal-dev] Gdal compilation problems in Solaris 8
Frank Warmerdam
warmerdam at pobox.com
Thu Nov 17 09:11:34 EST 2005
On 11/17/05, Juan Mari Celihueta <jmcm at euskalnet.net> wrote:
> (cd swig; make build)
> make[1]: Entering directory `/home1/MAPSERVER/SRC/gdal-1.3.1/swig'
> for dir in ; do (cd $dir; make build ); done
> /bin/sh: syntax error at line 1: `;' unexpected
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/home1/MAPSERVER/SRC/gdal-1.3.1/swig'
> make: *** [swig-target] Error 2
Juan,
This is a problem with using /bin/sh instead of /bin/bash, well
really I should say the problem is that a "bashism" slipped into the
makefile.
To work around this manually edit gdal/GNUmakefile and change:
swig-target:
(cd swig; $(MAKE) build)
to:
swig-target:
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