Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104516 - Can't emerge games-fps/doomlegacy-1.42
Summary: Can't emerge games-fps/doomlegacy-1.42
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 13:47 UTC by Kristaps Kaupe
Modified: 2005-09-04 14:17 UTC (History)
0 users

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


Attachments
Modified doomlegacy-1.42 ebuild (doomlegacy-1.42.ebuild,3.07 KB, text/plain)
2005-09-04 14:12 UTC, Kristaps Kaupe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kristaps Kaupe 2005-09-01 13:47:05 UTC
I'm trying to emerge games-fps/doomlegacy-1.42. Emerging always stops with the 
following text:

----------
gcc  -o ../bin/r_opengl.so -shared -nostartfiles ../objs/r_opengl.o ../objs/
ogl_x11.o -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext -lGL -lGLU -lm
gcc -I. -Wall -O2 -march=pentium4 -fomit-frame-pointer -pipe -c sequencer.c -o 
linux/sequencer.o
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/
bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [dll] Error 1
make: *** Waiting for unfinished jobs....
gcc -I. -Wall -O2 -march=pentium4 -fomit-frame-pointer -pipe  \
linux/musserver.o \
linux/readwad.o \
linux/playmus.o \
linux/sequencer.o -o linux/musserver
make[1]: Leaving directory `/var/tmp/portage/doomlegacy-1.42/work/
doomlegacy_142_src/linux_x/musserv'

!!! ERROR: games-fps/doomlegacy-1.42 failed.
!!! Function src_compile, Line 81, Exitcode 2
!!! build failed
!!! If you need support, post the topmost build error, NOT this status message.
----------

My make.conf:
----------
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
LINGUAS="lv"
USE="gtk -gnome qt kde dvd alsa cdr dvdr apache2 mysql pam ssl xml xml2 berkdb 
innodb use cups foomaticdb ppds usb win32codecs mmx sse gd"

GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles ftp://ftp.linux.ee/pub/
gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/"
----------

Maybe it's somehow related with bug #82716, but I'm not sure.

Kristaps
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-02 06:26:16 UTC
They aren't related, at all.

Tell me about your opengl configuration?  This error says that it cannot find
libGL.so, which driver are you using?  Have you tried running an opengl-update
again?
Comment 2 Kristaps Kaupe 2005-09-04 14:11:21 UTC
Thanks, "opengl-update xorg-x11" helped. Something is wrong with my ATI drivers 
("opengl-update ati" just brokes things) but they were buggy anyway.

I also modified that doomlegacy ebuild - added checking for presence of /usr/
lib/libGL.so in pkg_setup().
Comment 3 Kristaps Kaupe 2005-09-04 14:12:29 UTC
Created attachment 67651 [details]
Modified doomlegacy-1.42 ebuild

added pkg_setup()
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-09-04 14:17:49 UTC
No, it's the user's resonsibility to have a working OpenGL setup.  Adding this
check to ever ebuild that needs opengl support would be silly.  Since you've
fixed your local setup, I'll go ahead and mark this FIXED.