root/tags/release-0.2.1a/INSTALL

Revision 74, 1.1 kB (checked in by pavlenko, 3 years ago)

small correction

Line 
1INSTALLATION INSTRUCTIONS
2
3Prerequisites
4First of all you will have to install 'scons'. See scons user guide on how to get started.
5
6Mapnik is relying on a number of boost libraries (filesystem, python, regex, spirit etc). You can download the latest release (1.32.0) or grab a CVS snapshot from http://boost.org. You don't need to build anything, just unzip the source into read/write location on your disk.
7
8The same requirements apply for AGG library (available from http://www.antigrain.com)
9
10Other dependencies include:
111. libltdl  (dynamic linking)
122. libz
133. libpng
144. libjpeg
155. freetype2
166. postgresql (+postgis) - if you want to build postgis datasource
17
18Building
19Once you satisfy all dependencies you can build mapnik by issuing the following  command:
20
21:/> scons DATASOURCES=all PREFIX=/where/to/install install
22
23This should compile, link and install all relevant libraries/headers in PREFIX.
24
25By default release versions are built, but you can specify "debug=yes" to build debug versions. At this time only GCC toolkit is supported and you'll have to modify SConstruct/SConscript files if you're planning to use something else.
Note: See TracBrowser for help on using the browser.