[Gdal-dev] compile swig problem

Frank Warmerdam warmerdam at pobox.com
Sun Nov 6 10:52:31 EST 2005


On 11/5/05, Bruce Bill <tzhai2002 at yahoo.com> wrote:
> Hi, list,
>    as shown in my previous posting, I 've disabled all
> the swig wrapper components (perl, php etc) by setting
> --with- flag to no, somehow when make, it still
> entering the swig directory to try to make build?!
>    I just couldn't get around that syntax error
> problem for the swig component, so I try to get rid of
> it during the make process, how do I do that?

Bruce,

I suspect the problem is that traditional /bin/sh (normally
used under Solaris) does not support an empty item list
in a for loop where as we don't run into this with bash on
linux platforms.

To work around this try editing gdal/GNUmakefile
and changing:

swig-target:
	(cd swig; $(MAKE) build)

to:
swig-target:

I would also appreciate it if you could file a bug on this in
bugzilla so we can ensure it is fixed for the 1.3.2 release.

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