[Gdal-dev] installing gdal

Christine Spietz spietz at fh-bingen.de
Tue May 23 04:48:36 EDT 2006


Hi folks,

tried some other things to install the gdal/ogr-sources but they all don't 
succeed.
Can please give anybody some help?

I think I may have located the error but I'm not sure and if it really is 
the error other people should had have similar problems...... but I was not 
able to find something on the list:

After all problems (see previous message) I decided that I must have choosen 
the wrong configuration.
So I tried several kinds of (in my opinion) possible configurations. Last 
one was

gdal-home > 
./configure --with-jpeg=/usr/lib/gdal/gdal-cvs-2006.05.18/frmts/jpeg/libjpeg

(but I'm still not sure is it is the write path and I think I do not really 
need to have a configuration with jpeg, because I "only" want to 
transform/convert vector data)

The error-message after a 'make'-command was
>...
>......../i586-suse-linux/bin/ld: cannot find -l jpeg

>collect2: ld returned exit status make[1]: ***[libgdal.la] Error 1

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

>make: *** [check-lib] Error 2

Now I thought maybe something wrong in the libgdal.la-file 
(/usr/lib/gdal/gdal-cvs-2006.05.18/libgdal.la)
and in the file there it stands:
>#Libraries that this one depends on:
>dependency_libs='...... /usr/lib/libjpeg.la -lrt -ldl 
>/usr/lib/libstdc++.la'

But I have no file libjpeg.la!

So again I configured:

./configure --with-jpeg=no, hoping the dependency-libs-list in libgdal.la 
would change but it doesn't

after a make becoming the same error as I got before while trying to 
configure without jpeg.

>/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

By the side it seems curious that by configuring with "--with-jpeg=no" there 
is still the error message like this

I would be really gratefull for any help!


Christine






> 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
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
> 




More information about the Gdal-dev mailing list