Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38425 - pygtk-2.0.0 compile fails due to missing libGLU.la (should come with xfree?)
Summary: pygtk-2.0.0 compile fails due to missing libGLU.la (should come with xfree?)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-16 10:19 UTC by Jani P. Makinen
Modified: 2010-09-04 23:52 UTC (History)
4 users (show)

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


Attachments
/var/log/portage/media-video:vlc-1.0.4:20100211-015334.log (media-video:vlc-1.0.4:20100211-015334.log,548.66 KB, text/plain)
2010-02-11 02:16 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jani P. Makinen 2004-01-16 10:19:58 UTC
Compile fails due to missing libGLU.la:

/bin/sh ../libtool --mode=link gcc  -march=pentium3 -O3 -pipe -Wall -std=c9x   -o gl.la -rpath /usr/lib/python2.2/site-packages/gtk-2.0/gtk -module -avoid-version  -export-symbols-regex initgl gl_la-gtkglmodule.lo gl_la-gtkgl.lo -lgtkgl-2.0 -lGLU -lGL -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 
grep: /usr/lib/libGLU.la: No such file or directory
/bin/sed: can't read /usr/lib/libGLU.la: No such file or directory
libtool: link: `/usr/lib/libGLU.la' is not a valid libtool archive
make[2]: *** [gl.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0'
make: *** [all] Error 2

Quickie fix: "ln -s /usr/portage/x11-base/xfree/files/4.3.0/lib/libGLU.la /usr/lib/"


Reproducible: Always
Steps to Reproduce:
1. have xfree-4.3.0-r3 installed
2. emerge pygtk (or anything depending on it)

Actual Results:  



Expected Results:  



Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.
20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.10
distcc 2.8 i686-pc-linux-gnu (protocol 1) (default port 3632) [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc-3.2"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config 
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ rsync://trumpetti.atm.tut.
fi/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.linux.no/ ftp:
//gentoo.linux.no/pub/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://trumpetti.atm.tut.fi/gentoo-x86-portage/"
USE="X aalib alsa amd apache2 apm avi berkdb cdr crypt cups curl dga directfb 
encode fbcon flash foomaticdb gamma gd gdbm ggi gif gphoto2 gpm gtk gtk2 imlib 
jack java jpeg kde ladcca ldap libg++ libwww lirc lm_sensors lvm mad matrox mcal 
memlimit mikmod motif mozilla mpeg mpi mysql ncurses nls oggvorbis opengl oss 
pam pda pdflib perl plotutils png python qt quicktime readline samba scanner sdk 
sdl slang slp snmp spell sse ssl svga tcltk tcpd tiff truetype usb wmf x86 
xinerama xml2 xmms xosd xv zlib"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-01-24 08:57:49 UTC
can anyone else confirm this? seems like xfree should have this libGLU.la installed?
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-01-24 09:03:06 UTC
donnie@supernova donnie $ qpkg -l x11-base/xfree | grep -i libglu
/usr/lib/libMesaGLU.so -> libGLU.so.1.3
/usr/lib/libGLU.a
/usr/lib/libGLU.la
/usr/lib/libGLU.so -> libGLU.so.1.3
/usr/lib/libGLU.so.1 -> libGLU.so.1.3
/usr/lib/libGLU.so.1.3
donnie@supernova donnie $ qpkg -I -v x11-base/xfree
x11-base/xfree-4.3.99.902 *

donnie@nebula donnie $ qpkg -l x11-base/xfree | grep -i libglu
/usr/lib/libGLU.a
/usr/lib/libGLU.la
/usr/lib/libGLU.so.1.3
/usr/lib/libMesaGLU.so -> libGLU.so.1.3
/usr/lib/libGLU.so -> libGLU.so.1.3
/usr/lib/libGLU.so.1 -> libGLU.so.1.3
donnie@nebula donnie $ qpkg -I -v x11-base/xfree
x11-base/xfree-4.3.0-r3 *
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-01-24 09:11:19 UTC
so this seems like a local problem then .. can't reproduce
Comment 4 Jason Cowley 2004-01-24 20:58:26 UTC
I have the same problem. I have just updated to Python-2.3.3. The python-updater tool failed to update some packages, including pygtk. Now I'm trying to emerge pygtk-2.0.0, but it fails with:

grep: /usr/lib/libGLU.la: No such file or directory
/bin/sed: can't read /usr/lib/libGLU.la: No such file or directory
libtool: link: `/usr/lib/libGLU.la' is not a valid libtool archive
make[2]: *** [gl.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0'
make: *** [all] Error 2

!!! ERROR: dev-python/pygtk-2.0.0 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)
Comment 5 Jason Cowley 2004-01-24 21:04:16 UTC
Trying to emerge PyOpenGL-2.0.0.44 has a similar problem. Possibly related:

