~ubuntu-branches/ubuntu/precise/supertuxkart/precise

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger
  • Date: 2011-02-24 22:36:25 UTC
  • mfrom: (1.1.9 upstream) (6.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110224223625-ygrjfpg92obovuch
Tags: 0.7+dfsg1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
First, make sure that you have the following packages installed:
8
8
 
9
9
  * OpenGL (or Mesa 3.0 or later)
10
 
  * PLIB version 1.8.4 or later
11
 
  * SDL 1.2 or later
 
10
  * Irrlicht 1.7 or later
12
11
  * OpenAL
13
12
 
14
13
Unpack the files from the tarball like this:
36
35
See the --help output of configure for further options.
37
36
 
38
37
 
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:
 
38
SVN STK on Ubuntu
 
39
-----------------
 
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
 
42
to 9.04 version:
43
43
 
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
47
47
 
48
48
do a:
49
 
$ svn checkout http://supertuxkart.svn.sourceforge.net/svnroot/supertuxkart/trunk/supertuxkart
50
 
 
51
 
then:
 
49
$ svn checkout https://supertuxkart.svn.sourceforge.net/svnroot/supertuxkart/main/trunk
 
50
 
 
51
Get irrlicht-1.x.zip and unzip it, compile irrlicht:
 
52
$ cd irrlicht-1.x/source/Irrlicht/
 
53
$ make
 
54
$ cd ../../..
 
55
$ pwd
 
56
/some/path/
 
57
 
 
58
then we can move to stk, remember to replace the output of pwd below:
52
59
$ cd trunk
53
 
$ ./autogen.sh && ./configure && make
54
 
and if all went well:
 
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:
55
63
$ src/supertuxkart
56
64
 
57
65
tested with g++ 3.3 and 4.1 , both succeeded.
58
66
 
59
67
If you want to install the game system-wide, do 'make install'.
60
68
 
 
69
To update the source from inside trunk directory, one simple command:
 
70
$ svn up
 
71
and then, in most cases, just rebuild:
 
72
$ make
 
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
 
75
 
61
76
 
62
77
But it didn't work!
63
78
-------------------
71
86
 
72
87
 
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
77
92
sample programs.
78
93
 
79
 
If you those examples run OK - then go to the PLIB home page and download
80
 
the PLIB examples.
81
 
 
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
84
96
racing.
85
97