View previous topic :: View next topic |
Author |
Message |
suso Tux's lil' helper
Joined: 08 Apr 2004 Posts: 137 Location: Bloomington, IN
|
Posted: Mon Oct 04, 2004 10:34 pm Post subject: torcs emerge error [fixed] |
|
|
So I tried to emerge torcs and got this:
Quote: |
g++ -I/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include -O2 -march=athlon-xp -fomit-frame-pointer -Wall -Wstrict-prototypes -O3 -mieee-fp -Wall -Wstrict-prototypes -O3 -mieee-fp -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -c grmultitexstate.cpp
grmultitexstate.cpp: In member function `virtual void
grMultiTexState::apply(int)':
grmultitexstate.cpp:30: error: `glActiveTexture' undeclared (first use this
function)
grmultitexstate.cpp:30: error: (Each undeclared identifier is reported only
once for each function it appears in.)
make[5]: *** [grmultitexstate.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/modules/graphic/ssggraph'
make[4]: *** [subdirs] Error 1
make[4]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/modules/graphic'
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/modules'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2'
make: *** [restart] Error 2
!!! ERROR: games-sports/torcs-1.2.2 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)
|
I tried to make sure that I had all the dependencies that it required, but I wasn't sure about Mesa. Since I have GLUT installed, do I need to install Mesa too? What about the fact
that Mesa is masked?
Thanks. _________________ Use saferdomainsearch.com to safely search for domain availability.
Last edited by suso on Fri Oct 22, 2004 3:27 pm; edited 1 time in total |
|
Back to top |
|
|
suso Tux's lil' helper
Joined: 08 Apr 2004 Posts: 137 Location: Bloomington, IN
|
Posted: Wed Oct 06, 2004 10:48 pm Post subject: |
|
|
bump. _________________ Use saferdomainsearch.com to safely search for domain availability. |
|
Back to top |
|
|
suso Tux's lil' helper
Joined: 08 Apr 2004 Posts: 137 Location: Bloomington, IN
|
Posted: Fri Oct 08, 2004 8:28 pm Post subject: |
|
|
bump _________________ Use saferdomainsearch.com to safely search for domain availability. |
|
Back to top |
|
|
andix Apprentice
Joined: 10 Jul 2004 Posts: 263 Location: Eisenstadt, Austria
|
Posted: Tue Oct 12, 2004 6:15 pm Post subject: |
|
|
exactly the same problem.... |
|
Back to top |
|
|
suso Tux's lil' helper
Joined: 08 Apr 2004 Posts: 137 Location: Bloomington, IN
|
Posted: Tue Oct 12, 2004 10:58 pm Post subject: |
|
|
Nice to know. What's weird is that it compiles fine on another gentoo machine I have, but that machine doesn't have a 3D card in it. _________________ Use saferdomainsearch.com to safely search for domain availability. |
|
Back to top |
|
|
voeck n00b
Joined: 06 Apr 2004 Posts: 10
|
Posted: Fri Oct 22, 2004 3:00 pm Post subject: |
|
|
I had the same problem and I found a solution. Before you can emerge torcs you have to change the OpenGL interface. This solved the problem for me.
Code: | opengl-update xorg-x11
emerge torcs
openql-update nvidia |
I hope this can help you. |
|
Back to top |
|
|
suso Tux's lil' helper
Joined: 08 Apr 2004 Posts: 137 Location: Bloomington, IN
|
Posted: Fri Oct 22, 2004 3:28 pm Post subject: |
|
|
Thank you very much. That worked. Now I just have to wait til after work to go test it. But it compiled cleanly. _________________ Use saferdomainsearch.com to safely search for domain availability. |
|
Back to top |
|
|
kesara n00b
Joined: 05 Aug 2004 Posts: 69 Location: Sri Lanka
|
Posted: Thu Feb 03, 2005 1:53 pm Post subject: |
|
|
I did had the same problem & solved it with
Code: | opengl-update xorg-x11
emerge torcs
opengl-update nvidia
|
Thanx voeck! _________________ ---==>K3<==---
kesara.lk |
|
Back to top |
|
|
phekko Tux's lil' helper
Joined: 17 Feb 2004 Posts: 109 Location: Espoo Esbo
|
Posted: Fri Feb 11, 2005 9:53 am Post subject: |
|
|
For me that didn't work, either. Any ideas what else might cause this to fail? |
|
Back to top |
|
|
WladyX Guru
Joined: 25 Nov 2004 Posts: 503 Location: Romania
|
Posted: Fri Feb 11, 2005 8:52 pm Post subject: |
|
|
if i switch to xorg gl i get:
Code: |
configure: error: Can't find GL/glx.h. Please check config.log and if you can't solve the problem send the file to eric.espie@free.fr with the subject "torcs compilation problem"
|
Any ideeas? _________________ We are not alone. |
|
Back to top |
|
|
signal11 n00b
Joined: 16 Mar 2003 Posts: 46
|
Posted: Sun Feb 27, 2005 1:30 am Post subject: |
|
|
voeck wrote: | I had the same problem and I found a solution. Before you can emerge torcs you have to change the OpenGL interface. This solved the problem for me.
Code: | opengl-update xorg-x11
emerge torcs
openql-update nvidia |
I hope this can help you. |
yes it does thank you ! one more question: isn't it time to update the ebuild so that this happens automagically ? |
|
Back to top |
|
|
Display posts from previous: |
|