Jump to content

Compile TuxRacer


a13x
 Share

Recommended Posts

TurRacer wasn't running at all, when I executed it nothing happened, so I decided to uninstall it and compile it. When I run ./configure I get this error:

 

checking whether glx.h defines glXGetProcAddressARB... no
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).

 

I downloaded the latest Mesa source (6.1), typed 'make' than 'make linux-x86'' and all went well. When I typed 'make install' I get this:

 

Installing
./bin/installmesa
make: ./bin/installmesa: Command not found
make: *** [install] Error 127

 

:help:

 

Mode Note:Moved from Software by phunni

Link to comment
Share on other sites

i have xorg and not xfree86 so this is what I'd do

[root@localhost root]# urpmf glx.h
libgtkglext-1.0_0-devel:/usr/include/gtkglext-1.0/gdk/x11/gdkglx.h
libgtkglext-1.0_0-devel:/usr/share/gtk-doc/html/gtkglext/gtkglext-gdkglx.html
libgtkglext-1.0_0-devel:/usr/include/gtkglext-1.0/gdk/x11/gdkglx.h
libgtkglext-1.0_0-devel:/usr/share/gtk-doc/html/gtkglext/gtkglext-gdkglx.html
libxorg-x11-devel:/usr/X11R6/include/GL/glx.h
[root@localhost root]# rpm -q libxorg-x11-devel
package libxorg-x11-devel is not installed
[root@localhost root]# urpmi libxorg-x11-devel

Link to comment
Share on other sites

Spiedra, I tried that before but there seems to be a strange problem with my cds. urmpi tell se me that it can't 'read' some packages so that's why I'km trying this method.

 

ok bvc I've tried what you said but urpmi wants to install the entire xorg server. Do I have to quit X in order to have a succesful installation ?

Edited by a13x
Link to comment
Share on other sites

Not sure if it was necessary, I don't remember. But if you go for xorg, you'll have to create a the /etc/X11/xorg.conf file, just copy the contents of XF86Config-4 file into xorg.file and it should work.

Edited by william
Link to comment
Share on other sites

Not sure if it was necessary, I don't remember. But if you go for xorg, you'll have to create a the /etc/X11/xorg.conf file, just copy the contents of XF86Config-4 file into xorg.file and it should work.

you shouldn't have to do anything......the install should create a symlink

[root@localhost root]# file /etc/X11/xorg.conf
/etc/X11/xorg.conf: symbolic link to `XF86Config-4'
[root@localhost root]#

Edited by bvc
Link to comment
Share on other sites

Compiling TuxRacer failed ... so I decided to try urpmi as spiedra suggested. I fixed my ftp sources and TuxRacer installed without problems.

The thing is nothing has changed; it still doesn't work. I ran it from the console and this is what I get:

 

[root@Alex /]# ./usr/games/tuxracer
Tux Racer 0.61 -- a Sunspire Studios Production (http://www.sunspirestudios.com)(c) 1999-2000 Jasmin F. Patry <jfpatry@sunspirestudios.com>
"Tux Racer" is a trademark of Jasmin F. Patry
Tux Racer comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See http://www.gnu.org/copyleft/gpl.html for details.

Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
*** tuxracer error: Couldn't initialize video: Couldn't find matching GLX visual (Success)
[root@Alex /]#

Edited by a13x
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...