Fedora* puts libgeotiff's include files in /usr/include/libgeotiff/ and the libraries in /usr/lib{64}/. The current configure script doesn't check for this (slightly odd) possibility, so I made a tiny change to configure.ac. The following then works:
 ./configure --with-gdal --with-geotiff=/usr/

Patch against trunk attached.

Cheers,

Mike Grant.

* tested on Fedora 10, not got 11 or 12 to check. Downloading a 12 and will confirm later..

--------------------------------------------------------------------------------
Plymouth Marine Laboratory

Registered Office:
Prospect Place The Hoe
Plymouth  PL1 3DH

Website: www.pml.ac.uk
Registered Charity No. 1091222
PML is a company limited by guarantee
registered in England & Wales
company number 4178503

PML is a member of the Plymouth Marine Sciences Partnership
Website: www.pmsp.org.uk --------------------------------------------------------------------------------
This e-mail, its content and any file attachments are confidential.

If you have received this e-mail in error please do not copy, disclose it to 
any third party or use the contents or attachments in any way. Please notify 
the sender by replying to this e-mail or e-mail [email protected] and then 
delete the email without making any copies or using it in any other way.

The content of this message may contain personal views which are not the views 
of Plymouth Marine Laboratory unless specifically stated.

You are reminded that e-mail communications are not secure and may contain 
viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage 
which may be caused by viruses.
--------------------------------------------------------------------------------
diff -r 8f46f514a6c9 configure.ac
--- a/configure.ac	Mon Nov 16 16:45:19 2009 -0600
+++ b/configure.ac	Tue Nov 24 12:56:49 2009 +0000
@@ -190,6 +190,9 @@
     elif test -f ${with_geotiff}/include/geotiff/geo_simpletags.h ; then
         GEOTIFF_INC="-I$with_geotiff/include/geotiff"
     AC_MSG_RESULT([yes])
+    elif test -f ${with_geotiff}/include/libgeotiff/geo_simpletags.h ; then
+        GEOTIFF_INC="-I$with_geotiff/include/libgeotiff"
+    AC_MSG_RESULT([yes])
     elif test -f ${with_gdal}/frmts/gtiff/libgeotiff/geo_simpletags.h ; then
         GEOTIFF_INC="-I$with_gdal/frmts/gtiff/libgeotiff/ -I$with_gdal/frmts/gtiff/libtiff"
     AC_MSG_RESULT([yes, from GDAL]) 
_______________________________________________
Liblas-devel mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/liblas-devel

Reply via email to