File: README.FreeBSD

package info (click to toggle)
adonthell 0.3.5-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 5,228 kB
  • ctags: 4,563
  • sloc: cpp: 44,102; sh: 9,553; python: 1,902; makefile: 212; lex: 51; sed: 16
file content (66 lines) | stat: -rw-r--r-- 1,953 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

                       Adonthell and FreeBSD

This file contains additional information for compiling Adonthell 
under FreeBSD. For general compilation instructions refer to the
INSTALL file. Even more details are found within the NEWBIE file,
but if you are using BSD you probably don't need them ;).



Compiling Adonthell:
====================

At least Adonthell itself should compile out of the box, provided
you have the standard gnu tools (gcc ...) and the necessary libs
(SDL, Python) installed.

The only thing worth noting is that you should use 'gmake'. So
building Adonthell under FreeBSD is as easy as typing

    [./autogen.sh]      (only after the initial CVS checkout)
    ./configure
    gmake
    gmake install       (optional)


If you'd rather use the BSD 'make', you'll get an error like

    Making all in src
    "Makefile", line 332: Need an operator
    make: fatal errors encountered -- cannot continue
    *** Error code 1
 
    Stop in /home/kai/adonthell/adonthell-src.

Simply comment the offending line in the Makefile and run 'make'
again - that should get the job done.



Building the various tools:
===========================

Some of the tools that accompany Adonthell make use of GTK+. As 
it seems, the Glib and GTK packages that come with FreeBSD (4.3)
contain the 'glib-config' and 'gtk-config' scripts under a 
different name ('glib12-config' and 'gtk12-config'). Like that, 
the configure script cannot find them. Adding some symbolic links
will work around this problem:

    ln -s /usr/local/bin/glib12-config /usr/local/bin/glib-config 
    ln -s /usr/X11R6/bin/gtk12-config /usr/local/bin/gtk-config

Depending on your BSD installation above directories or filenames
may differ.



Contact:
========

At the moment, the FreeBSD port is maintained (*cough*) by Kai
Sterker (kaisterker@linuxgames.com). If you run into any troubles
not listed here or want to contribute a patch please drop me a few
lines.