RE: [gtk+-2.6.7] configure problem
- From: Xu Qiang <Qiang Xu fujixerox com>
- To: Xu Qiang <Qiang Xu fujixerox com>, gtk-list gnome org
- Cc:
- Subject: RE: [gtk+-2.6.7] configure problem
- Date: Thu, 21 Apr 2005 14:45:36 +0800
Xu Qiang wrote:
> Hi, all:
>
> I am try to compile gtk+-2.6.7 from src. When I was doing
> "./configure", it told me this:
> ----------------------------------------
> configure: WARNING: *** TIFF loader will not be built (TIFF library
> not found) ***
> configure: error:
> *** Checks for TIFF loader failed. You can build without it by passing
> *** --without-libtiff to configure but some programs using GTK+ may
> *** not work properly
> ----------------------------------------
>
> Ok, I went to download libtiff 3.7.2 from
> ftp://ftp.remotesensing.org/pub/libtiff, and compiled, installed it
> to "/usr/local".
>
> Then I did "./configure", but the error message is still the same.
> "./configure --with-tiff=/usr/local" is no use, either.
The method of Marcus works again. This libtiff problem is overcomed by:
#############################################################################
./configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
#############################################################################
Yet, I wonder why it can't automatically find the necessary libary and header files in "/usr/local/lib" and "/usr/local/include" as it does to ATK and Pango module.
The earliest errors prompted me to install ATK and Pango. After I installed them to "/usr/local", it can go on. This proved that the configure script can automatically find ATK and Pango in "/usr/local", while it can't find tiff library there. Strange.
Regards,
Xu Qiang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]