Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154996 - libglade needs cairo to compile - add it to DEPEND
Summary: libglade needs cairo to compile - add it to DEPEND
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-13 04:04 UTC by Muelli
Modified: 2006-11-25 15:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Muelli 2006-11-13 04:04:07 UTC
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
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-11-17 10:39:17 UTC
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.
Comment 2 Luis Medinas (RETIRED) gentoo-dev 2006-11-25 13:08:10 UTC
any feedback on this ? Daniel is right libglade doesn't need cairo.
Comment 3 foser (RETIRED) gentoo-dev 2006-11-25 15:00:35 UTC
comment #2 is correct