Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26362 - gtkglarea-1.99.0 configure fails, missing GL headers
Summary: gtkglarea-1.99.0 configure fails, missing GL headers
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-10 17:26 UTC by Randy Tupas
Modified: 2003-09-04 04:06 UTC (History)
1 user (show)

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


Attachments
Configure.log for gtkglarea ebuild (gtkglarea_configure.log,17.63 KB, application/text)
2003-08-14 00:05 UTC, Randy Tupas
Details
Configure.log for gtkglarea ebuild (gtkglarea_configure.txt,17.47 KB, text/plain)
2003-08-14 00:33 UTC, Randy Tupas
Details
Output of 'qpkg -l xfree | grep GL' (qpkg.out.txt,1.71 KB, text/plain)
2003-08-14 20:52 UTC, Randy Tupas
Details
Verification of files listed by "qpkg -l xfree | grep GL (search_qpkg_output.txt,2.62 KB, text/plain)
2003-08-18 23:28 UTC, Randy Tupas
Details
Screen output of failed attempt to re-emerge gtkglarea (screen_output_emerge_gtkglarea.txt,3.64 KB, text/plain)
2003-08-18 23:33 UTC, Randy Tupas
Details
Output of cat /etc/ld.so.conf (ld.so.conf.txt,302 bytes, text/plain)
2003-08-24 20:23 UTC, Randy Tupas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Tupas 2003-08-10 17:26:36 UTC
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"
Comment 1 foser (RETIRED) gentoo-dev 2003-08-11 13:43:58 UTC
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 .
Comment 2 Randy Tupas 2003-08-14 00:05:54 UTC
Created attachment 16076 [details]
Configure.log for gtkglarea ebuild
Comment 3 Randy Tupas 2003-08-14 00:33:10 UTC
Created attachment 16077 [details]
Configure.log for gtkglarea ebuild

Removed ssmtp header info from attachment so that bugzilla reports attachment
as a text file.
Comment 4 foser (RETIRED) gentoo-dev 2003-08-14 03:48:32 UTC
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)?
Comment 5 Randy Tupas 2003-08-14 20:52:41 UTC
Created attachment 16124 [details]
Output of 'qpkg -l xfree | grep GL'
Comment 6 Mike Gardiner (RETIRED) gentoo-dev 2003-08-18 00:29:26 UTC
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.
Comment 7 foser (RETIRED) gentoo-dev 2003-08-18 05:32:23 UTC
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 .
Comment 8 Randy Tupas 2003-08-18 23:28:36 UTC
Created attachment 16298 [details]
Verification of files listed by "qpkg -l xfree | grep GL
Comment 9 Randy Tupas 2003-08-18 23:33:31 UTC
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
Comment 10 Randy Tupas 2003-08-24 20:23:27 UTC
Created attachment 16563 [details]
Output of cat /etc/ld.so.conf
Comment 11 Randy Tupas 2003-08-27 00:28:00 UTC
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 ?
Comment 12 Randy Tupas 2003-08-27 00:35:07 UTC
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
Comment 13 Randy Tupas 2003-08-27 00:50:29 UTC
No joy :(

Tried emerging gtkglarea again after fixing links (glxinfo works). Still receive the same errors.
Comment 14 foser (RETIRED) gentoo-dev 2003-08-27 06:14:28 UTC
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.
Comment 15 Randy Tupas 2003-09-04 02:21:33 UTC
Performed an emerge -e world. I was able to emerge the latest version of pygtk. Looks like something got mangled on my system. Thanks
Comment 16 foser (RETIRED) gentoo-dev 2003-09-04 04:06:01 UTC
closing as nonreproducable 

thanks for getting back to us