Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27457 - pango-1.2.5 configure stops with not finding the correct glib version
Summary: pango-1.2.5 configure stops with not finding the correct glib version
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-27 23:36 UTC by FL
Modified: 2003-11-26 02:00 UTC (History)
1 user (show)

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 FL 2003-08-27 23:36:49 UTC
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"
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2003-08-28 00:21:52 UTC
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.
Comment 2 FL 2003-08-28 01:29:41 UTC
it is glib-2.2.3 (*sry for the typo) and no ldconfig won't solve the problem. 
Comment 3 foser (RETIRED) gentoo-dev 2003-08-28 03:04:15 UTC
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.
Comment 4 FL 2003-08-28 03:20:17 UTC
glibc-2.3.2-r1 is only injected, because it will automatically downgrade and remove glibc-2.3.2-r3
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-09-17 13:50:16 UTC
can you check if you have /usr/lib/libglib-2.0.so.0.200.3 ?

maybe you have two versions of glib installed?
Comment 6 FL 2003-09-18 00:49:10 UTC
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
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2003-09-18 02:25:28 UTC
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.
Comment 8 Norberto Bensa 2003-11-25 21:00:12 UTC
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"
Comment 9 FL 2003-11-26 00:17:09 UTC
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).
Comment 10 Mike Gardiner (RETIRED) gentoo-dev 2003-11-26 02:00:57 UTC
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.