Ticket #22 (closed defect: fixed)

Opened 22 months ago

Last modified 12 months ago

install Mapnik without root access

Reported by: reid@… Owned by: artem
Priority: Milestone: 0.5.0
Component: Core Library Version: SVN Trunk
Severity: Minor Keywords: scons
Cc: Patch Needs Improvement:
Needs Docmentation: Has Patch?:
Design Decision Needed:

Description

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.

Change History

Changed 18 months ago by tredinertok

  • cc london added; painting removed
  • keywords MESSAGE added; wine removed

Hi Very interesting information! Thanks! Bye

Changed 16 months ago by artem

  • component changed from PostGIS Input Driver to Core Library

Changed 16 months ago by artem

  • summary changed from fixme to install Mapnik without root access

Changed 13 months ago by artem

  • status changed from new to assigned
  • milestone changed from 0.4.1 to 0.5.0

Changed 12 months ago by david

  • keywords scons added

Changed 12 months ago by artem

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r616

Note: See TracTickets for help on using tickets.