In file included from /usr/X11R6/include/GL/glx.h:41,
                 from src/config.h:59,
                 from src/interface_util/interface_util.c:1:
/usr/X11R6/include/GL/gl.h:2469:22: GL/glext.h: No such file or directory
In file included from src/config.h:59,
                 from src/interface_util/interface_util.c:1:
/usr/X11R6/include/GL/glx.h:117:23: GL/glxext.h: No such file or directory
In file included from src/interface_util/interface_util.c:1:
src/config.h:74:20: GL/glu.h: No such file or directory
error: command 'gcc' failed with exit status 1

!!! ERROR: dev-python/PyOpenGL-2.0.0.44 failed.
!!! Function distutils_src_compile, Line 38, Exitcode 1
!!! compilation failed
Comment 6 Jason Cowley 2004-01-26 03:30:39 UTC
I have fixed the problem on my machine by re-emerging xfree. Even though it was supposed to be the same version I have installed already, some of the shell scripts installed were different (those picked up by etc-update).
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2004-01-26 03:44:07 UTC
well, i can't see why those would of been missed out, but i'm closing this for now.
Comment 8 DEMAINE Benoît-Pierre, aka DoubleHP 2010-02-11 02:16:44 UTC
Created attachment 219177 [details]
/var/log/portage/media-video:vlc-1.0.4:20100211-015334.log

I reproduced this.

uranus ~ # emerge -va media-video/vlc
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild  N    ] media-video/vlc-1.0.4  USE="X a52 aac aalib alsa avahi bidi cdda cddax cddb cdio dbus dc1394 dirac directfb dts dvb dvd fbcon ffmpeg flac fluidsynth gcrypt ggi gnome gnutls hal httpd id3tag ieee1394 jack kate libass libcaca libnotify libtiger libv4l2 lirc live lua matroska mmx modplug mp3 mpeg mtp musepack ncurses nsplugin ogg opengl oss png pulseaudio pvr qt4 rtsp samba schroedinger sdl sdl-image shout skins speex sse stream svg taglib theora truetype twolame udev upnp v4l v4l2 vcdinfo vcdx vlm vorbis wma-fixed x264 xinerama xml xosd xv (-altivec) -atmo -debug -fontconfig -libproxy -libsysfs -optimisememory (-pda) -remoteosd -run-as-root -shine (-svga) (-win32codecs) -xcb -zvbi" 0 kB
[...]
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/libpulse_plugin_la-pulse.o  -Wl,--whole-archive ../../compat/.libs/libcompat.a -Wl,--no-whole-archive  -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-1.0.4/work/vlc-1.0.4/src/.libs -lpulse -Wl,--as-needed ../../src/.libs/libvlccore.so -L/usr/lib64 /usr/lib64/libhal.so -luuid /usr/lib64/libdbus-1.so -lrt -lpthread -ldl -lm  -march=athlon64   -Wl,-soname -Wl,libpulse_plugin.so -o .libs/libpulse_plugin.so
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/libalsa_plugin_la-alsa.o  -Wl,--whole-archive ../../compat/.libs/libcompat.a -Wl,--no-whole-archive  -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-1.0.4/work/vlc-1.0.4/src/.libs -Wl,--as-needed /usr/lib64/libasound.so ../../src/.libs/libvlccore.so -L/usr/lib64 /usr/lib64/libhal.so -luuid /usr/lib64/libdbus-1.so -lrt -lpthread -ldl -lm  -march=athlon64   -Wl,-soname -Wl,libalsa_plugin.so -o .libs/libalsa_plugin.so
/bin/grep: /usr/lib/libGLU.la: No such file or directory
/bin/sed: can't read /usr/lib/libGLU.la: No such file or directory
libtool: link: `/usr/lib/libGLU.la' is not a valid libtool archive
make[4]: *** [libaout_sdl_plugin.la] Error 1
make[4]: *** Waiting for unfinished jobs....

Please re-open.
Comment 9 DEMAINE Benoît-Pierre, aka DoubleHP 2010-02-11 02:22:51 UTC
ah ... pygtk != vlc
i ll make a new bug #304489 :)