2003-11-21 00:52:27 +00:00
|
|
|
Prerequisites:
|
2003-09-15 11:52:41 +00:00
|
|
|
|
2003-11-21 00:52:27 +00:00
|
|
|
You'll need to have these libraries (with equivalent devel versions) to build Wesnoth:
|
2003-10-28 09:37:37 +00:00
|
|
|
|
|
|
|
libsdl1.2
|
|
|
|
libsdl-image1.2
|
|
|
|
libsdl-mixer1.2 (with Vorbis support)
|
|
|
|
libsdl-net
|
2004-10-30 15:16:37 +00:00
|
|
|
libfreetype2
|
2003-09-15 11:52:41 +00:00
|
|
|
|
2004-10-30 15:16:37 +00:00
|
|
|
SDL* libraries can be found at http://www.libsdl.org . libfreetype can be found
|
|
|
|
at http://www.freetype.org/ .
|
2003-09-15 11:52:41 +00:00
|
|
|
|
2005-02-19 12:21:23 +00:00
|
|
|
You will also need to have a working installation of gettext to build the
|
|
|
|
translations.
|
|
|
|
|
|
|
|
The .tar.gz file is distributed with a working set of configure files. They
|
|
|
|
are not in the CVS repository though. Consequently, if you are building from
|
|
|
|
CVS, you will need autoconf (>= 2.59) and automake (>= 1.8).
|
2003-10-28 09:37:37 +00:00
|
|
|
|
2003-11-21 00:52:27 +00:00
|
|
|
Sourcecode:
|
2003-09-29 09:58:27 +00:00
|
|
|
|
2003-11-21 00:52:27 +00:00
|
|
|
You can get it here:
|
2003-10-28 09:37:37 +00:00
|
|
|
|
2003-11-21 00:52:27 +00:00
|
|
|
http://www.wesnoth.org/downloads
|
2003-09-29 09:58:27 +00:00
|
|
|
|
|
|
|
|
2003-11-21 00:52:27 +00:00
|
|
|
Compiling:
|
2003-09-29 09:58:27 +00:00
|
|
|
|
2003-11-21 00:52:27 +00:00
|
|
|
First untar the package:
|
|
|
|
|
2003-09-29 09:58:27 +00:00
|
|
|
$ tar xfzv wesnoth-0.x.tar.gz
|
|
|
|
|
2003-11-21 00:52:27 +00:00
|
|
|
then
|
|
|
|
|
2003-09-29 09:58:27 +00:00
|
|
|
$ cd wesnoth-0.x
|
2003-10-28 09:37:37 +00:00
|
|
|
|
2003-09-29 09:58:27 +00:00
|
|
|
followed by
|
2003-11-21 00:52:27 +00:00
|
|
|
|
2003-12-23 20:16:21 +00:00
|
|
|
$ ./configure
|
|
|
|
|
|
|
|
compile with
|
|
|
|
|
2003-09-29 09:58:27 +00:00
|
|
|
$ make
|
2003-11-21 00:52:27 +00:00
|
|
|
|
2003-10-28 09:37:37 +00:00
|
|
|
|
2003-11-21 00:52:27 +00:00
|
|
|
Installing:
|
|
|
|
|
|
|
|
$ make install
|
|
|
|
|
2003-09-29 09:58:27 +00:00
|
|
|
|
2004-03-15 18:35:59 +00:00
|
|
|
Updating:
|
2003-09-18 16:32:07 +00:00
|
|
|
|
2004-03-15 18:35:59 +00:00
|
|
|
When updating wesnoth (e.g. redoing "configure" with new switches, or updating from CVS) clean the tree first with:
|
|
|
|
|
|
|
|
$ make clean
|