On Jun 17, 2009, at 6:03 PM, Joseph Jira wrote:

> Hello:
>
> I've been using Mapnik on Ubuntu for about 3 months or so, with good  
> progress. I decided to install Mapnik on Mac OS X Leopard (10.5)  
> today, using Route A option 1.
>
> Here is my error readout:
>
> Welcome to Mapnik...
>
> Configuring build environment...
> SCons CONFIG found: 'config.py', variables will be inherited...
> BOOST_INCLUDES=/opt/local/include BOOST_LIBS=/opt/local/lib  
> FREETYPE_CONFIG=/opt/local/bin/freetype-config XML2_CONFIG=/opt/ 
> local/bin/xml2-config ICU_INCLUDES=/opt/local/include ICU_LIBS=/opt/ 
> local/lib PNG_INCLUDES=/opt/local/include PNG_LIBS=/opt/local/lib  
> JPEG_INCLUDES=/opt/local/include JPEG_LIBS=/opt/local/lib  
> TIFF_INCLUDES=/opt/local/include TIFF_LIBS=/opt/local/lib  
> PROJ_INCLUDES=/opt/local/include PROJ_LIBS=/opt/local/lib  
> GDAL_CONFIG=/opt/local/bin/gdal-config SQLITE_INCLUDES=/opt/local/ 
> include SQLITE_LIBS=/opt/local/lib FRAMEWORK_PYTHON=False  
> INPUT_PLUGINS=gdal,ogr,raster,shape,sqlite
> Configuring on Darwin in *release mode*...
> Checking for freetype-config... yes
> Checking for xml2-config... yes
> Checking for pkg-config... yes
> Checking for cairomm-1.0... 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 jpeg... yes
> Checking for C library proj... yes
> Checking for C++ library icuuc... yes
> Checking for C++ library icudata... yes
> Checking for Boost version >= 1.34... no
> Boost version 1.34 or greater is requred
> Checking for C++ library boost_system-mt... no
> Could not find optional 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_iostreams-mt... no
> Could not find required header or shared library for boost iostreams
> 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 requested plugins dependencies...
> Checking for gdal-config --libs... yes
> Checking for gdal-config --cflags... yes
> Checking for name of gdal library... gdal
> Checking if gdal is ogr enabled... yes
> Checking for name of ogr library... gdal
> Checking for C library sqlite3... yes
> Checking for C++ header file boost/python/detail/config.hpp... no
> Could not find required header files for boost python
> Checking for pkg-config... yes
> Checking for pycairo... no
>
> Exiting... the following required dependencies were not found:
>    - boost version >=1.34
>    - boost filesystem
>    - boost regex
>    - boost iostreams
>    - boost thread
>    - boost python
>
> See the 'config.log' for details on possible problems.
>
> Also, these optional dependencies were not found:
>    - boost system
>    - boost program_options
>    - pycairo
>
> After the failed attempt, I tried to install via option 2 again with  
> the same errors.
>
> I am really perplexed. Before my Ubuntu install, I tried to install  
> on Mac OS X from source and got the same errors. Any ideas on what I  
> should try next?
>

Confirm that boost is installed properly via Macports:

$ sudo port selfupdate
$ sudo port install boost +python26

If it is and Mapnik cannot find it, then post the output of your  
'config.log'

And the output of:

ls -l /opt/local/lib/libboost*

Dane


_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to