On Jan 7, 2010, at 1:21 PM, Thomas Woodham wrote:
Dane, Ludwig:
Once again, thanks again for your help. I'm proud to say I was
finally able to get mapnik installed! :-)
I ended up making a number of adjustments to get it installed and
working on one of my servers, which is a Plesk-controlled RHEL 5
environment. Here were the steps I ended up taking:
Modified /etc/ld.so.conf so that the /usr/local/lib directory was
listed FIRST. I don't totally understand how ld interacts with the
gcc compiler, but the ldconfig -v output would pick up /usr/lib
modules prior to finding the /usr/local/lib modules.
Updated the 'LIBS' PathVariable references in SConstruct for the
icu, png, jpeg, tiff, and proj requirements. I had to remove the
references to the LIBDIR_SCHEMA variable and point the PathVariable
at the install directory for each of the files. Otherwise it was
questionable if the configure step would find those header files.
Comment out the reference to the shapeindex plugin. I never could
get it to compile.
I ended up abandoning my efforts to get the 0.6.1 branch installed,
so these steps were taken against the 0.7 branch. These three
adjustments allowed me to install mapnik and generate a successful
test via Python. Now on the fun business of moving mapnik into
production.
Thanks again for the help. It's most appreciated.
Thomas
Brilliant Thomas!
Great that you got it working, and thanks very much for following up.
Next time I work on the SCons scripts I will try to make step #2 above
easier to configure from the command line.
Cheers,
Dane
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users