source: subversion/applications/utils/mod_mapnik_wms/README @ 22431

Last change on this file since 22431 was 22431, checked in by Dane Springmeyer, 9 years ago

touch up build for mac osx

File size: 1.0 KB
Line 
1
2More detailed README will come in a few days.
3
4mod_mapnik_wms is a WMS module for Apache2/Mapnik. It is very basic,
5supports only GetCapabilities and GetMap, no GetFeatureInfo or
6custom styling.
7
8dependencies
9
10* mapnik - mapnik.org
11* apache development tools
12* libgd
13* libproj
14* berkeley-db - http://download.oracle.com/berkeley-db/db-4.8.24.tar.gz
15
16compiling
17
18* install dependencies
19* run ./autogen.sh
20* probably fix mapnik package versions in debian/*
21* run debuild
22* install resulting package on a server that has Apache and Mapnik
23* configure your virtual host according to server-config.example
24
25Mac osx notes -->
26* export cppflags/ldflags for mapnik and dependencies:
27  - e.g. export CPPFLAGS='-I/usr/local/include'
28  - e.g. export LDFLAGS="-L/usr/local/lib -lmapnik -lproj -lgd"
29
30* manually copy the mod:
31  sudo cp .libs/mod_mapnik_wms.so /usr/libexec/apache2/mod_mapnik_wms.so
32
33* add to /etc/apache2/httpd.conf:
34    LoadModule mapnik_wms_module        libexec/apache2/mod_mapnik_wms.so
35
36* apachectl configtest # should get 'SYNTAX OKAY'
Note: See TracBrowser for help on using the repository browser.