mapnik/mapnik — Issue #1085: mapnik prefix problem 
Author: h4ck3rm1k3
Created: 2012-02-15 11:26:56+00:00
State: open

Hi there,
I am having a problem with running the prefixed install,
It installs some files into my home dir and others into usr lib.

I spent 3-4 hours yesterday fighting with scons for boost and mapnik, wishing that people would use autoconf instead of reinventing the configure system.

here is my invokation :

python scons/scons.py install BOOST_INCLUDES=/home/h4ck3rm1k3/perl5/includes BOOST_LIBS=/home/h4ck3rm1k3/perl5/lib PREFIX=/h\
ome/h4ck3rm1k3/perl5 INSTALL_PREFIX=/home/h4ck3rm1k3/perl5 PREFIX=/home/h4ck3rm1k3/perl5

these get installed :

Install file: "utils/shapeindex/shapeindex" as "/home/h4ck3rm1k3/perl5/bin/shapeindex"
Install file: "utils/upgrade_map_xml/upgrade_map_xml.py" as "/home/h4ck3rm1k3/perl5/bin/upgrade_map_xml.py"

this fails :
scons: *** [/usr/lib/python2.6/dist-packages/mapnik] /usr/lib/python2.6/dist-packages/mapnik: Permission denied
scons: building terminated because of errors.

any help would be appreciated thanks

Also posted to my blog ;
http://osmopenlayers.blogspot.com/2012/02/mapnik-prefix-problem.html