On Jan 17, 2010, at 9:11 AM, Michael Friis wrote:

>> The compile gets further with boost 1.42, but oddly exits with a
>> similar-looking error (both mapnik trunk and 0.7):
> Aha, it turns out scons was detecting boost 1.42 headers but was
> actually using 1.40 boost stuff installed using apt-get. I've now
> removed all boost 1.40 related packages. This leads to a new
> conondrum:
> "Could not find required header or shared library for boost regex".


Open up the file that Scons creates in the mapnik source folder called  
'config.log' and find the error related to boost_regex.

Feel free to jump back on IRC or send an email back here with what you  
find.

My guess is that libboost_regex has a linking problem with icu, which  
it optionally requires.

Mapnik trunk requires boost_regex built with icu support, Mapnik 0.7  
does not.

ldd /usr/local/lib/libboost_regex.so should give you some details.

You may need to rebuild boost regex with icu support.

Dom's recent email hinted at how to do this:

bjam toolset=gcc --with-regex -sHAVE_ICU=1-sICU_PATH=/usr/local/ -a

(the '/usr/local' assumes you built icu yourself)

Dane

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

Reply via email to