First, like Artem said, make sure to *install* boost, rather than trying to 
configure against its libs in the 'stage' directory.

Also, when you write back make sure to tell us where you installed it.

So, if you have some other boost in /usr/local/ perhaps you should use some 
custom prefix like: /opt/boost-43

And if you installed boost in /opt/boost-43 then you would do:

python scons/scons.py BOOST_INCLUDES=/opt/boost-43/include 
BOOST_LIBS=/opt/boost-43/lib

DO NOT use the BOOST_VERSION option (it does not do what you think).

If the above does not help you work things out then please post your 
"config.log" somewhere we can look at it.

Also, write back the exact commands you used to install boost.

Dane

On Jul 13, 2011, at 4:36 AM, [email protected] wrote:

> Thanks for your answer, but I tried it before.
> The version of boost in /local/lib/ is below 1.3, so it will fail again.
> 
> I tried to overwrite the library files of boost by copying the libraries of 
> the new version to the /usr/local/lib directory, but maybe there will be 
> problems with depencies somewhere else. After several hours I resigned 
> because lots of errors occured like "symbols not found" and so on...
> 
> But I think that options like BOOST_LIBS should make sense...
> 
> -----Ursprüngliche Nachricht-----
> Von: "Artem Pavlenko" <[email protected]>
> Gesendet: 13.07.2011 13:00:16
> An: [email protected]
> Betreff: Re: [Mapnik-users] Mapnik Server Installation
> 
>> BOOST_LIBS=/usr/local/boost_1_43_0/stage/lib/ <-- doesn't look right.
>> 
>> Try changing it to : BOOST_LIBS=/usr/local/lib
>> Also, make sure you run : bjam --prefix=/usr/local install
>> 
>> HTH
>> Artem
>> 
>> 
>> On 13 July 2011 11:12, <[email protected]> wrote:
>>> 
>>> Hi!
>>> 
>>> I tried to install mapnik on a new server (centos).
>>> 
>>> So I built libboost 1_43 before and used to install mapnik by using scons 
>>> with the options BOOST_INCLUDES and BOOST_LIBS :
>>> 
>>> python26 scons/scons.py configure BOOST_VERSION=1_43 
>>> BOOST_INCLUDES=/usr/local/boost_1_43_0/ 
>>> BOOST_LIBS=/usr/local/boost_1_43_0/stage/lib/
>>> 
>>> 
>>> But it seems that the paths for BOOST were not found. The filenames and the 
>>> paths for BOOST are correct!
>>> Can you help me?
>>> 
>>> Output:
>>> 
>>> scons: Reading SConscript files ...
>>> 
>>> Welcome to Mapnik...
>>> 
>>> Configuring build environment...
>>> Configuring on Linux in *release mode*...
>>> Checking for freetype-config... yes
>>> Checking for xml2-config... yes
>>> Checking for pkg-config... yes
>>> Checking for cairomm-1.0... no
>>> 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 jpeg... yes
>>> Checking for C library proj... no
>>> Could not find required header or shared library for proj
>>> Checking for C++ library icuuc... yes
>>> Searching for boost libs and headers... (cached)
>>>   *using default boost lib dir: /usr/lib64
>>>   *using default boost include dir: /usr/include
>>>   *using boost lib naming: -mt-1_43
>>> Checking for Boost version >= 1.34... no
>>> Boost version 1.34 or greater is requred
>>> Checking for C++ library boost_system-mt-1_43... no
>>> Could not find optional header or shared library for boost system
>>> 
>>> 
>>> 
>>> 
>>> Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
>>> Toolbar eingebaut! http://produkte.web.de/go/toolbar
>>> _______________________________________________
>>> Mapnik-users mailing list
>>> [email protected]
>>> https://lists.berlios.de/mailman/listinfo/mapnik-users
>>> 
> 
> 
> ___________________________________________________________
> Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
> Toolbar eingebaut! http://produkte.web.de/go/toolbar
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

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

Reply via email to