You can clone with
HTTPS or Subversion.
Upgrading OS X to Lion causes cleanup of /Library/Python/2.7/site-packages/ and everything dies. Reinstalling http://www.kyngchaos.com/software/frameworks works fine.
But after that it fails with «Could not find required header or shared library for ltdl.» Installing libtools from ports doesn't help too.
Default libtool binary ins under /usr/bin/libtool. libtool -V gives «Apple Inc. version cctools-829»
It would be nice to have LTDL param for example.
The part from log
«scons: Configure: Checking for C library ltdl...
gcc -o .sconf_temp/conftest_3.o -c -Iinclude -I. -I/Library/Frameworks/UnixImageIO.framework/Versions/E/Headers -I/Library/Frameworks/PROJ.framework/Versions/4/Headers -I/Library/Frameworks/SQLite3.framework/Versions/3/Headers -I/Library/Frameworks/FreeType.framework/unix/include/freetype2 -I/Library/Frameworks/FreeType.framework/unix/include -I/usr/local/include -I/usr/include/libxml2 .sconf_temp/conftest_3.c
.sconf_temp/conftest_3.c:3:18: error: ltdl.h: No such file or directory
scons: Configure: no»
Looks like mapnik uses 10.6 sdk
and ltdl.h is inside 10.7 and not /user/share as it was before
and the binary libttol is inside /usr/bin/
Nothing about Mapnik is hardcoded to the 10.6 SDK. If you are using the mapnik-packaging OSX scripts you should not - use homebrew. Also libtdl did change in 10.8, but this is not an issue with Mapnik.
Check this out:
1) I did completely reinstall OS X to latest Mountain Lion (dropped the partition first).
2) Installed latest Xcode/command tools/X11/homebrew and updates
3) Made both brew install --HEAD mapnik and brew install mapnik
4) Gained error equal to compilation from source https://gist.github.com/3378048
4) Checked out troubleshooting page and found nothing about it
May be you already have any tip what can be done in this case?
And it doesn't seem to be fine installing via brew to be such a pain in the ass as compiling from sources step by step (
brew install --HEAD mapnik
brew install mapnik
By the way compiled version from dmg https://github.com/downloads/mapnik/mapnik/mapnik-v2.0.1.tar.bz2
fails with the same reason on a clean system https://gist.github.com/3378336
Installing libtool via brew install libtool helps.
brew install libtool
scons: add option to configure custom paths to ltdl - refs #1376
Yes, the solution is to install libtool with brew. That also works for me. The binary dmg problem is tracked at mapnik/mapnik-packaging#57. Also I've added an option to point to a custom location in 1e0a4ac.