checking for GTK+ - version >= 2.5.0... no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. checking for gtk_plug_get_type... no checking for pkg-config... (cached) /usr/bin/pkg-config checking for i686-pc-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBGLADE... configure: error: Package requirements ( libxml-2.0 >= 2.4.10 atk >= 1.9.0 gtk+-2.0 >= 2.5.0 glib-2.0 >= 2.5.0) were not met: Package fontconfig was not found in the pkg-config search path. Perhaps you should add the directory containing `fontconfig.pc' to the PKG_CONFIG_PATH environment variable Package 'fontconfig', required by 'cairo', not found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBGLADE_CFLAGS and LIBGLADE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/gnome-base/libglade-2.6.0/work/libglade-2.6.0/config.log !!! ERROR: gnome-base/libglade-2.6.0 failed. Call stack: ebuild.sh, line 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile libglade-2.6.0.ebuild, line 32: Called gnome2_src_compile gnome2.eclass, line 70: Called gnome2_src_configure gnome2.eclass, line 66: Called econf '--disable-gtk-doc' ebuild.sh, line 578: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/gnome-base/libglade-2.6.0/temp/build.log'. Reproducible: Always Steps to Reproduce: 1.emerge distcc pulls in libglade which fails 2. 3. After emerging media-libs/fontconfig it works for me so I guess there is at least one missing package dependency.
All recent gtk+ versions dep directly on fontconfig, please make sure you're not using old overlays or package.provided (if that stuff even exists). Please make sure your system is fully up to date using "emerge -DuNa world". Thanks