[Gdal-dev] gdal configure problem

David Burken dburken at comcast.net
Mon Mar 6 10:36:40 EST 2006


Hi Frank,

Just fyi, these are two things that I have to do every time I get a 
configure update:

First I'm on:
mercury$ cat /etc/redhat-release
Fedora Core release 4 (Stentz)
mercury$ g++ -v
gcc version 4.0.2

NOTE my libtiff and geotiff are from cvs and installed in my 
"/usr/local/ossim" sandbox (--prefix=/usr/local/ossim):

./configure --without-libtool --with-kakadu=/work/drb/kakadu/v5_1-00315N 
--with-geos=no --with-odbc=no --with-libtiff=/usr/local/ossim 
--with-geotiff=/usr/local/ossim --prefix=/usr/local/ossim

Gives:
checking for XTIFFClientOpen in -lgeotiff... no
configure: error: We require at least GeoTIFF 1.2.1. Consider using the 
one supplied with GDAL

My geotiff installed in /usr/local/ossim is from cvs...

Second:
After commenting out the check in configure.in and doing autoconf the 
configure works...

Then:
make[2]: Entering directory `/mnthdb1/work/drb/gdal/frmts/gtiff'
g++ -Wall -fPIC -O2   -I../../port -I../../gcore -I../../alg -I../../ogr 
-I../../ogr/ogrsf_frmts  -DOGR_ENABLED -c -o ../o/geotiff.o geotiff.cpp
geotiff.cpp:136:21: error: xtiffio.h: No such file or directory
geotiff.cpp:137:21: error: geotiff.h: No such file or directory


In GDALmake.opt:
CPPFLAGS has /usr/local/ossim/include

However it is not used.  I have to add to:
GDAL_INCLUDE...

Take care,
Dave





More information about the Gdal-dev mailing list