[Gdal-dev] Compiling GDAL

Gabriel Moricz gabriel at autofax.com.br
Wed Apr 14 10:16:45 EDT 2004


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

Please....help me....it is a bit urgent...

Thanks

Gabriel Moricz




More information about the Gdal-dev mailing list