When I try to emerge dev-python/pygtk 1.99.17, ebuild reports the following error: checking OpenGL... no checking Mesa... no checking Mesa with pthreads... no configure: error: You need GL or MesaGL libraries Reproducible: Always Steps to Reproduce: 1. emerge pygtk 2. 3. Actual Results: .... checking OpenGL... no checking Mesa... no checking Mesa with pthreads... no configure: error: You need GL or MesaGL libraries !!! ERROR: x11-libs/gtkglarea-1.99.0 failed. !!! Function econf, Line 320, Exitcode 1 !!! econf failed Expected Results: Emerged pygtk bash-2.05b# emerge info Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20 i686 Pentium II (Deschutes) GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx motif mpeg ncurses nls pdflib png quicktime spell truetype xml2 xv zlib gdbm berkdb slang readline tetex aalib bonobo svga java X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk opengl directfb fbcon pda samba scanner usb -arts -qt -xmms -kde" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O3 -pipe" CXXFLAGS="-march=pentium2 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
use -opengl if you dont need GL support. This is a problem with gtkglarea, not pygtk by the looks of it. I assume you have X ? Can you give us the configure.log of the failing ebuild .
Created attachment 16076 [details] Configure.log for gtkglarea ebuild
Created attachment 16077 [details] Configure.log for gtkglarea ebuild Removed ssmtp header info from attachment so that bugzilla reports attachment as a text file.
Seems the libs arent there or can't be found. What is the output of 'qpkg -l xfree | grep GL' (you need gentoolkit for this)?
Created attachment 16124 [details] Output of 'qpkg -l xfree | grep GL'
might sound overly simple but i don't suppose an 'opengl-update xfree' or if you're a nvidia user, an 'opengl-update nvidia' might fix things? they tend to sort out most of the simpler (ie symlinks etc) GL problems.
please try obz's suggestion in this. And please check if the qpkg output files are really there. And provide the contents of your /etc/ld.so.conf .
Created attachment 16298 [details] Verification of files listed by "qpkg -l xfree | grep GL
Created attachment 16299 [details] Screen output of failed attempt to re-emerge gtkglarea Performed 'opengl-update xfree' with no obvious errors. Verified files reported by 'qpkg -l xfree | grep GL (see attachment 16298 [details]). Attempted to re-emerge gtkglarea and received error: !!! ERROR: x11-libs/gtkglarea-1.99.0 failed. !!! Function econf, Line 320, Exitcode 1 !!! econf failed
Created attachment 16563 [details] Output of cat /etc/ld.so.conf
Some more info: When I run glxinfo, I receive the following error: glxinfo: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory Running "locate libGL.so.1" reveals the following: /usr/lib/opengl/xfree/lib/libGL.so.1.2 /usr/lib/opengl/xfree/lib/old.libGL.so.1 /usr/lib/opengl/xfree/lib/libGL.so.1 /usr/lib/old.libGL.so.1 Should there be a "libGL.so.1" in /usr/lib ?
I may have found my problem. Note the double "//" in my link. root@Acer lib # ls -l libGL.so.1 lrwxrwxrwx 1 root root 49 Aug 26 21:17 libGL.so.1 -> /usr/lib/opengl/xfree/lib//usr/X11R6/lib/libGL.so
No joy :( Tried emerging gtkglarea again after fixing links (glxinfo works). Still receive the same errors.
to Q in #11 : yes there should be from the link in #12 you can see what is wrong, the link should be without the 'usr/X11R6/lib' part i dunno why that gets added, maybe a wrong symlink somewhere. Azarah i think you take care of the opengl-update script, i think this is more something for you.
Performed an emerge -e world. I was able to emerge the latest version of pygtk. Looks like something got mangled on my system. Thanks
closing as nonreproducable thanks for getting back to us