GNOME Bugzilla – Bug 335764
configure can't find libtiff under Fedora Core 5
Last modified: 2008-01-15 14:06:10 UTC
Please describe the problem: When compiling from source, configure can't find libtiff, even though it is installed (in this case, as part of the base OS in Fedora Core 5). If you supply the "--without-libtiff" parameter, configure completes and indictates tiff support will be included, but in the resulting build this is not the case. Steps to reproduce: 1. ensure libtiff is present 2. run ./configure 3. run ./configure --without-libtiff 4. Actual results: configure fails without the --without-libtiff parameter configure completes with --without-libtiff parameter, indicates tiff support will be included, but tiff support is not in fact included Expected results: libtiff to be found, tiff support to be included Does this happen every time? yes Other information:
I am going to passte the original problem from your email to the gimp-user lisst: I installed Fedora Core 5 yesterday and am recompiling 2.3.7. Alas, configure returns an error message: [...] checking for TIFFReadScanline in -ltiff... no checking for TIFFWriteScanline in -ltiff... no checking for TIFFFlushData in -ltiff34... no configure: error: *** Checks for TIFF libary failed. You can build without it by passing *** --without-libtiff to configure but you won't be able to use TIFFs then. However, libtiff is most definitely installed: $ rpm -q libtiff libtiff-3.7.4-3.2.1 Any ideas why configure isn't seeing it? This is the problem mentioned when configuring as in 2. I am wondering if you have libtiff-dev available for configure to find. The problem with configuration mentioned in 3. is probably a bug in the ./configure script and should be looked at.
I have fixed the problem that the summary is wrong if libtiff has been explicitely disabled. The user should read INSTALL and check the output of "configure --help" to get more information on how to make the configure script detect libtiff.