File: INSTALL.unix

package info (click to toggle)
pingus 0.7.2-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 26,212 kB
  • ctags: 6,468
  • sloc: cpp: 40,971; xml: 19,390; ansic: 834; lisp: 516; ruby: 447; sh: 260; makefile: 103
file content (96 lines) | stat: -rw-r--r-- 2,000 bytes parent folder | download | duplicates (2)
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
Pingus Installation Guide for GNU/Linux
=======================================

Requirements:
-------------
To compile Pingus you need:

 g++           - http://gcc.gnu.org/
 SDL           - http://libsdl.org/
 SDL_mixer
 SDL_image
 boost         - http://www.boost.org
 boost-signals - http://www.boost.org
 libpng        - http://libpng.org/
 scons         - http://scons.org/

In most cases you will find those in your distribution and there
shouln't be a need to compile them manually.

On Ubuntu you can install them by typing: 

 % sudo apt-get install \
     scons \
     g++ \
     libpng12-dev \
     libsdl-image1.2-dev \
     libsdl-mixer1.2-dev \
     libsdl1.2-dev \
     libboost-signals-dev \
     libboost-dev


Compilation:
------------
Once all libraries are in place, you can compile Pingus with just:

 % scons

If you need to change the compiler or other build variables you can do
so with:

 % scons configure CXX="ccache g++" CPPPATH=/your/custom/path with_wiimote=True
 % scons

A full list of variables is available via:

 % scons -h

If the configuration step fails for any reason and you want to simply
skip it, use: 

 % scons configure ignore_errors=True
 % scons

The build might however fail if you do that.


Running:
--------
Once the compilation is successful you can run Pingus directly from
the top level directory of the source tree via:

 % ./pingus

There is no need to install Pingus.

If you have a slow machine, starting Pingus with:

 % ./pingus -g 640x480 --frame-skip 3

Might lead to a better playable game. If you want to run Pingus in a
larger resolution, you can do so with:

 % ./pingus -g 1024x768

Fullscreen support is available via:

 % ./pingus --fullscreen

Available languages can be listed with:

 % ./pingus --list-languages

And used with:

 % ./pingus --language de


Installation:
-------------
As mentioned above, you don't need to install Pingus to run it, if you
still want to do it, you can do so with:

 % ./install.sh DIR

# EOF #