Game Development Community

Linux install/compile walkthrough

by Michael Rowley · in Torque Game Engine · 10/27/2002 (1:47 pm) · 27 replies

Here is my step by step walkthrough for installing the complete TGE on Linux. I used Redhat 8.0.
I will try to be as detailed and straight to the point as i can. So here we go......

CHECKING AND INSTALLING NASM and SDL
1)Check for NASM and SDL (both come stock with redhat 8.0) configured properly for torqe. to check for them type
rpm -q nasm
rpm -q sdl
so if you don't have them use the package manager and isntall them.

GETTING OPENAL
1) cd /usr/local/
2)go here and get it follow the instructions
http://www.openal.org/downloads/
and move it to /usr/local and untar it.
3)cd openal
4)cd linux
5)./configure
6) make
7) make install

GETTING AND INSTALLING MESA
1) go here and get it.
http://prdownloads.sourceforge.net/mesa3d/MesaLib-4.0.4.tar.gz?download
and move it to /usr/local and untar it.
3) cd Mesa-4.0.4
4)./configure --enable-static
5) make
6) make install

GETTING TGE:
1) make a directory called projects/torque
2) cd projects/torque
3)get the current head TGE via CVS here
http://www.garagegames.com/docs/torque.sdk/gstarted/cvs.unix.html#login
4) cd torque (if your not already there)
5)type make -f mk/configure.mk OS=LINUX COMPILER=GCC2 BUILD=DEBUG (press enter)
6) type make get some coffee and relax wont be long now...

FIXING THE SOUND:
1) cd /etc/
2) edit the ld.so.conf file
and add this below the other entries.
/usr/local/lib

3)type ldconfig (press enter)

GETTING NVIDIA:
go to nvidas site and install the GLX drivers they make tge fly.
And enjoy yourself.

Mick
Page«First 1 2 Next»
#21
03/19/2007 (10:34 am)
Grepping x11 gets me the following output:

xorg-x11-Mesa-libGLU-6.8.2-37.FC4.49.2.1
xorg-x11-Mesa-libGL-6.8.2-37.FC4.49.2.1
xorg-x11-libs-6.8.2-37.FC4.49.2.1
#22
03/19/2007 (2:10 pm)
:. You should get x11-devel, which contains xlib.h, and so forth. You are facing this kind of troubles for you didn't install the -devel (development) packages, which is normaly an option during Linux installation in several distributions. It obviously takes much more space in disk and extends installation cycle, but in the end it is a worthwhile investment.
#23
03/19/2007 (2:25 pm)
This is what I got on a 'yum install x11-devel':

Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: x11-devel
Nothing to do

Anyone know where I can get these libraries?

Edit: Installing 'xorg-x11-devel' got me through this error.
#24
03/19/2007 (3:39 pm)
Ok. Almost there. I am compiled and now trying to run. Here is what I get when I try to run my binary file:

Sleep latency: 3ms
Sleep latency ok, enabling dsleep for lower cpu utilization
Alert: Fatal-ISV: (console/consoleFunctions.cc @ 765) Copy of Torque is already running; exiting.
./rundedicated.sh: line 1:  9572 Segmentation fault      ./torqueDemod.bin -dedicated -mission starter.fps/data/missions/stronghold.mis

Isn't this bizarre? I cannot find any evidence that another copy of Torque is running. Could this command be misfiring? A listing of my top prcocesses are all at around 0%.
#25
03/20/2007 (7:27 am)
Ok, there is DEFINITELY no other instances of Torque running. A 'ps' check proves it. What on earth could be going on?
#26
04/08/2007 (3:35 pm)
I was having the same problem. Try this,
./runtorque.sh debug -dedicated -game starter.fps -mission /root/torque/example/starter.fps/data/missions/stronghold.mis

Someone was kind enough to tell me about this so I figured I'd pass it along.
#27
04/24/2007 (7:10 pm)
>> This is what I got on a 'yum install x11-devel'

Try,
yum install 'xorg*-devel'
Page«First 1 2 Next»