I have managed to install mapnik 0.4, 0.5, 0.5.1 and various SVN releases in-between on Ubuntu. While this isn't in itself exciting, I think I manage to stumble at every installation. I typically forget to add the flags when building, so, to prevent myself from stumbling again, I'm going to write them out here.
Build mapnik$ python scons/scons.py PYTHON=/usr/bin/python \
PGSQL_INCLUDES=/usr/include/postgresql \
PGSQL_LIBS=/usr/lib/postgresql BOOST_INCLUDES=/usr/include/boost BOOST_LIBS=/usr/lib
$ sudo python scons/scons.py install PYTHON=/usr/bin/python \
PGSQL_INCLUDES=/usr/include/postgresql \
PGSQL_LIBS=/usr/lib/postgresql BOOST_INCLUDES=/usr/include/boost BOOST_LIBS=/usr/lib
Then proceed as normal.
No problem Matt, I'll possibly post some more details about installing mapnik+postgis+mod_tile on an Ubuntu box, but I'll have to finish dong it first:)
Hi Kev,
I'm the designbuildtestrepeat.wordpress.com guy. I'm glad to see that you are working on Mapnik (and OSM?). I've just committed to giving a talk next month on the use of AWS for map creation so I need to bone up on all that stuff again. It's good to have another resource to refer to
Regards
Diarmuid
This entry is from my tech blog and was written on April 19, 2008. It's been tagged with Python and GIS and Open Street Maps. There have been 3 comments so far.
Thank you for this. Been thinking about installing Mapnik and this will help a lot.