[Gdal-dev] problem with configure option for GeoTIFF

Guillaume Dallaire gdallaire at dmsolutions.ca
Tue Jan 18 09:06:50 EST 2005


Hi,

While compiling 1.2.5 on Linux I got :

./configure .... --with-geotiff=/my/path/to/geotiff ....
...
...
...
checking for XTIFFClientOpen in -lgeotiff... no
configure: error: We require at least GeoTIFF 1.2.1. Consider using the
one supplied with GDAL

But GeoTIFF 1.2.2 is correctly installed on my system.

I found in configure.in that the -L$with_geotiff/lib compile option was
missing, I added it :

AC_CHECK_LIB(geotiff,XTIFFClientOpen,GEOTIFF_SETTING=external,AC_MSG_ERROR([We require at least GeoTIFF 1.2.1. Consider using the one supplied with GDAL]),-L$with_geotiff/lib)

And it solved my problem.

-- 
------------------------------------------------------------
 Guillaume Dallaire              gdallaire at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the Gdal-dev mailing list