Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142685 - mesa-progs-6.5 fails: cannot find -lGLU
Summary: mesa-progs-6.5 fails: cannot find -lGLU
Status: RESOLVED DUPLICATE of bug 131894
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-03 11:50 UTC by Lukas Mrkva
Modified: 2006-12-12 09:51 UTC (History)
0 users

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 Lukas Mrkva 2006-08-03 11:50:10 UTC
I tried to emerge xorg-x11, and when it came to compile mesa package, I got this error:

ath ~ # emerge xorg-x11
Calculating dependencies... done!

>>> Emerging (1 of 20) x11-apps/mesa-progs-6.5 to /
 * Previously fetched: MesaLib-6.5.tar.bz2 MD5 ;-) ...
 * [ ok ] * Previously fetched: MesaLib-6.5.tar.bz2 RMD160 ;-) ...
 * [ ok ] * Previously fetched: MesaLib-6.5.tar.bz2 SHA1 ;-) ...
 * [ ok ] * Previously fetched: MesaLib-6.5.tar.bz2 SHA256 ;-) ...
 * [ ok ] * Previously fetched: MesaLib-6.5.tar.bz2 size ;-) ...
 * [ ok ] * Previously fetched: MesaDemos-6.5.tar.bz2 MD5 ;-) ...
 * [ ok ] * Previously fetched: MesaDemos-6.5.tar.bz2 RMD160 ;-) ...
 * [ ok ] * Previously fetched: MesaDemos-6.5.tar.bz2 SHA1 ;-) ...
 * [ ok ] * Previously fetched: MesaDemos-6.5.tar.bz2 SHA256 ;-) ...
 * [ ok ] * Previously fetched: MesaDemos-6.5.tar.bz2 size ;-) ...
 * [ ok ] * checking ebuild checksums ;-) ...
 * [ ok ] * checking auxfile checksums ;-) ...
 * [ ok ] * checking miscfile checksums ;-) ...
 * [ ok ] * checking MesaLib-6.5.tar.bz2 ;-) ...
 * [ ok ] * checking MesaDemos-6.5.tar.bz2 ;-) ...
 * [ ok ]>>> Unpacking source...
 >>> Unpacking MesaLib-6.5.tar.bz2 to /var/tmp/portage/mesa-progs-6.5/work
 >>> Unpacking MesaDemos-6.5.tar.bz2 to /var/tmp/portage/mesa-progs-6.5/work
 >>> Source unpacked.
 >>> Compiling source in /var/tmp/portage/mesa-progs-6.5/work/Mesa-6.5 ...
 i686-pc-linux-gnu-gcc -I../../include -Wall -Wmissing-prototypes -O2
 -march=pentium4 -pipe  -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L
 -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS
 -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS
 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -std=c99
 -ffast-math  glxinfo.c -L../../lib -lglut -lGLU -lGL -lm -o glxinfo
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
 cannot find -lGLU
 collect2: ld returned 1 exit status
 make: *** [glxinfo] Error 1

 !!! ERROR: x11-apps/mesa-progs-6.5 failed.
 Call stack:
   ebuild.sh, line 1543:   Called dyn_compile
     ebuild.sh, line 938:   Called src_compile
       mesa-progs-6.5.ebuild, line 68:   Called die

       !!! glxinfo failed
       !!! If you need support, post the topmost build error, and the call
       stack if relevant.

i tought it could be because of missing glu package, so i tried to emerge glu, and i got this error during compiling of openmotif as dependency

I18List.c:29:28: X11/bitmaps/gray: No such file or directory
I18List.c: In function `CreateGCs':
I18List.c:1935: error: `gray_bits' undeclared (first use in this function)
I18List.c:1935: error: (Each undeclared identifier is reported only once
I18List.c:1935: error: for each function it appears in.)
I18List.c:1936: error: `gray_width' undeclared (first use in this function)
I18List.c:1936: error: `gray_height' undeclared (first use in this function)
make[3]: *** [I18List.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/lib/Xm'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/lib/Xm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/lib'
make: *** [all-recursive] Error 1

!!! ERROR: x11-libs/openmotif-2.2.3-r9 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
    ebuild.sh, line 938:   Called src_compile
      openmotif-2.2.3-r9.ebuild, line 84:   Called die
      
I dont have any idea, what can be wrong, if some logs or anything else would be needed, I will paste it here, but now I cant think of anything
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-08-03 13:11:24 UTC
ls -l /usr/lib/libGLU.*
Comment 2 Lukas Mrkva 2006-08-03 14:32:00 UTC
output of ls -l /usr/lib/libGL.*

lrwxrwxrwx  1 root root  38 Jun 23 04:31 /usr/lib/libGL.a -> //usr//lib/opengl/xorg-x11/lib/libGL.a
-rw-r--r--  1 root root 763 Jun 23 04:31 /usr/lib/libGL.la
lrwxrwxrwx  1 root root  39 Jun 23 04:31 /usr/lib/libGL.so -> //usr//lib/opengl/xorg-x11/lib/libGL.so

i cannot perform ls -l /usr/lib/libGLU.*  like you wrote, because there is no libGLU.* files   

and I even cant emerge glu becauce of dependency - openmotif fails to emerge
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2006-08-03 14:40:39 UTC
Did you file a bug for the openmotif failure?

If you add 'media-libs/mesa -motif' to /etc/portage/package.use you can work around that for now.
Comment 4 Adam Bowers 2006-09-11 13:54:33 UTC
I have the same error.  I only came across this when I was upgrading from GCC 3.4 to 4.1 during the world recompile.

Beast lib # ls -l /usr/lib/libGLU.*
-rw-r--r-- 1 root root  752 2006-09-09 02:25 /usr/lib/libGLU.la
lrwxrwxrwx 1 root root   11 2006-09-09 02:25 /usr/lib/libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root   20 2006-09-09 02:25 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.060500
lrwxrwxrwx 1 root root   20 2006-09-09 02:25 /usr/lib/libGLU.so.1.3 -> libGLU.so.1.3.060500
-rwxr-xr-x 1 root root 471K 2006-09-09 02:25 /usr/lib/libGLU.so.1.3.060500

Portage 2.1.1 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 1500MHz
Gentoo Base System version 1.12.4
Last Sync: Mon, 11 Sep 2006 19:30:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo"
LC_ALL="en_US.UTF-8"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi apm bash-completion bzip2 cdr crypt cups dlloader dvd elibc_glibc fbcon finger foomaticdb ftp gdbm gnutls gpm input_devices_keyboard input_devices_mouse javascript jpeg kernel_linux mmap mmx mozsvg mp3 ncurses nls nntp nptl nptlonly pam pcre perl png python readline reflection samba sdl session slp snmp spell spl sse ssl svga syslog sysvipc tcpd threads tiff truetype unicode usb userland_GNU video_cards_fbdev video_cards_nv video_cards_vesa xml xprint zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-24 01:28:22 UTC
Appears to be yet another dupe of the portage missing dependencies bug.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-24 01:29:56 UTC
Can't find the original bug, but here's another example.

*** This bug has been marked as a duplicate of 131894 ***
Comment 7 Michael 2006-12-12 09:51:30 UTC
emerge mesa, switch zu xorg-x11 (with eselect opengl set xorg-x11) and then emerge mesa-progs again and everything worked fine for me.