1 - Install instructions for SuperTux -
2 http://supertux.berlios.de/
4 Last update: October 11, 2005 by Ondra Hosek
9 We try to provide precompiled binaries of supertux for a number of platforms.
12 http://supertux.berlios.de/wiki/index.php/Download/Installation
14 for the packages and instructions on how to install them. If there are no
15 prebuilt binaries for your platform, then you might still be able to compile
16 the sourcecode yourself. In this case read the next sections.
21 To build supertux from source, you need to have a number of tools and
22 libraries installed. Note that most of these things should already be
23 available prepackaged and optimized for your distribution, it is recommended
24 that you check your distribution first before downloading from the websites.
26 * Linux development tools (your distribution should come with these):
27 - gcc compiler version 3.2 or newer (you need the c++ compiler g++)
30 http://www.gnu.org/software/binutils
31 - a shell and posix commandline tools
33 * perforce jam 2.5 or later
34 Download: ftp://ftp.perforce.com/pub/jam
35 Homepage: http://www.perforce.com/jam/jam.html
37 * OpenGL headers and libraries
38 opengl libraries and headers are specific to your graphics card. Make sure
39 that you have hardware accelerated opengl drivers installed. Software
40 renderers like Mesa will make supertux unplayable slow.
42 * SDL 1.2.5 or later (1.2.8 is recommended on MacOS/X)
45 * SDL_image (any version)
46 http://www.libsdl.org/projects/SDL_image
48 * PhysicsFS (1.0.0, the development branch 1.1.x is buggy and does not work,
49 1.2.0 and later should work when it is released)
50 http://www.icculus.org/physfs
53 There are no official linux releases of OpenAL yet, you should grab the
54 latest cvs snapshot (any snapshot from 2005 should work, earlier snapshots
55 tend to have bugs). OpenAL 1.0 or later implementations on other systems
56 like MacOS/X or windows should work.
60 Note: We tried to write our code clean, portable and platform neutral, so it
61 should be possible to compile it on a wide range of platforms and also with
62 other compilers than gcc. However we have no resources to test other setups
63 and it is likely that you hit small problems. Reports and binary compiled
64 packages are of course always welcome. Send them to
65 supertux-devel@lists.berlios.de
67 INSTALLING UNDER LINUX/UNIX
68 ---------------------------
70 Supertux uses a normal autoconf configure script. The simplest way to compile
73 1. `cd' to the directory containing the package's source code and type
74 `./configure' to configure the package for your system. If you're
75 using `csh' on an old version of System V, you might need to type
76 `sh ./configure' instead to prevent `csh' from trying to execute
79 If no configure script exists (e.g. in case you've retrieved SuperTux
80 from SVN), just run the autogen.sh script. You'll need autoconf
83 Running `configure' takes awhile. While running, it prints some
84 messages telling which features it is checking for.
86 2. Type `jam' to compile the package.
88 3. Type `jam install' to install the programs and any data files and
89 documentation. (You should be root user on linux systems.
90 You can become root user with the `su' command or by using
93 4. The game should work now and you can remove the source directory
95 You can customize the build process by specifying additional parameters for
96 the configure script. Type `./configure --help' for additional informations.
97 Some common options are:
100 Installs supertux in your HOME directory in the .local folder.
101 This avoids the need for system administrator privileges when
104 Manually specify the installation directory of a library
106 Enables debug mode and compiles extra debug symbols into the supertux
107 executable. This is usefull when sending in bug reports to the
111 SuperTux does not need to be installed on the system, you can run it from
118 A 32x32, XPM-format icon file is available if you wish to use
119 an icon for a menu entry for this game.
121 The file is "supertux.xpm", and can be found in the
122 data/images/engine/icons/ directory.
127 You can contact us at supertux-devel@lists.berlios.de and in the #supertux
128 channel on the irc.freenode.net irc server.