File: INSTALL.unix

package info (click to toggle)
pingus 0.7.6-5.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 31,636 kB
  • sloc: cpp: 42,076; xml: 2,319; lisp: 521; ruby: 455; ansic: 365; objc: 248; sh: 247; makefile: 143; python: 15
file content (109 lines) | stat: -rw-r--r-- 2,177 bytes parent folder | download | duplicates (5)
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
106
107
108
109
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 all of these in your distribution and
there shouln't be a need to compile anything manually.

In Ubuntu you can install everything by typing: 

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


In Fedora 7, 8 and 9 (and most likely later versions) you can install
everything by typing:

 % su -c 'yum install \
      gcc-c++ \
      SDL-devel \
      SDL_image-devel \
      SDL_mixer-devel \
      boost-devel \
      libpng-devel \
      glibc-common \
      scons'


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

 % make

or

 % mkdir -p build
 % scons src
 % 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


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

 % cd build
 % ./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:

 % make install PREFIX=/usr

# EOF #