[Gdal-dev] building gdal on solaris

Peter.Rushforth at statcan.ca Peter.Rushforth at statcan.ca
Fri Apr 21 09:42:35 EDT 2006


Thanks for your help. I ran configure --without-static, which
successfully got past the ar error ( I did add /usr/ccs/bin
where ar is to see if that did anything, but I still got the
error).  Anyhow, now I have a problem with an empty BINDINGS
variable set in GDALmake.opt, which causes the following failure:

I will try --without-libtool as you suggested.

make[1]: Entering directory `/bilbo05/rushpet/gdal/gdal-1.3.1'
GNUmakefile:44: warning: overriding commands for target `libgdal.la'
GNUmakefile:40: warning: ignoring old commands for target `libgdal.la'
make[1]: `libgdal.la' is up to date.
make[1]: Leaving directory `/bilbo05/rushpet/gdal/gdal-1.3.1'
(cd swig; make build)
make[1]: Entering directory `/bilbo05/rushpet/gdal/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 `/bilbo05/rushpet/gdal/gdal-1.3.1/swig'
make: *** [swig-target] Error 2

Peter Rushforth
Geography Division
Statistics Canada
Ottawa Ontario
K1A 0T6


> -----Original Message-----
> From: Alessandro Amici [mailto:lists at b-open-solutions.it] 
> Sent: April 21, 2006 3:44 AM
> To: gdal-dev at lists.maptools.org
> Cc: Peter.Rushforth at statcan.ca
> Subject: Re: [Gdal-dev] building gdal on solaris
> 
> 
> Alle 04:32, venerdì 21 aprile 2006, Peter.Rushforth at statcan.ca ha 
> scritto:
> 
> ...
> > (cd .libs && rm -f libgdal.so.1 && ln -s libgdal.so.1.9.0
> > libgdal.so.1)
> > (cd .libs && rm -f libgdal.so && ln -s libgdal.so.1.9.0 libgdal.so)
> > false cru .libs/libgdal.a  ./frmts/o/EnvisatFile.o 
> > ./frmts/o/_getcell.o ...
> ...
> 
> apparently there is a problem with the command 'ar' that is not found 
> ('false' is used instead which raises the error).
> 
> i would suggest to configure with --without-static if you 
> only use the 
> dynalic library libgdal.so.
> 
> as said by Frank, --without-libtool is another possibility.
> 
> cheers,
> alessandro
> 
> -- 
> B-Open Solutions srl - http://www.bopen.it/ - http://www.bopen.eu/
> 




More information about the Gdal-dev mailing list