File: INSTALL

package info (click to toggle)
warmux 1%3A11.04.1%2Brepack2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 126,368 kB
  • ctags: 7,878
  • sloc: cpp: 186,040; xml: 8,909; sh: 3,358; makefile: 1,052; ansic: 713
file content (105 lines) | stat: -rw-r--r-- 2,568 bytes parent folder | download | duplicates (4)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
Warmux 0.8


*** Translations of this document are available in doc/ subdirectory ***


Compilation/Installation under Linux
-----------------------------------

==============
* Dependencies
==============

If the following software is not presently on your system, you will need to download them
before attempting to install Warmux 0.8 on your computer...

* All dependencies in one command (Debian/Ubuntu)
-------------------------------------------------

sudo apt-get install g++ gettext \
   libxml2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev \
   libsdl-image1.2-dev libsdl-gfx1.2-dev \
   libcurl4-dev libsdl-net1.2-dev

* SDL
-----

Warmux needs the SDL library version 1.2.

It can be downloaded of their website: http://www.libsdl.org/

* SDL mixer, SDL image, SDL ttf and SDL gfx, SDL net
----------------------------------------------------

SDL is split into small modules. Warmux needs mixer (sound), image (load
picture file), ttf (draw text), gfx (graphical things) and net (network).

You may have trouble installing SDL gfx: Warmux *needs* version 2.0.13 or
greater. Download it and compile it.

Here are their website:
 http://www.libsdl.org/projects/SDL_ttf/
 http://www.libsdl.org/projects/SDL_mixer/
 http://www.libsdl.org/projects/SDL_image/
 http://www.libsdl.org/projects/SDL_net/
 http://www.ferzkopp.net/Software/SDL_gfx-2.0/

* libxml++
----------

Warmux uses the libxml++ library version 2.6.

Get it here: http://libxmlplusplus.sourceforge.net/

Under Debian, use the command:
	apt-get install libxml++2.6-dev


============================
* Compilation / Installation
============================

If you're using the SubVersion version of Warmux, you will have to run:

    ./autogen.sh

Under Linux, enter the Warmux directory, then simply type:

	./configure
	make

then, as root, type:

	make install

By default, the game is installed in /usr/local. But you can specify another
directory (useful if you don't have access to the root account) by modifying the
initial configure command:

	./configure --prefix=/OTHER/DIRECTORY/HERE

==============
* Uninstalling
==============

To uninstall Warmux, go to the source directory, then (as root):

	make uninstall


===============
* Other options
===============

Many options can be used with the configure command.
The most useful (for developers, at least) being:

	./configure --enable-debug

This enables you to compile Warmux with debug options, allowing you to track down bugs/other problems.

To get a list of all the other configuration options, type:

	./configure --help