Gentoo Forums
Gentoo Forums
Quick Search: in
torcs emerge error [fixed]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
suso
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2004
Posts: 134
Location: Bloomington, IN

PostPosted: Mon Oct 04, 2004 10:34 pm    Post subject: torcs emerge error [fixed] Reply with quote

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
View user's profile Send private message
suso
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2004
Posts: 134
Location: Bloomington, IN

PostPosted: Wed Oct 06, 2004 10:48 pm    Post subject: Reply with quote

bump. :)
_________________
Use saferdomainsearch.com to safely search for domain availability.
Back to top
View user's profile Send private message
suso
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2004
Posts: 134
Location: Bloomington, IN

PostPosted: Fri Oct 08, 2004 8:28 pm    Post subject: Reply with quote

bump
_________________
Use saferdomainsearch.com to safely search for domain availability.
Back to top
View user's profile Send private message
andix
Apprentice
Apprentice


Joined: 10 Jul 2004
Posts: 263
Location: Eisenstadt, Austria

PostPosted: Tue Oct 12, 2004 6:15 pm    Post subject: Reply with quote

exactly the same problem.... :(
Back to top
View user's profile Send private message
suso
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2004
Posts: 134
Location: Bloomington, IN

PostPosted: Tue Oct 12, 2004 10:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
voeck
n00b
n00b


Joined: 06 Apr 2004
Posts: 10

PostPosted: Fri Oct 22, 2004 3:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
suso
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2004
Posts: 134
Location: Bloomington, IN

PostPosted: Fri Oct 22, 2004 3:28 pm    Post subject: Reply with quote

:D :D :D :D :D :D :D :D

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
View user's profile Send private message
kesara
n00b
n00b


Joined: 05 Aug 2004
Posts: 69
Location: Sri Lanka

PostPosted: Thu Feb 03, 2005 1:53 pm    Post subject: Reply with quote

I did had the same problem & solved it with
Code:
opengl-update xorg-x11
emerge torcs
opengl-update nvidia


Thanx voeck!
_________________
---==>K3<==---
My Home Page
Expressions
Back to top
View user's profile Send private message
phekko
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2004
Posts: 109
Location: Espoo Esbo

PostPosted: Fri Feb 11, 2005 9:53 am    Post subject: Reply with quote

For me that didn't work, either. Any ideas what else might cause this to fail?
Back to top
View user's profile Send private message
WladyX
Guru
Guru


Joined: 25 Nov 2004
Posts: 503
Location: Romania

PostPosted: Fri Feb 11, 2005 8:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
signal11
n00b
n00b


Joined: 16 Mar 2003
Posts: 46

PostPosted: Sun Feb 27, 2005 1:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum