Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • M mapnik3
  • Project information
    • Project information
    • Activity
    • Members
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
Collapse sidebar
  • 周峰
  • mapnik3
  • Wiki
  • OpenSuseInstallation

OpenSuseInstallation · Changes

Page history
clone mapnik wiki from github. authored May 14, 2021 by 周峰's avatar 周峰
Show whitespace changes
Inline Side-by-side
OpenSuseInstallation.md 0 → 100644
View page @ 8516de00
<!-- Name: OpenSuseInstallation -->
<!-- Version: 4 -->
<!-- Last-Modified: 2010/09/29 07:15:24 -->
<!-- Author: gnijholt -->
# Installing Mapnik on Suse
One old guide for trunk is here: http://lists.berlios.de/pipermail/mapnik-users/2010-January/002810.html
But you should install the latest Mapnik release as trunk requires a more recent version of boost.
## OpenSUSE: Installing Mapnik dependencies
TODO
## OpenSUSE: Installing Mapnik
TODO
## SLES 11 x86_64: Installing Mapnik dependencies
* Mount the SDK ISO number 1 (SLE-11-SDK-DVD-x86_64-GM-Media1.iso)
* 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):
* 'boost-devel'
* 'cpp43'
* 'gcc'
* 'gcc43'
* 'gcc43-c++'
* 'gcc-c++'
* 'libgcc43'
* As root, issue the following:
```
$ zypper ar http://download.opensuse.org/repositories/Application:/Geo/SLE_11/ "Geo"
$ zypper refresh
$ 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 subversion
```
## SLES 11 x86_64: Installing Mapnik
Still as root:
```
$ cd && mkdir src && cd src
$ git clone git://github.com/mapnik/mapnik.git
$ cd mapnik/
$ python scons/scons.py configure
$ python scons/scons.py install
$ ldconfig
```
* Next, start the python REPL and try to import mapnik:
```sh
$ python
```
```python
>>> import mapnik
>>> mapnik.mapnik_version()
701
>>>
```
\ No newline at end of file
Clone repository
  • A perfect testcase
  • API changes between v2.0 and v2.1
  • API changes between v3.0 and v3.1
  • AWS Lambda
  • About Mapnik
  • AlsoFilter
  • Api changes between v2.1 and v2.2
  • Api changes between v2.2 and v2.3
  • Api changes between v2.3 and v3.0
  • ArchInstallation
  • Aspect Fix Mode
  • Benchmark Notes
  • BoundsClipping
  • BrokenExceptions
  • BuildingSymbolizer
View All Pages