[Gdal-dev] Compiling GDAL
Frank Warmerdam
warmerdam at pobox.com
Wed Apr 14 10:38:53 EDT 2004
Gabriel Moricz wrote:
> Hello..
>
> I hope that this list help me...I am needing and it is a bit urgent...
>
> Well.....I am using gdal-1.2.0 in a Debian distribution...
>
> Well I made my ./configure like this:
>
> ./configure --with-libtiff=/usr/local --with-geotiff=/usr/local --with-jpeg=
> /usr --with-gif=/usr --with-pg=/usr/local/pgsql/bin/pg_config
>
> where libtiff, geotiff and pgsql I have downloaded the source and complied
> and installed..
>
> and JPEG, and GIF I used the pre-installed of the Debian via apt-get
>
> well the configure shows the result that I wanted but the make returns a
> error that I have no idea to how to solve it...
>
> The error is:
> make[2]: Entering directory `/usr/local/src/gdal-1.2.0/frmts/gif'
> /bin/sh ../../libtool --mode=compile
> g++ -Wall -O2 -I/usr -I/usr/include -I/usr -I/usr/include -I/usr/local/in
> clude -I/usr/local/include -I../../port -I../../gcore -I../../ogr -I../../
> port -c -o ../o/gifdataset.o gifdataset.cpp
>
> g++ -Wall -O2 -I/usr -I/usr/include -I/usr -I/usr/include -I/usr/local/inclu
> de -I/usr/local/include -I../../port -I../../gcore -I../../ogr -I../../port
> -c gifdataset.cpp -fPIC -DPIC -o ../o/.libs/gifdataset.o
> gifdataset.cpp: In method `GIFRasterBand::GIFRasterBand(GIFDataset *, int,
> SavedImage *, int)':
> gifdataset.cpp:214: `struct ExtensionBlock' has no member named `Function'
> make[2]: *** [../o/gifdataset.o] Error 1
> make[2]: Leaving directory `/usr/local/src/gdal-1.2.0/frmts/gif'
> make[1]: *** [gif-install-obj] Error 2
> make[1]: Leaving directory `/usr/local/src/gdal-1.2.0/frmts'
> make: *** [frmts-target] Error 2
Gabriel,
I believe you will just have to use the internal libgif or configure GDAL
without it. The GDAL higher level code requires some stuff from a quite
recent version of the library ... apparently newer than what you have
installed via apt-get anyways.
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