File: INSTALL

package info (click to toggle)
liquidwar 5.4.5-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,020 kB
  • ctags: 1,508
  • sloc: ansic: 13,836; sh: 2,488; xml: 2,270; asm: 1,349; makefile: 749; python: 443
file content (67 lines) | stat: -rw-r--r-- 3,069 bytes parent folder | download
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
This file describes how to install Liquid War on a UNIX-like system.


To compile and install Liquid War under GNU/Linux, you need:
- gcc, make, etc...   : http://www.gnu.org/
- Python   (*)        : http://www.python.org/
- LaTeX    (optional) : http://www.latex-project.org/
- dvips    (optional) : http://www.radicaleye.com/dvips.html
- PDFLaTeX (optional) : http://www.tug.org/applications/pdftex/
- makeinfo (optional) : http://www.gnu.org/software/texinfo/texinfo.html
- Allegro  (**)       : http://www.talula.demon.co.uk/allegro/

(*) Python is required to build the docs. You can decide not to
    build the docs so to some extent it's optional. However, if
    Python is installed, you'll the "re", "string" and "xmllib" modules.
    They come with the standard distribution of Python 1.5 and 2.1,
    so it should not be a big problem.
    
(**) You won't be able to build Liquid War if you installed only
     the end-user version of Allegro. The full Allegro development 
     package is required, since it includes the datafile compiler "dat".
     FYI, the complete package weights about 2000Kb whereas the end-user 
     version - which won't allow you to build LW - is only about 500Kb.


Once you have all this installed, type:
$ autoconf
$ ./configure
$ make
# make install (run as root or any user who can write in /usr/local)
$ liquidwar

By default:
/usr/local/bin            contains symbolic links to the binaries
/usr/local/games          contains the binaries
/usr/local/share/games    contains the data
/usr/local/share/doc      contains the documentaion
/usr/local/share/pixmaps  contains an icon for Gnome/KDE/WMaker/etc...
/usr/local/share/man/man6 contains the man page
/usr/local/share/info     contains the info page

The ./configure script accepts options, the most usefull being IMHO:
--prefix=/my/path    : changes the default install directory
--disable-doc-xxx    : turns off the generation of doc in format 'xxx'
--enable-static      : enables static linking
--disable-target-opt : turns off optimizations such as "-mcpu=i686"


Since release 5.3.3, binaries of Liquid War for GNU/Linux are available.
These binaries are statically linked against Allegro and glibc,
so they should run on any recent GNU/Linux box that has an X server running.
So if you spend too much time compiling LW, please consider using
one of those binaries, since they should work right away.
They are "slackware-like" packages, to install them, simply type (as root):
tar xzfP liquidwar-5.x.x.i386-pc-linux-gnu.tgz

Some people have successfully installed Liquid War under other
UNIX platforms such as FreeBSD, but they needed to tweak it a little bit.
I try and apply their patches and fix the mainstream source, but Liquid War
install scripts are far from being perfect. However, I'm interested in 
making Liquid War available for as many platforms as possible, so if you 
have any experience of Liquid War under a peculiar UNIX platform, or any
other OS such as BeOS or MacOS, please tell me 8-)


Please report any install problem to ufoot@ufoot.org