Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5157 closed defect (duplicate)

gdal does not correctly find system geotiff

Reported by: mwoehlke Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: 1.9.1
Severity: normal Keywords:
Cc:

Description

I'm trying to build GDAL 1.9.1. on Fedora 18 against the distro-provided libgeotiff. However I am getting this build error:

geotiff.cpp:41:21: fatal error: xtiffio.h: No such file or directory

It seems configure is not finding the libgeotiff headers (/usr/include/libgeotiff) and is failing to set GEOTIFF_INCLUDE. I think that configure should either (preferably) find the headers properly or else disable geotiff support.

If I edit GDALmake.opt to specify GEOTIFF_INCLUDE after running configure, I can build successfully.

See also http://adventuresindevelopment.blogspot.com/2009/04/compile-gdal-with-geotiff-support.html; apparently this has been broken for some time...

Change History (2)

comment:1 by Even Rouault, 11 years ago

Resolution: duplicate
Status: newclosed

This has been fixed in 1.9.2. See #4706

comment:2 by mwoehlke, 11 years ago

...which unfortunately doesn't include the error and so doesn't turn up in a search for "xtiffio". :-/

Thanks, and sorry for the noise.

Note: See TracTickets for help on using tickets.