Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62140 - tuxracer-0.61-r3: merge fails because opengl libraries are not found
Summary: tuxracer-0.61-r3: merge fails because opengl libraries are not found
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-29 14:03 UTC by Carsten Milkau
Modified: 2004-09-16 03:05 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 Carsten Milkau 2004-08-29 14:03:15 UTC
merge of tuxracer fails because opengl libraries are found by egamesconf (see attachment for output of egamesconf) I use media-video/nvidia-glx-1.0.6106-r3 as opengl interface.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




# emerge tuxracer 
Calculating dependencies      ...done! 
>>> emerge (1 of 1) games-arcade/tuxracer-0.61-r3 to / 
>>> md5 src_uri ;-) tuxracer-data-0.61.tar.gz 
>>> md5 src_uri ;-) tuxracer-0.61.tar.gz 
>>> Unpacking source... 
>>> Unpacking tuxracer-0.61.tar.gz to /var/tmp/portage/tuxracer-0.61-r3/work 
>>> Unpacking tuxracer-data-0.61.tar.gz 
to /var/tmp/portage/tuxracer-0.61-r3/work/tuxracer-0.61 
  [32;01m* [0m Applying 0.61-configure.in.patch... 
 [A [73G   [34;01m[  [32;01mok [34;01m ] [0m 
  [32;01m* [0m Applying 0.61-gcc3.patch... 
 [A [73G   [34;01m[  [32;01mok [34;01m ] [0m 
  [32;01m* [0m Using GNU config files from /usr/share/gnuconfig 
  [32;01m* [0m  Updating config.sub 
 [A [73G   [34;01m[  [32;01mok [34;01m ] [0m 
  [32;01m* [0m  Updating config.guess 
 [A [73G   [34;01m[  [32;01mok [34;01m ] [0m 
>>> Source unpacked. 
creating cache ./config.cache 
checking for a BSD compatible install... /bin/install -c 
checking whether build environment is sane... yes 
checking whether make sets ${MAKE}... yes 
checking for working aclocal... found 
checking for working autoconf... found 
checking for working automake... found 
checking for working autoheader... found 
checking for working makeinfo... found 
checking host system type... i686-pc-linux-gnu 
checking for gcc... gcc 
checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe ) works... yes 
checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe ) is a 
cross-compiler... no 
checking whether we are using GNU C... yes 
checking whether gcc accepts -g... yes 
checking for c++... g++ 
checking whether the C++ compiler (g++ -march=athlon-xp -O3 -pipe ) works... 
yes 
checking whether the C++ compiler (g++ -march=athlon-xp -O3 -pipe ) is a 
cross-compiler... no 
checking whether we are using GNU C++... yes 
checking whether g++ accepts -g... yes 
checking for ranlib... ranlib 
checking how to run the C preprocessor... gcc -E 
checking for ANSI C header files... yes 
checking for sys/time.h... yes 
checking for unistd.h... yes 
checking for working const... yes 
checking whether time.h and sys/time.h may both be included... yes 
checking for getcwd... yes 
checking for gettimeofday... yes 
checking for strdup... yes 
checking for finite... yes 
checking for isnan... yes 
checking for _finite... no 
checking for _isnan... no 
checking for ieeefp.h... no 
checking for Win32 platform... no 
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include 
checking for dnet_ntoa in -ldnet... no 
checking for dnet_ntoa in -ldnet_stub... no 
checking for gethostbyname... yes 
checking for connect... yes 
checking for remove... yes 
checking for shmat... yes 
checking for IceConnectionNumber in -lICE... yes 
checking for main in -ldl... yes 
checking for main in -lm... yes 
checking for tcl8.3 library... no 
checking for tcl83 library... no 
checking for tcl8.2 library... no 
checking for tcl82 library... no 
checking for tcl8.0 library... no 
checking for tcl80 library... no 
checking for tcl library... yes 
checking for tcl.h... yes 
checking for sdl-config... /usr/bin/sdl-config 
checking for SDL - version >= 1.0.1... yes 
checking for SDL_JoystickOpen... yes 
checking for Mix_OpenAudio in -lSDL_mixer... yes 
checking for GL library... no 
checking for GL library (with pthreads)... no 
checking for MesaGL library... no 
checking for MesaGL library (with pthreads)... no 
checking for opengl32 library... no 
checking for opengl32 library (with pthreads)... no 
*** Hmm, you don't seem to have OpenGL libraries installed in the standard 
*** location (/usr/lib).  I'll check in /usr/X11R6/lib, since 
*** many distributions (incorrectly) put OpenGL libs there. 
checking for GL library... no 
checking for GL library (with pthreads)... no 
checking for MesaGL library... no 
checking for MesaGL library (with pthreads)... no 
checking for opengl32 library... no 
checking for opengl32 library (with pthreads)... no 
configure: error: Cannot find GL library 
 
!!! ERROR: games-arcade/tuxracer-0.61-r3 failed. 
!!! Function egamesconf, Line 47, Exitcode 1 
!!! egamesconf failed 
-------------------------------------------------------------------------------- 
# emerge info 
Gentoo Base System version 1.4.16 
Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 
2.6.8.1) 
================================================================= 
System uname: 2.6.8.1 i686 AMD Athlon(tm) XP 1800+ 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="	 
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/		 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/	 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo		 
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo			 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo			 
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo	 
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/			 
http://gentoo.oregonstate.edu					 
http://www.ibiblio.org/pub/Linux/distributions/gentoo		 
" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="3dfx 3dnow X aalib alsa apache2 apm arts avi berkdb cdr clanJavaScript 
clanVoice crypt cups curl directfb dvd encode esd fbcon foomaticdb gdbm gif 
gpm gstreamer gtk gtk2 guile imlib innodb java jpeg kde libg++ libwww 
linguas_de linguas_en mad md5sum mikmod mmx motif mozilla moznocompose 
moznomail mozsvg mpeg mysql ncurses network nls oggvorbis opengl oss pam 
pdflib perl png postgres postgresql ppds python qt quicktime readline ruby 
scanner sdl slang spell sse ssl stencil-buffer svga tcltk tcpd tetex tga 
threads tiff truetype usb vim-with-x wmf x86 xml xml2 xmms xv zlib"
Comment 1 Carsten Milkau 2004-08-29 14:11:59 UTC
of cause it fails because the opengl libraries are NOT found, I'm sorry :O)
Comment 2 Markus Nigbur (RETIRED) gentoo-dev 2004-08-29 20:20:03 UTC
I can't consider any situation where not beeing able to  merge a game would be critical :)
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-08-31 05:20:51 UTC
Rerun opengl-update.  You should have libGL in /usr/lib/
Comment 4 Carsten Milkau 2004-08-31 08:36:08 UTC
I already did.

$ ll /usr/lib/libGL.*
lrwxrwxrwx  1 root wheel     44 29. Aug 22:47 /usr/lib/libGL.so -> /usr/lib/opengl/nvidia/lib/libGL.so.1.0.6106
lrwxrwxrwx  1 root wheel     44 29. Aug 22:47 /usr/lib/libGL.so.1 -> /usr/lib/opengl/nvidia/lib/libGL.so.1.0.6106

$ ll /usr/lib/opengl/nvidia/lib/libGL.*
-rw-r--r--  1 root wheel    739 28. Jul 15:07 /usr/lib/opengl/nvidia/lib/libGL.la
lrwxrwxrwx  1 root wheel     17 28. Jul 15:07 /usr/lib/opengl/nvidia/lib/libGL.so -> libGL.so.1.0.6106
lrwxrwxrwx  1 root wheel     17 28. Jul 15:07 /usr/lib/opengl/nvidia/lib/libGL.so.1 -> libGL.so.1.0.6106
-rwxr-xr-x  1 root wheel 423832 28. Jul 15:07 /usr/lib/opengl/nvidia/lib/libGL.so.1.0.6106

In fact, it is there and everything else is working fine. However, downgrading tcl and tk to version 8.3 made the ebuild work. Maybe the error is related to this.

checking for tcl8.3 library... no 
checking for tcl83 library... no 
checking for tcl8.2 library... no 
checking for tcl82 library... no 
checking for tcl8.0 library... no 
checking for tcl80 library... no 
checking for tcl library... yes 
checking for tcl.h... yes 

Might this be a problem?  I could not reproduce the output "libGL missing" with tcl-8.3 installed, it says now:

checking for tcl8.3 library... yes
checking for tcl.h... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.0.1... yes
checking for SDL_JoystickOpen... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for GL library... yes
checking for glXGetProcAddressARB... yes
checking for GLU library... yes
checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking whether glx.h defines glXGetProcAddressARB... yes
checking for GL/glext.h... yes
checking whether glext.h is recent enough... yes

I have the full output on hand, please ask if it is needed.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-09-13 16:05:21 UTC
Builds fine for me with:
tk-8.4.6-r1
tcl-8.4.6
nvidia-glx-1.0.5336-r2

Is this still a problem?
Comment 6 Carsten Milkau 2004-09-15 02:08:37 UTC
I masked tcl/tk 8.4 using /etc/package.mask and towngraded to version 8.3 to work around this in the meantime. I am currently unable to du any updates, so it will take a while until I can verify if it works now, I'm sorry.
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2004-09-16 03:05:28 UTC
ok.  marking this one as worksforme.  reopen if there's still a problem.