mapnik-org/mapnik — Issue #21: install Mapnik without root access
Author: artemp
Created: 2011-10-11 07:30:56+00:00
State: open
Labels: Core_Library

I installed Mapnik with:

{{{
#!/bin/sh

prefix=/export/scratch/reid/python
site_packages=lib/python2.4/site-packages

set -e

python scons/scons.py THREADING=single PGSQL_INCLUDES=/usr/include/postgresql PREFIX= DESTDIR=$prefix install
cd $prefix
rm -fv $site_packages/mapnik
ln -v -s ../../../usr/$site_packages/mapnik $site_packages/mapnik
sudo rm -fv /lib/mapnik
sudo ln -v -s $prefix/lib/mapnik /lib/mapnik
}}}

... and the input plugins were not found without the last two lines, which require superuser priviledges, i.e. AFAICT it is no longer possible to install Mapnik without root access.

This is r469.