[Gdal-dev] installing gdal

Christine Spietz spietz at fh-bingen.de
Fri May 19 03:14:04 EDT 2006


Hi all,

originally I wanted to use the java-swig bindings (and I still want to) but 
also after lots of help from the list (thanks to Ben and Frank) I was not 
able to install.
So we decided that it might be the best to start the installation right new 
at the beginning. But I still can't do it. Here the things I did and what 
happened:


  a.. Download daily snapshoot: http://dl.maptools.org/dl/gdal/daily/: 
gdal-cvs-2006.05.18.tar.gz

  b.. unzip/tar in the gdal-home-directory (=GDAL_HOME) => 
/usr/lib/gdal/gdal-cvs-2006.05.09

  c.. in GDAL_HOME/swig/java/java.opt JAVA_HOME set right

  d.. GDAL_HOME> ./configure (=> z.b. Eine Datei GDAL.opt aus GDAL.opt.in)

  e.. GDAL_HOME> make

#####################error-log

.......

g++ .... .libs/ogrgeometryfactory.o

In file included from ogrgeometryfactory.cpp:127:

ogr_geos.h:47:22:error:geos_c.h: No such file or directory

ogrgeometryfactory.cpp: In static member function static 
OGRGeometry*OgrGeometryFactory:createFromGeos(GEOSGeom_t*):

ogrgeometryfactory.cpp:839: error:GEOSGeomToWKB_buf was not declared in this 
scope

make[1]: ***[ ogrgeometryfactory .o] Error 1

make[1]: Leaving directory '/usr/lib/gdal/gdal-cvs-2006.05.18/ogr'

make: ***[ogr-target] Error 2

#####################

  a.. GDAL_HOME> ./configure -help =>

  a.. GDAL_HOME> ./configure --with-geos=yes

  b.. GDAL_HOME> make

##################error-log

/usr/bin/sed: can't read /usr/lib/libjpg.la: No such file or directory
libtool: link: '/usr/lib/libjpg.la' is not a valid libtool archive
make[1]: *** [libgdal.la] Error 1
make[1]: Leaving directory '/usr/lib/gdal/gdal-cvs-2006.05.18'
make: *** [check-lib] Error 2

##################

  a.. GDAL_HOME> ./configure --with-geos=yes --with-jpeg=no

  b.. GDAL_HOME> make

###########error-log

/usr/bin/sed: can't read /usr/lib/libjepg.la: No such file or directory
libtool: link: '/usr/lib/libjpeg.la' is not a valid libtool archive
make[1]: *** [libgdal.la] Error 1
make[1]: Leaving directory '/usr/lib/gdal/gdal-cvs-2006.05.18'
make: *** [check-lib] Error 2

###########

  a.. GDAL_HOME> ./configure --with-geos=yes --with-jpeg=internal

  b.. GDAL_HOME> make

Getting the same error as before ;-(

Any idea what I am doing wrong?



Best regards

Christine 




More information about the Gdal-dev mailing list