Joseph and others,

So, to sum this up again... This problem stemmed from two issues around finding boost installs:

1) Programs like Macports put things in unique locations that are not on the default paths that most build systems look for and 2) The Macports directories that boost packages were installed into changed slightly between Portfile updates so our docs on the trac wiki were out of date

To try to remedy this and make the task of linking to boost easier for those of you who aren't needing or wanting to do highly configured builds I've added a change that should 'Auto-Find' boost:

http://trac.mapnik.org/ticket/297

This is available in the just released Mapnik 0.6.1.

This should effectively allow you to remove the BOOST_* custom variables in your 'config.py' file that SCons uses if you wish. Let me know how it works.

Dane


On Jun 20, 2009, at 4:46 AM, Joseph Jira wrote:

Dane:

Great guess! It worked! I was on to it last night, checking all of the paths to be found (manually) and cross checking with the config.py file. Too tired to make the connection. Anyway thanks so much for helping me get Mapnik up and running on my Mac! No more switching to Ubuntu.

Joseph

On Fri, Jun 19, 2009 at 11:05 PM, Dane Springmeyer <[email protected]> wrote:
Looks like macports now puts boost headers here:

/opt/local/include/boost-1_39/

because in your log I see:

.sconf_temp/conftest_4.cpp:3:29: error: boost/version.hpp: No such file or directory


So try:

python scons/scons.py configure BOOST_INCLUDES=/opt/local/include/ boost-1_39/ BOOST_LIBS=/opt/local/lib BOOST_TOOLKIT='xgcc40'

but really I'm just guessing because I don't know the layout of your system

Doing something like:

$ locate boost/version.hpp

which will give you possible locations of the includes, if installed.

Dane



On Jun 19, 2009, at 7:54 PM, Joseph Jira wrote:

Hello:

I am not exactly sure what your previous message means, but after reading some more documentation about Scons, I concluded that this is what I should do: joseph-jiras-macbook:mapnik jmjira$ python scons/scons.py configure BOOST_TOOLKIT='xgcc40'


Which gave me the same errors as before:

...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-xgcc40-mt... no
Could not find optional header or shared library for boost system
Checking for C++ library boost_filesystem-xgcc40-mt... no
Could not find required header or shared library for boost filesystem
Checking for C++ library boost_regex-xgcc40-mt... no
Could not find required header or shared library for boost regex
Checking for C++ library boost_iostreams-xgcc40-mt... no
Could not find required header or shared library for boost iostreams
Checking for C++ library boost_program_options-xgcc40-mt... no
Could not find optional header or shared library for boost program_options
Checking for C++ library boost_thread-xgcc40-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 attached for my config.log (config.txt)

Again, thanks for your time and help.

Joseph Jira




On Thu, Jun 18, 2009 at 6:07 PM, Dane Springmeyer <[email protected]> wrote:
Joseph,

It appears that the symlinking done by macports installs of recent boost version may have changed.

Try passing the extra option to Scons of:

BOOST_TOOLKIT=xgcc40

Dane



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

Checking for Boost version >= 1.34... no
Boost version 1.34 or greater is requred
Checking for C++ library boost_system-mt... no


<config.txt>



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

Reply via email to