2007-05-27 12:01:53 -04:00
|
|
|
SUPERTUXKART INSTALLATION INSTRUCTIONS
|
|
|
|
======================================
|
|
|
|
|
|
|
|
General
|
|
|
|
-------
|
|
|
|
|
|
|
|
First, make sure that you have the following packages installed:
|
|
|
|
|
|
|
|
* OpenGL (or Mesa 3.0 or later)
|
2010-05-06 14:30:44 -04:00
|
|
|
* Irrlicht 1.7 or later
|
2008-05-15 00:07:16 -04:00
|
|
|
* OpenAL
|
2007-05-27 12:01:53 -04:00
|
|
|
|
|
|
|
Unpack the files from the tarball like this:
|
|
|
|
|
|
|
|
tar xzf supertuxkart-*.tar.gz
|
|
|
|
cd supertuxkart-*
|
|
|
|
|
|
|
|
|
|
|
|
where '*' is the version of SuperTuxkart you downloaded - eg 0.2.0. Then:
|
|
|
|
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
|
|
|
|
To test the compilation, supertuxkart can be run from the build
|
|
|
|
directory by ./src/supertuxkart (./src/supertuxkart.exe on windows).
|
|
|
|
|
|
|
|
To install the file, as root execute:
|
|
|
|
|
|
|
|
make install
|
|
|
|
|
|
|
|
The default install location is /usr/local, i.e. the data files will
|
|
|
|
be written to /usr/local/share/games/supertuxkart, the executable
|
|
|
|
will be copied to /usr/local/bin. To change the default installation
|
|
|
|
location, use the "--prefix" option of configure, e.g. --prefix=/usr
|
|
|
|
See the --help output of configure for further options.
|
|
|
|
|
|
|
|
|
2009-09-21 18:35:18 -04:00
|
|
|
SVN STK on Ubuntu
|
|
|
|
-----------------
|
2009-10-15 13:30:53 -04:00
|
|
|
Here are the compilation instructions for the current svn(2009-10-15) of
|
2009-09-21 18:35:18 -04:00
|
|
|
Super Tux Kart originally contributed by Damien for Ubuntu Edgy, and updated
|
|
|
|
to 9.04 version:
|
2007-05-27 12:01:53 -04:00
|
|
|
|
|
|
|
install following packages:
|
2009-09-21 18:35:18 -04:00
|
|
|
# apt-get install libtool libxxf86vm-dev libopenal-dev
|
2007-05-27 12:01:53 -04:00
|
|
|
libglu1-mesa-dev subversion autoconf automake1.9 g++ gcc
|
|
|
|
|
|
|
|
do a:
|
2009-09-21 18:35:18 -04:00
|
|
|
$ svn checkout https://supertuxkart.svn.sourceforge.net/svnroot/supertuxkart/main/branches/irrlicht
|
2007-05-27 12:01:53 -04:00
|
|
|
|
2010-05-06 14:40:34 -04:00
|
|
|
Get irrlicht-1.x.zip and unzip it, compile irrlicht:
|
|
|
|
$ cd irrlicht-1.x/source/Irrlicht/
|
2009-09-21 18:35:18 -04:00
|
|
|
$ make
|
|
|
|
$ cd ../../..
|
|
|
|
$ pwd
|
|
|
|
/some/path/
|
|
|
|
|
|
|
|
then we can move to stk, remember to replace the output of pwd below:
|
2007-05-27 12:01:53 -04:00
|
|
|
$ cd trunk
|
2010-05-06 14:40:34 -04:00
|
|
|
note that the "--with-irrlicht" argument below is only required if you didn't install irrlicht to /usr/[local]
|
|
|
|
$ ./autogen.sh && ./configure --with-irrlicht=/some/path/irrlicht-1.x/ && make
|
2009-12-05 18:55:21 -05:00
|
|
|
and if all went well run the game:
|
2007-05-27 12:01:53 -04:00
|
|
|
$ src/supertuxkart
|
|
|
|
|
|
|
|
tested with g++ 3.3 and 4.1 , both succeeded.
|
|
|
|
|
|
|
|
If you want to install the game system-wide, do 'make install'.
|
|
|
|
|
2009-12-05 18:55:21 -05:00
|
|
|
To update the source from inside trunk directory, one simple command:
|
|
|
|
$ svn up
|
|
|
|
and then, in most cases, just rebuild:
|
|
|
|
$ make
|
|
|
|
with the exception of changes to any Makefile.am, in which case:
|
2010-05-06 14:40:34 -04:00
|
|
|
$ ./autogen.sh && ./configure --with-irrlicht=/some/path/irrlicht-1.x/ && make
|
2009-12-05 18:55:21 -05:00
|
|
|
|
2007-05-27 12:01:53 -04:00
|
|
|
|
|
|
|
But it didn't work!
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
If you checked out your copy directly from SVN, you have to run
|
|
|
|
'sh autogen.sh' to generate the configure script.
|
|
|
|
|
|
|
|
You should check the SuperTuxKart wiki at:
|
|
|
|
|
2008-02-24 22:24:02 -05:00
|
|
|
http://supertuxkart.sourceforge.net/
|
2007-05-27 12:01:53 -04:00
|
|
|
|
|
|
|
|
|
|
|
Also, the most common (by FAR) reason for problems is that your OpenGL/Mesa
|
2009-09-21 18:35:18 -04:00
|
|
|
is incorrectly installed - so before you complain to any of the Irrlicht or
|
2007-05-27 12:01:53 -04:00
|
|
|
Supertuxkart mailing lists, first try running one of the example programs
|
|
|
|
that comes with your OpenGL implementation - or one of the Mesa or GLUT
|
|
|
|
sample programs.
|
|
|
|
|
2009-12-05 18:55:21 -05:00
|
|
|
If THOSE run correctly - but Supertuxkart doesn't then please get in touch
|
|
|
|
with the SupertuxKart mailing list and we'll do our best to get you up and
|
2007-05-27 12:01:53 -04:00
|
|
|
racing.
|
|
|
|
|