Unable to compile x11-libs/gtk+-2.14.4. Seems like something related to libtiff isn't getting pulled in. Relevant part of config.log is: configure:27900: checking tiffio.h presence configure:27915: x86_64-pc-linux-gnu-gcc -E -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES conftest.c conftest.c:59:20: error: tiffio.h: No such file or directory configure:27922: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "gtk+" | #define PACKAGE_TARNAME "gtk+" | #define PACKAGE_VERSION "2.14.4" | #define PACKAGE_STRING "gtk+ 2.14.4" | #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B" | #define GETTEXT_PACKAGE "gtk20" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define GTK_COMPILED_WITH_DEBUGGING "minimum" | #define HAVE_LSTAT 1 | #define HAVE_MKSTEMP 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_GETC_UNLOCKED 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE__NL_TIME_FIRST_WEEKDAY 1 | #define HAVE__NL_MEASUREMENT_MEASUREMENT 1 | #define HAVE__NL_PAPER_HEIGHT 1 | #define HAVE__NL_PAPER_WIDTH 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_LOCALE_H 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define ENABLE_NLS 1 | #define GTK_LOCALEDIR "/usr/share/locale" | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 | #define HAVE_PWD_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTW_H 1 | #define HAVE_FTW_H 1 | #define HAVE_GNU_FTW 1 | #define STDC_HEADERS 1 | #define RETSIGTYPE void | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define HAVE_MALLINFO 1 | #define HAVE_GETRESUID 1 | #define HAVE_WCHAR_H 1 | #define HAVE_WCTYPE_H 1 | #define USE_GMODULE 1 | /* end confdefs.h. */ | #include <tiffio.h> configure:27936: result: no configure:27969: checking for tiffio.h configure:27976: result: no configure:27983: WARNING: *** TIFF loader will not be built (TIFF header files not found) *** configure:28417: 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 ... checking for TIFFReadRGBAImageOriented in -ltiff... yes checking tiffio.h usability... no checking tiffio.h presence... no checking for tiffio.h... no configure: WARNING: *** TIFF loader will not be built (TIFF header files 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 ... * ERROR: x11-libs/gtk+-2.14.4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2775: Called econf '--disable-gtk-doc' '--with-libjpeg' '--with-libjasper' '--with-libtiff' '--enable-xinerama' '--enable-cups=auto' '--with-libpng' '--with-gdktarget=x11' '--with-xinput' * ebuild.sh, line 525: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf failed Had "tiff" useflag enabled.
Please, post your emerge --info. Do you have media-libs/tiff installed? Is /usr/include/tiffio.h present in the system?
$ emerge -pv tiff These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-libs/tiff-3.8.2-r5 [3.8.2-r3] USE="jpeg zlib -jbig -nocxx" 1,320 kB Total: 1 package (1 upgrade), Size of downloads: 1,320 kB $ ls /usr/include/tiffio.h ls: cannot access /usr/include/tiffio.h: No such file or directory Portage 2.2_rc14 (default-linux/amd64/2007.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.28-rc2 x86_64) ================================================================= System uname: Linux-2.6.28-rc2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5 Timestamp of tree: Wed, 19 Nov 2008 16:05:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.4.4-r6, 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.4.7-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=nocona -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.iinet.net.au/linux/Gentoo" LANG="en_AU.UTF-8" LC_ALL="en_AU.UTF-8" LDFLAGS="" LINGUAS="en_AU en_GB" MAKEOPTS="-j12" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/i686-mingw32/usr/portage /usr/portage/local/layman/desktop-effects" SYNC="rsync://rsync.teln.shikadi.net/gentoo-portage" USE="X a52 aac aalib acl acpi alsa amd64 berkdb bzip2 cairo cli cracklib crypt cups dbus dri dts dv dvd ffmpeg flac gdbm gif gnome gpm gtk hal iconv ieee1394 iproute2 ipv6 isdnlog jack java jpeg jpeg2k kde ladcca ladspa libsamplerate lirc mad midi mmx mng mp3 mplayer mudflap mysql ncurses nls nonfsv4 nptl nptlonly ogg opengl openmp pam pcre perl php png pppd python readline reflection sdl session slang smp speex spl sse sse2 ssl svg syslog tcpd theora threads tiff truetype unicode vorbis wmf x264 xinerama xml xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en_GB" LIRC_DEVICES="it87 serial" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga nv none" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Perhaps media-libs/tiff is meant to be pulled in as a dependency?
Strange. You have media-libs/tiff installed but no tiffio.h file. You could try to fix that by running: emerge --oneshot tiff && emerge --oneshot =gtk+-2.14.4
Hmm, you're right - the version I have installed is supposed to come with tiffio.h: $ equery belongs /usr/include/tiffio.h [ Searching for file(s) /usr/include/tiffio.h in *... ] media-libs/tiff-3.8.2-r3 (/usr/include/tiffio.h) I have other files like /usr/include/tiffio.hxx, just not tiffio.h. I wonder why that particular file was removed? I was half way through "emerge world" but I don't think any other packages would have removed that file. I emerged "tiff" and upgraded from -r3 to -r5 and this fixed the problem. Thanks for your help!
I had the same problem and emerging tiff fixed it for me too. > I emerged "tiff" and upgraded from -r3 to -r5 and this fixed the problem. > > Thanks for your help! >