i emerged the newest version of glib (2.1.3). when i start to update pango now, its configure stops with this output: checking for pkg-config... (cached) /usr/bin/pkg-config checking for GLIB - version >= 2.1.3... *** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.2.2) *** was found! If pkg-config was correct, then it is best *** to remove the old version of GLib. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system. *** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH *** to point to the correct configuration files no configure: error: *** Glib 2.1.3 or better is required. The latest version of *** Glib is always available from ftp://ftp.gtk.org/. !!! ERROR: x11-libs/pango-1.2.5 failed. !!! Function econf, Line 324, Exitcode 1 !!! econf failed but the old version of glib is unmerged. the only version installed is 2.1.3 Reproducible: Always Steps to Reproduce: 1. emerge -u glib (with AUTOCLEAN enabled in make.conf) 2. emerge -u pango 3. Actual Results: see details Expected Results: start to compile after configure is finished Portage 2.0.49-r1 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1,2.3.2-r3, 2.4.20wolk-sources-4.8-r0) ================================================================= System uname: 2.4.20wolk-sources-4.8-r0 i686 AMD Athlon(tm) Processor ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-tbird -pipe -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr -falign-functions=4 -maccumulate-outgoing-args -mmmx -m3dnow" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=athlon-tbird -pipe -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr -falign-functions=4 -maccumulate-outgoing-args -mmmx -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs fixpackages distcc digest" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://www.ibiblio.org/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 oss 3dnow apm avi crypt encode foomaticdb gif jpeg libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline aalib svga tcltk java mysql X sdl gpm tcpd pam ssl perl python imlib oggvorbis gtk motif opengl acpi dvd fbcon gtk2 gtkhtml jikes nptl tiff wxwindows xinerama xml -cups -kde -gnome -arts -esd -qt"
i cant see glib-2.1.3 in the tree, the newest version is 2.2.3 and that's what pkgconfig found, so did you mean that ? i just emerged glib and then emerged pango and it found 2.2.3 fine and kept going. i dont suppose an ldconfig fixes things ? please try running 'ldconfig' and also confirming the version of glib you have installed, thanks.
it is glib-2.2.3 (*sry for the typo) and no ldconfig won't solve the problem.
mmm are you sure you cleaned up stuff. I see emerge info reporting 2 glibc's (?), which suggests you forget that step now and then. Remove both packages all the way and try again.
glibc-2.3.2-r1 is only injected, because it will automatically downgrade and remove glibc-2.3.2-r3
can you check if you have /usr/lib/libglib-2.0.so.0.200.3 ? maybe you have two versions of glib installed?
yes, when i uninstalled glib files and links won't be removed correctly, but after i removed them by myself that ebuild won't work either. i have reinstalled gentoo on my computer due to problems of xfree versions and many other progs not removed correctly, etc. ... now everything works correctly and i cannot reproduce the fault by myself :( maybe i have to reinstall gentoo a bit more often so that this problem don't happen anymore
this shouldn't really happen. a long time ago, portage had a bug which prevented removing particular symlinks if they were listed in a particular way .. but i think that has been fixed for quite a while now. unfortunately, you seem to be the only one that is having this problem, so i could only think it is a one off thing. closing this bug for now.
No so fast. I hit the same thing. I can't emerge gtk+ because pango doesn't build. This is a new install on a customer's box. checking for IceConnectionNumber in -lICE... yes checking for pkg-config... /usr/bin/pkg-config checking for fontconfig >= 1.0.1... Failed to open '/usr/lib/pkgconfig/fontconfig.pc': Permission d enied (why can't it open this file? It is root:root 0644) No package 'fontconfig' found configure: WARNING: No fontconfig found, skipping tests for FreeType and Xft checking for pkg-config... (cached) /usr/bin/pkg-config checking for GLIB - version >= 2.1.3... no (and that's it can't find glib) *** Could not run GLIB 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 GLIB is incorrectly installed. configure: error: *** Glib 2.1.3 or better is required. The latest version of *** Glib is always available from ftp://ftp.gtk.org/. !!! ERROR: x11-libs/pango-1.2.5-r1 failed. !!! Function econf, Line 338, Exitcode 1 !!! econf failed # qpkg -I -v glib sys-libs/glibc-2.3.2-r9 * dev-libs/glib-2.2.3 * dev-libs/glib-1.2.10-r5 * # emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23-pre6aa3) ================================================================= System uname: 2.4.23-pre6aa3 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -s -Os -mmmx -msse -msse2 -mfpmath=sse -pipe -fomit-frame-pointer -ffast-math -maccumulate-outgoing-args -frename-registers -ftracer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/xdvi/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -s -Os -mmmx -msse -msse2 -mfpmath=sse -pipe -fomit-frame-pointer -ffast-math -maccumulate-outgoing-args -frename-registers -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache autoaddcvs sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups foomaticdb gif jpeg libg++ mad mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb readline java X sdl tcpd pam libwww python esd imlib oggvorbis qt kde opengl -3dnow -aalib acl acpi acpi4linux -afs alsa arts cdr dvd encode -ethereal -gnome -gpm -gtk -gtk2 imap -innodb -ipv6 jikes ldap -mikmod mmx motif -mysql -nls -odbc perl -ruby -samba sasl scanner -slang -slp -snmp -socks5 sse sse2 ssl -svga tcltk -tetex threads tiff usb wmf -xface xfs xml"
yes i know, had this problems too after installing gentoo new. a good way is to run chmod on this directory but it is no good way to solve the problem(s).
Norbeto, eek at your CFLAGS. Possibly a pkg-config problem ? please try remerging pkg-config with sane flags (eg -O2 -pipe) and then remerging pango. Not a gauranteed solution, but it may help.