Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created November 19, 2013 22:17
Show Gist options
  • Save tmcw/7553568 to your computer and use it in GitHub Desktop.
Save tmcw/7553568 to your computer and use it in GitHub Desktop.
mapnik➟ ./configure
scons: Reading SConscript files ...
Welcome to Mapnik...
Configuring build environment...
SCons CONFIG found: 'config.py', variables will be inherited...
Configuring on Darwin in *release mode*...
Checking for freetype-config... yes
Checking for xml2-config... yes
Checking if compiler (clang++) supports -std=c++11 flag... (cached) yes
Checking for C library z... yes
Checking for C++ library icuuc... no
Could not find required header or shared library for icuuc
Searching for boost libs and headers... (cached)
Found boost libs: /usr/local/lib
Found boost headers: /usr/local/include
Found boost lib name extension: -mt
Checking for C++ header file boost/version.hpp... yes
Checking for Boost version >= 1.47... yes
Found boost lib version...
Checking for C++ library boost_system-mt... no
Could not find required header or shared library for boost system
Checking for C++ library boost_filesystem-mt... no
Could not find required header or shared library for boost filesystem
Checking for C++ library boost_regex-mt... no
Could not find required header or shared library for boost regex
Checking for C++ library boost_program_options-mt... no
Could not find optional header or shared library for boost program_options
Checking for C++ library boost_thread-mt... no
Could not find required header or shared library for boost thread
Checking for pkg-config... yes
Checking for requested plugins dependencies...
Checking for gdal-config --libs... yes
Checking for gdal-config --cflags... yes
Checking for name of gdal library... gdal
Checking for C++ library gdal... no
Checking if gdal is ogr enabled... yes
Checking for name of ogr library... gdal
Checking for C++ library gdal... no
Checking for C library curl... yes
Checking for pg_config... yes
Checking for C library sqlite3... yes
Checking if SQLite supports RTREE... (cached) yes
Checking for cairo... yes
Checking for cairo lib and include paths... yes
Checking for cairo freetype font support ... yes
Checking for C++ header file boost/python/detail/config.hpp... no
Could not find required header files for boost python
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 system (more info see: https://github.com/mapnik/mapnik/wiki/Mapnik-Installation & http://www.boost.org)
- boost filesystem (more info see: https://github.com/mapnik/mapnik/wiki/Mapnik-Installation & http://www.boost.org)
- boost regex (more info see: https://github.com/mapnik/mapnik/wiki/Mapnik-Installation & http://www.boost.org)
- boost thread (more info see: https://github.com/mapnik/mapnik/wiki/Mapnik-Installation & http://www.boost.org)
- boost python (more info see: https://github.com/mapnik/mapnik/wiki/Mapnik-Installation & http://www.boost.org)
See '/Users/tmcw/src/mapnik/config.log' for details on possible problems.
Also, these OPTIONAL dependencies were not found:
- boost program_options (more info see: https://github.com/mapnik/mapnik/wiki/Mapnik-Installation & http://www.boost.org)
- gdal (GDAL C++ library | configured using gdal-config program | try setting GDAL_CONFIG SCons option | more info: https://github.com/mapnik/mapnik/wiki/GDAL)
- 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: https://github.com/mapnik/mapnik/wiki/Mapnik-Installation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment