LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-14-2003, 01:23 PM   #1
Posty
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 62

Rep: Reputation: 15
Tux Racer prolems


Hello Slackers.

I have been having a problem with Tux Racer (It's a game where you "race" a penguin). I downloaded the source and tried the ./configure command. I get the following error: "configure: error: Your copy of glx.h is out of date. You can get a more recent copy from the latest Mesa distribution (http://mesa3d.sourceforge.net)."

This may seem really obvious to veterans, but I am new to all this. I have gone to the site, but I don't know what to get exactly.

This is what I did... I went to the site and downloaded MesaLib5.0.2 and MesaDemos5.0.2.

I compiled and installed those both.

I go and try the ./configure of Tux Racer again, but I get the same error. What is going on? Please help.
 
Old 12-14-2003, 04:52 PM   #2
merlin371
Member
 
Registered: Jul 2003
Location: Italy
Distribution: Ubuntu/Fedora
Posts: 152

Rep: Reputation: 30
did you do ldconfig after you installed the packages that should fix the problem
 
Old 12-14-2003, 07:10 PM   #3
Posty
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 62

Original Poster
Rep: Reputation: 15
How do I do the ldconfig thing?
 
Old 12-14-2003, 08:42 PM   #4
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Quote:
Originally posted by Posty
How do I do the ldconfig thing?
Just enter ldconfig as root at a shell prompt.
 
Old 12-15-2003, 02:18 PM   #5
Posty
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 62

Original Poster
Rep: Reputation: 15
I have done all of this but it still doesn't work...

Should I so something drastic? Like reinstall Slackware or something?

I feel like I did something bad to my system a while back... Maybe if I clean stuff out I will be better off or something. Any thoughts on this?

Last edited by Posty; 12-15-2003 at 02:34 PM.
 
Old 12-15-2003, 03:11 PM   #6
merlin371
Member
 
Registered: Jul 2003
Location: Italy
Distribution: Ubuntu/Fedora
Posts: 152

Rep: Reputation: 30
when you installed the mesa libraries did you do ./configure --prefix=/usr
or did you just do ./configure cause in the latter case that was your mistake according to the mesa website
 
Old 12-15-2003, 05:12 PM   #7
Posty
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 62

Original Poster
Rep: Reputation: 15
Well... I have reinstalled Slackware, so I could clean out any crap I don't need. (My important stuff is on a different partition.)

Anyway, I am going to compile it the "old way". Install it and do the ldconfig command and then try tux racer again. Wish me luck. If I have any problems I'll post them.

EDIT:

Bad news again. It compiled (MesaLib) But I am haveing a problem installing. I did this...

make linux-x86

cp -r include/GL /usr/include

I got an error though, "cp: cannot overwrite non-directory `/usr/include/GL' with directory `include/GL'"

cp -pd lib/* /usr/lib

I am sure that my problem has to do with the second thing that got an error. I don't know what to do about this. I don't even know what I am trying to install.

Last edited by Posty; 12-15-2003 at 05:18 PM.
 
Old 12-17-2003, 12:35 PM   #8
JonW
LQ Newbie
 
Registered: Nov 2003
Location: UK
Distribution: Debian 8.0
Posts: 14

Rep: Reputation: 0
There is a tuxracer package for Slackware 9.1 available at http://www.wareweb.net/slackware. You will also need to install smpeg and sdl_mixer from the same place.

If you really want to compile it yourself, it be done on a clean Slackware install by installing sdl_mixer, and adding "-DGLX_GLXEXT_PROTOTYPES" to your CFLAGS environment variable before running ./configure in the tuxracer source directory.

Last edited by JonW; 12-17-2003 at 12:37 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tux Racer Ross Clement Linux - Games 3 07-23-2005 03:47 PM
tux racer bibilit Linux - Games 2 12-06-2003 02:33 PM
tux racer Robert0380 Linux - Software 1 05-14-2003 03:15 AM
Tux Racer jt1020 Linux - General 2 05-12-2003 11:03 AM
Tux Racer iron_maiden Linux - Software 7 04-26-2003 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration