Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 153828

Summary: media-libs/glew-1.3.3 doesn't compile
Product: Gentoo Linux Reporter: Bjoern Thorwirth <Bjoern.Thorwirth>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bjoern Thorwirth 2006-11-02 08:34:57 UTC
Got the following build error:
Calculating dependencies... done!

>>> Emerging (1 of 2) media-libs/glew-1.3.3 to /
>>> Downloading 'ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/distfiles/glew-1.3.3-src.tgz'
--16:49:40--  ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/distfiles/glew-1.3.3-src.tgz
           => `/usr/portage/distfiles/glew-1.3.3-src.tgz'
Resolving ftp-stud.fht-esslingen.de... 129.143.116.10
Connecting to ftp-stud.fht-esslingen.de|129.143.116.10|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/Mirrors/gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR glew-1.3.3-src.tgz ... done.
Length: 332,493 (325K) (unauthoritative)

100%[====================================>] 332,493      103.98K/s    ETA 00:00

16:49:46 (103.74 KB/s) - `/usr/portage/distfiles/glew-1.3.3-src.tgz' saved [332493]

 * checking ebuild checksums ;-) ...                                      [ ok ] * checking auxfile checksums ;-) ...                                     [ ok ] * checking miscfile checksums ;-) ...                                    [ ok ] * checking glew-1.3.3-src.tgz ;-) ...                                    [ ok ]>>> Unpacking source...
>>> Unpacking glew-1.3.3-src.tgz to /var/tmp/portage/glew-1.3.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/glew-1.3.3/work/glew ...
 * Applying glew-1.3.3-multilib.patch ...                                 [ ok ]cc -O3 -march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer -Wall -W -Iinclude  -fPIC  -o src/glew.pic_o -c src/glew.c
ld -shared -soname libGLEW.so.1.3 -o lib/libGLEW.so.1.3.3 src/glew.pic_o -L/usr/X11R6/lib -lXmu -lXi -lGLU -lGL -lXext -lX11
ld: cannot find -lGL
make: *** [lib/libGLEW.so.1.3.3] Error 1

!!! ERROR: media-libs/glew-1.3.3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  glew-1.3.3.ebuild, line 28:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Here is my emerge --info:
Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.5
Last Sync: Thu, 02 Nov 2006 11:50:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
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.60
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-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache,collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LINGUAS="de"
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.europe.gentoo.org/gentoo-portage"
USE="x86 3dfx X acl acpi aiglx alsa apache2 apm arts berkdb bitmap-fonts bluetooth cdparanoia cdr cli cracklib crypt cups dlloader doc dri dvd dvdr eds elibc_glibc emacs emboss encode esd foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 hal iconv ieee1394 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jikes jpeg jpeg2k kde kernel_linux libg++ libwww linguas_de mad mikmod mmx motif mozilla mp3 mpeg mysql ncurses new-login nls nptl nptlonly nsplugin ogg opengl oss pam pcmcia pcre pdf perl php png pppd python qt qt3 qt4 quicktime readline reflection ruby sdl session spell spl sse ssl tcpd tiff truetype truetype-fonts type1-fonts type1-fonts,svg udev usb userland_GNU userlocales video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa vorbis xine xml xml2 xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-02 09:08:57 UTC
Kindly fix your browser refresh, please.

*** This bug has been marked as a duplicate of 153821 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-02 09:09:40 UTC
Dupe.