| 1 |
General compilation notes |
| 2 |
------------------------- |
| 3 |
|
| 4 |
Qonk uses GNU Autoconf to manage the compilation. Call |
| 5 |
|
| 6 |
./configure --help |
| 7 |
|
| 8 |
to see available options. |
| 9 |
|
| 10 |
Like all good applications Qonk is able to be run without installation. It tries |
| 11 |
to find its data files in ./data first and uses $(pkgdatadir)/data in a second |
| 12 |
attempt. |
| 13 |
|
| 14 |
Dependencies |
| 15 |
------------ |
| 16 |
|
| 17 |
Qonk tries to only use components available in free software operating systems. |
| 18 |
|
| 19 |
Install the development version of the following packages in order to compile |
| 20 |
from source: |
| 21 |
|
| 22 |
SDL (>= 1.2) |
| 23 |
SDL_ttf (>= 2.0) |
| 24 |
SDL_gfx (>= 1.2) |
| 25 |
SDL_image (>= 1.2) |
| 26 |
|
| 27 |
Qonk includes a modified version of guichan 0.6.1 in its sources and statically |
| 28 |
links that into the executable. The build system was not tested to use a |
| 29 |
system-wide installation of guichan 0.6.1. Furthermore since guichan is not |
| 30 |
extensively used in Qonk it is planned to remove it in further releases. |
| 31 |
|
| 32 |
Compilation |
| 33 |
----------- |
| 34 |
|
| 35 |
In a published tarball you only need to execute |
| 36 |
|
| 37 |
./configure |
| 38 |
make |
| 39 |
make install |
| 40 |
|
| 41 |
(To avoid system-wide installation use the --prefix argument for ./configure !) |
| 42 |
|
| 43 |
You get helpful error messages if something is not correct with the |
| 44 |
dependencies. |
| 45 |
|
| 46 |
If you want to built the sources from SVN you need to issue ./autogen.sh and |
| 47 |
have the autotools installed (GNU Automake, GNU Autoconf, GNU libtool). |