summaryrefslogtreecommitdiff
path: root/docs/INSTALL/linux.txt
blob: d2622ec7e5b0f29b695c044e16a6f6e8bb662abb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
How to compile and run TMW on your GNU/Linux Box
================================================

Homepage: http://themanaworld.sourceforge.net/
IRC:      irc.freenode.net / #manaworld

1) Requirements
2) Compiling The Mana World
3) Notes


1. Requirements
===============

You are expected to have either checked out TMW from CVS or you have downloaded
a source release. To get The Mana World to compile, you need a compiler (GCC)
and some libraries. The required libraries are:

1) SDL             http://www.libsdl.org/
2) SDL_mixer       http://www.libsdl.org/projects/SDL_mixer/
3) SDL_image       http://www.libsdl.org/projects/SDL_image/
4) Guichan 0.2.0   http://guichan.darkbits.org/
5) libxml2         http://www.xmlsoft.org/

If you checked TMW out from CVS you will also need these to compile:

6) GNU automake    http://www.gnu.org/software/automake/
7) GNU autoconf    http://www.gnu.org/software/autoconf/

Installing these dependencies is distributions-specific, and we'll leave it to
you to figure this out.


2. Compiling The Mana World
===========================

1) Go to the directory you have extracted the source to.
2) If you checked out from CVS, run "./autogen.sh" to generate configure.
3) Run "./configure"
4) Run "make"

It should have generated the executable in src/tmw, you should run it like
"src/tmw" for it to be able to find its data.

If this does not work for you try the following: (not recommend)

1) Go to the directory you have extracted the source to.
2) Run "make -f makefile.static"

Now you should be able to run "./tmw".

If you have any problems, you are welcome to post your questions on our forums,
or talk about them in our IRC channel.