Updated Installing Mapnik on Suse (markdown)
parent
5a6ce49bf9
commit
b136bed946
1 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,7 @@ TODO
|
||||||
* In YaST2, make sure to enable "Search in" -> "File list" and search for "gcc".
|
* In YaST2, make sure to enable "Search in" -> "File list" and search for "gcc".
|
||||||
|
|
||||||
* Make sure these packages are checked (otherwise Boost will not be found during the scons configure stage of Mapnik installation):
|
* Make sure these packages are checked (otherwise Boost will not be found during the scons configure stage of Mapnik installation):
|
||||||
|
|
||||||
* 'boost-devel'
|
* 'boost-devel'
|
||||||
* 'cpp43'
|
* 'cpp43'
|
||||||
* 'gcc'
|
* 'gcc'
|
||||||
|
@ -34,21 +35,25 @@ TODO
|
||||||
|
|
||||||
* As root, issue the following:
|
* As root, issue the following:
|
||||||
|
|
||||||
|
```
|
||||||
$ zypper ar http://download.opensuse.org/repositories/Application:/Geo/SLE_11/ "Geo"
|
$ zypper ar http://download.opensuse.org/repositories/Application:/Geo/SLE_11/ "Geo"
|
||||||
$ zypper refresh
|
$ zypper refresh
|
||||||
$ zypper install libjpeg-devel libtiff-devel libpng-devel boost-devel python-cairo-devel
|
$ zypper install libjpeg-devel libtiff-devel libpng-devel boost-devel python-cairo-devel
|
||||||
$ zypper install cairomm-devel libicu-devel libtool libxml2-devel libproj0 libproj-devel
|
$ zypper install cairomm-devel libicu-devel libtool libxml2-devel libproj0 libproj-devel
|
||||||
$ zypper install subversion
|
$ zypper install subversion
|
||||||
|
```
|
||||||
|
|
||||||
## SLES 11 x86_64: Installing Mapnik
|
## SLES 11 x86_64: Installing Mapnik
|
||||||
Still as root:
|
Still as root:
|
||||||
|
|
||||||
|
```
|
||||||
$ cd && mkdir src && cd src
|
$ cd && mkdir src && cd src
|
||||||
$ svn export http://svn.mapnik.org/tags/release-0.7.1 mapnik-0.7.1
|
$ svn export http://svn.mapnik.org/tags/release-0.7.1 mapnik-0.7.1
|
||||||
$ cd mapnik-0.7.1/
|
$ cd mapnik-0.7.1/
|
||||||
$ python scons/scons.py configure
|
$ python scons/scons.py configure
|
||||||
$ python scons/scons.py install
|
$ python scons/scons.py install
|
||||||
$ ldconfig
|
$ ldconfig
|
||||||
|
```
|
||||||
|
|
||||||
* Next, start the python REPL and try to import mapnik:
|
* Next, start the python REPL and try to import mapnik:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue