7
7
First, make sure that you have the following packages installed:
9
9
* OpenGL (or Mesa 3.0 or later)
10
* PLIB version 1.8.4 or later
10
* Irrlicht 1.7 or later
14
13
Unpack the files from the tarball like this:
36
35
See the --help output of configure for further options.
39
SVN STK on Ubuntu Edgy
40
----------------------
41
Here are the compilation instructions for the current svn(05 oct. 2006) of
42
Super Tux Kart on Ubuntu Edgy, contributed by Damien:
40
Here are the compilation instructions for the current svn(2009-10-15) of
41
Super Tux Kart originally contributed by Damien for Ubuntu Edgy, and updated
44
44
install following packages:
45
# apt-get install libopenal-dev libmikmod2-dev plib1.8.4-dev
45
# apt-get install libtool libxxf86vm-dev libopenal-dev
46
46
libglu1-mesa-dev subversion autoconf automake1.9 g++ gcc
49
$ svn checkout http://supertuxkart.svn.sourceforge.net/svnroot/supertuxkart/trunk/supertuxkart
49
$ svn checkout https://supertuxkart.svn.sourceforge.net/svnroot/supertuxkart/main/trunk
51
Get irrlicht-1.x.zip and unzip it, compile irrlicht:
52
$ cd irrlicht-1.x/source/Irrlicht/
58
then we can move to stk, remember to replace the output of pwd below:
53
$ ./autogen.sh && ./configure && make
60
note that the "--with-irrlicht" argument below is only required if you didn't install irrlicht to /usr/[local]
61
$ ./autogen.sh && ./configure --with-irrlicht=/some/path/irrlicht-1.x/ && make
62
and if all went well run the game:
57
65
tested with g++ 3.3 and 4.1 , both succeeded.
59
67
If you want to install the game system-wide, do 'make install'.
69
To update the source from inside trunk directory, one simple command:
71
and then, in most cases, just rebuild:
73
with the exception of changes to any Makefile.am, in which case:
74
$ ./autogen.sh && ./configure --with-irrlicht=/some/path/irrlicht-1.x/ && make
62
77
But it didn't work!
63
78
-------------------
73
88
Also, the most common (by FAR) reason for problems is that your OpenGL/Mesa
74
is incorrectly installed - so before you complain to any of the PLIB or
89
is incorrectly installed - so before you complain to any of the Irrlicht or
75
90
Supertuxkart mailing lists, first try running one of the example programs
76
91
that comes with your OpenGL implementation - or one of the Mesa or GLUT
79
If you those examples run OK - then go to the PLIB home page and download
82
If THOSE run correctly - but Supertuxkart doesn't then please get in touch
83
with the SupertuxKart mailing list and we'll do our best to get you up and
94
If THOSE run correctly - but Supertuxkart doesn't then please get in touch
95
with the SupertuxKart mailing list and we'll do our best to get you up and