1
How to compile and run TMW on your GNU/Linux Box
2
================================================
3
4
Homepage:  http://themanaworld.org/
5
IRC:       irc.freenode.net / #themanaworld
6
7
1) Requirements
8
2) Compiling And Installing The Mana World
9
3) Notes
10
11
12
1. Requirements
13
===============
14
15
You are expected to have either checked out TMW from Git or you have downloaded
16
a source release. To get The Mana World to compile, you need a compiler (GCC)
17
and some libraries. The required libraries are:
18
19
* SDL               http://www.libsdl.org/
20
* SDL_mixer         http://www.libsdl.org/projects/SDL_mixer/
21
* SDL_image         http://www.libsdl.org/projects/SDL_image/
22
* SDL_net           http://www.libsdl.org/projects/SDL_net/
23
* SDL_ttf           http://www.libsdl.org/projects/SDL_ttf/
24
* ENet 1.2          http://enet.bespin.org/
25
* Guichan 0.8.x     http://guichan.sourceforge.net/
26
* libxml2           http://www.xmlsoft.org/
27
* physfs 1.x        http://icculus.org/physfs/
28
* zlib 1.2.x        http://www.gzip.org/zlib/
29
* libcurl           http://curl.haxx.se/libcurl/
30
31
If you've cloned the Git repository, you will also need these tools to compile:
32
33
* GNU automake 1.9  http://www.gnu.org/software/automake/
34
* GNU autoconf      http://www.gnu.org/software/autoconf/
35
* GNU gettext       http://www.gnu.org/software/gettext/
36
* CVS               http://www.nongnu.org/cvs/ (needed to run autopoint)
37
38
On some machines, it's been reported that this package is also needed. However,
39
you might not need it:
40
41
* GNU libtool       http://www.gnu.org/software/libtool/
42
43
Installing these dependencies is distributions-specific, and we'll leave it to
44
you to figure this out.
45
46
47
2. Compiling And Installing The Mana World
48
==========================================
49
50
1) Go to the directory you have extracted the source to.
51
2) If you've cloned the Git repository, run "autoreconf -i" to generate
52
   configure and install any missing auxiliary files.
53
3) Run "./configure"
54
4) Run "make"
55
5) Run "make install" as root
56
57
It should have installed The Mana World on your system now, and you can run it
58
with "tmw". By default all files are installed to /usr/local, you can pass a
59
different prefix to configure as usual.
60
61
62
  NOTE: It is possible to compile TMW without support for OpenGL rendering.
63
  To do this perform step 3 as follows:
64
65
    ./configure --without-opengl
66
67
  Rebuild the executable from scratch using "make clean" and then "make".
68
69
70
  NOTE: This version of TMW can be compiled with support for connecting to
71
  tmwserv, a server developed from scratch by the TMW project. However, the
72
  client won't support eAthena anymore when you do. In future clients we
73
  intend to support either server from a single compile.
74
75
  To configure the client with support for tmwserv, do step 3 as follows:
76
77
    ./configure --with-server=tmwserv
78
79
80
3. Notes
81
========
82
83
If you have any problems, you are welcome to post your questions on our forums,
84
or talk about them in our IRC channel.
85
86
- The Mana World Dev Team