Dane Springmeyer edited this page Jan 23, 2013 · 2 revisions
Clone this wiki locally

These instructions are verified on a clean Opensuse 11.2 install.

First, add the Geo repository:

sudo zypper ar "Geo"
sudo zypper refresh

To download and build Mapnik, you first need to install quite a bit of dependencies and tools:

sudo zypper install subversion make gcc gcc-c++ libxml2-devel postgresql-devel libgeos-devel libbz2-devel libproj-devel libjpeg-devel libtiff-devel libpng-devel boost-devel python-cairo-devel cairomm-devel libicu-devel libtool

Use git to fetch the latest version of Mapnik..

git clone git://

Build the Mapnik Python module. In the second line, you can omit everything after "" if you do not want to optimize the build or want to run the build on other machines.

cd mapnik/
python scons/ CXX="g++ -march=native -O2 -fomit-frame-pointer" configure
python scons/
sudo python scons/ install