Created
July 1, 2011 20:59
-
-
Save fpedrera/1059385 to your computer and use it in GitHub Desktop.
Error installing mapnik2 using homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MacBook-Pro-de-Felix-Pedrera-Garcia:~ felix$ brew install mapnik2 -v | |
==> Checking out http://svn.mapnik.org/trunk/ | |
/usr/bin/svn up --force http://svn.mapnik.org/trunk/ /Users/felix/Library/Caches/Homebrew/mapnik2--svn | |
Skipped 'http://svn.mapnik.org/trunk' | |
At revision 2998. | |
Summary of conflicts: | |
Skipped paths: 1 | |
/usr/bin/svn export --force /Users/felix/Library/Caches/Homebrew/mapnik2--svn /private/tmp/homebrew-mapnik2-HEAD-FQKf | |
Export complete. | |
==> scons PREFIX=/usr/local/Cellar/mapnik2/HEAD ICU_INCLUDES=/usr/local/Cellar/icu4c/4.4.1/include ICU_LIBS=/usr/local/Cellar/icu4c/4.4.1/lib JOBS=2 install | |
scons PREFIX=/usr/local/Cellar/mapnik2/HEAD ICU_INCLUDES=/usr/local/Cellar/icu4c/4.4.1/include ICU_LIBS=/usr/local/Cellar/icu4c/4.4.1/lib JOBS=2 install | |
scons: Reading SConscript files ... | |
Welcome to Mapnik... | |
********************************************* | |
You are compiling Mapnik trunk (aka Mapnik2) | |
See important details at: | |
http://trac.mapnik.org/wiki/Mapnik2 | |
********************************************* | |
Configuring build environment... | |
Configuring on Darwin in *release mode*... | |
Checking for freetype-config... yes | |
Checking for xml2-config... yes | |
Sorting lib and inc compiler paths by priority... internal,other,frameworks,user,system(cached) yes | |
Checking for C library m... yes | |
Checking for C library ltdl... yes | |
Checking for C library png... yes | |
Checking for C library tiff... yes | |
Checking for C library z... yes | |
Checking for C library proj... yes | |
Checking for C++ library icuuc... yes | |
Checking for C library jpeg... yes | |
dyld: Library not loaded: libicuuc.44.dylib | |
Referenced from: /private/tmp/homebrew-mapnik2-HEAD-FQKf/.sconf_temp/conftest_10 | |
Reason: image not found | |
sh: line 1: 13625 Trace/BPT trap .sconf_temp/conftest_10 > ".sconf_temp/conftest_10.out" | |
Checking for ICU version >= 4.2... (cached) Searching for boost libs and headers... (cached) | |
*libs found: /usr/local/lib | |
*headers found: /usr/local/include | |
*lib naming extension found: -mt | |
dyld: Library not loaded: libicuuc.44.dylib | |
Referenced from: /private/tmp/homebrew-mapnik2-HEAD-FQKf/.sconf_temp/conftest_11 | |
Reason: image not found | |
sh: line 1: 13638 Trace/BPT trap .sconf_temp/conftest_11 > ".sconf_temp/conftest_11.out" | |
dyld: Library not loaded: libicuuc.44.dylib | |
Referenced from: /private/tmp/homebrew-mapnik2-HEAD-FQKf/.sconf_temp/conftest_12 | |
Reason: image not found | |
sh: line 1: 13649 Trace/BPT trap .sconf_temp/conftest_12 > ".sconf_temp/conftest_12.out" | |
Checking for Boost version >= 1.41... no | |
Boost version 1.41 or greater is required | |
Checking for C++ library boost_system-mt... yes | |
Checking for C++ library boost_filesystem-mt... yes | |
Checking for C++ library boost_regex-mt... yes | |
Checking for C++ library boost_program_options-mt... yes | |
Checking for C++ library boost_thread-mt... yes | |
Checking for requested plugins dependencies... | |
Checking for C library sqlite3... yes | |
Checking if gdal is ogr enabled... yes | |
Checking for name of ogr library... gdal | |
Checking for gdal-config --libs... yes | |
Checking for gdal-config --cflags... yes | |
Checking for name of gdal library... gdal | |
Checking for pg_config... yes | |
Checking for pkg-config... yes | |
Checking for cairo... yes | |
Checking for cairomm-1.0... yes | |
Checking for at least version 1.8.0 for cairomm-1.0... yes | |
Checking for C++ header file boost/python/detail/config.hpp... yes | |
Checking for pkg-config... yes | |
Checking for pycairo... no | |
Exiting... the following required dependencies were not found: | |
- icuuc (ICU C++ library | configure with ICU_LIBS & ICU_INCLUDES or use ICU_LIB_NAME to specify custom lib name | more info: http://site.icu-project.org/) | |
- boost version >=1.41 (more info see: http://trac.mapnik.org/wiki/MapnikInstallation & http://www.boost.org) | |
See '/private/tmp/homebrew-mapnik2-HEAD-FQKf/config.log' for details on possible problems. | |
Also, these OPTIONAL dependencies were not found: | |
- pycairo (Python bindings to Cairo library | configured using pkg-config | try setting PKG_CONFIG_PATH SCons option) | |
Set custom paths to these libraries and header files on the command-line or in a file called 'config.py' | |
ie. $ python scons/scons.py BOOST_INCLUDES=/usr/local/include BOOST_LIBS=/usr/local/lib | |
Once all required dependencies are found a local 'config.py' will be saved and then install: | |
$ sudo python scons/scons.py install | |
To view available path variables: | |
$ python scons/scons.py --help or -h | |
To view overall SCons help options: | |
$ python scons/scons.py --help-options or -H | |
More info: http://trac.mapnik.org/wiki/MapnikInstallation | |
==> Exit Status: 1 | |
http://github.com/mxcl/homebrew/blob/master/Library/Formula/mapnik2.rb#L20 | |
==> Environment | |
HOMEBREW_VERSION: 0.8 | |
HEAD: (none) | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
HOMEBREW_REPOSITORY: /usr/local | |
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew | |
Hardware: 8-core 64-bit dunno | |
OS X: 10.6.7 | |
Kernel Architecture: x86_64 | |
Ruby: 1.8.7-174 | |
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby | |
Xcode: 4.0.2 | |
GCC-4.0: N/A | |
GCC-4.2: build 5666 | |
LLVM: build 2335 | |
MacPorts or Fink? false | |
X11 installed? true | |
==> Build Flags | |
CC: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 | |
CXX: /usr/bin/c++ => /usr/bin/c++-4.2 | |
LD: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 | |
CFLAGS: -O3 -w -pipe | |
CXXFLAGS: -O3 -w -pipe | |
CPPFLAGS: -I/usr/local/Cellar/icu4c/4.4.1/include -I/usr/X11/include | |
LDFLAGS: -L/usr/local/Cellar/icu4c/4.4.1/lib -L/usr/X11/lib | |
MAKEFLAGS: -j8 | |
PKG_CONFIG_PATH: /usr/local/Cellar/icu4c/4.4.1/lib/pkgconfig | |
Error: Failed executing: scons PREFIX=/usr/local/Cellar/mapnik2/HEAD ICU_INCLUDES=/usr/local/Cellar/icu4c/4.4.1/include ICU_LIBS=/usr/local/Cellar/icu4c/4.4.1/lib JOBS=2 install | |
Please report this bug: https://github.com/mxcl/homebrew/wiki/Checklist-before-filing-a-new-issue | |
These existing issues may help you: | |
https://github.com/mxcl/homebrew/issues/#issue/3150 | |
Also try: | |
`brew doctor` to check your setup for common problems. | |
`brew missing` to check installed packages for missing deps. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment