Ticket #22 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
