Hi, I encountered problem while emerging libglade. >>> Emerging (1 of 8) gnome-base/libglade-2.6.0 to / * libglade-2.6.0.tar.bz2 MD5 ;-) ... [ ok ] * libglade-2.6.0.tar.bz2 RMD160 ;-) ... [ ok ] * libglade-2.6.0.tar.bz2 SHA1 ;-) ... [ ok ] * libglade-2.6.0.tar.bz2 SHA256 ;-) ... [ ok ] * libglade-2.6.0.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking libglade-2.6.0.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking libglade-2.6.0.tar.bz2 to /var/tmp/portage/libglade-2.6.0/work * Fixing OMF Makefiles ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/libglade-2.6.0/work/libglade-2.6.0 ... * Applying Makefile.in.am-2.4.2-xmlcatalog.patch ... [ ok ] * Running elibtoolize in: libglade-2.6.0 * Applying portage-1.5.10.patch ... * Applying sed-1.5.6.patch ... * econf: updating libglade-2.6.0/config.guess with /usr/share/gnuconfig/config.guess * econf: updating libglade-2.6.0/config.sub with /usr/share/gnuconfig/config.sub * disabling confcache, binary cannot be found ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sy sconfdir=/etc --localstatedir=/var/lib --disable-gtk-doc --build=i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk 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 g lib-2.0 >= 2.5.0) were not met: Package cairo was not found in the pkg-config search path. Perhaps you should add the directory containing `cairo.pc' to the PKG_CONFIG_PATH environment variable Package 'cairo', required by 'Pango 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/libglade-2.6.0/work/libglade-2.6.0/config.log !!! ERROR: gnome-base/libglade-2.6.0 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile libglade-2.6.0.ebuild, line 33: Called gnome2_src_compile gnome2.eclass, line 63: Called gnome2_src_configure gnome2.eclass, line 59: Called econf '--disable-gtk-doc' ebuild.sh, line 540: Called die After installing cairo libglade configures and compiles fine, so one should probably add x11-libs/cairo to libglades Dependencies
libglade does not depend on cairo directly. Instead, it depends on gtk+, which depends on pango (for 2.6.x; >=2.8.x deps directly on cairo as well), which can optionally dep on cairo. Your pango was built against cairo (you had cairo emerged when you emerged pango), and have since removed your cairo. Re-emerging pango should fix the problem.
any feedback on this ? Daniel is right libglade doesn't need cairo.
comment #2 is correct