Hi! I tried to install libboost on my system but I did not find any source or repository for the correct version of boost. The system ist Centos 5!
I downloaded the libboost source files and followed the installation notes on the website http://krisarnold.com/2010/07/14/installing-mapnik-on-centos-5/: wget http://downloads.sourceforge.net/project/boost/boost/1.43.0/boost_1_43_0.tar.gz tar zxvf boost_1_43_0.tar.gz cd boost_1_43_0 ./bootstrap.sh "changing the python version to 2.6 in vi project-config.jam" ./bjam I remember that the last rows of the output of "make install" were advices like "use /usr/local/boost_1_43_0 as include directory and use /usr/local/boost_1_43_0/stage/lib as library directory!" In the next step I downloaded mapnik. All attempts like "python26 scons/scons.py configure" or "python26 scons/scons.py configure BOOST_LIBS ..." and so on failed. I tried a lot of options but the results were always the same (see below). The directories of boost_1_43_0 are correct. ___________________________________________________________________________________ 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 *no lib naming extension found Checking for Boost version >= 1.34... no Boost version 1.34 or greater is requred Checking for C++ library boost_system... no Could not find optional header or shared library for boost system Checking for C++ library boost_filesystem... no Could not find required header or shared library for boost filesystem Checking for C++ library boost_regex... no Could not find required header or shared library for boost regex Checking for C++ library boost_iostreams... no Could not find required header or shared library for boost iostreams Checking for C++ library boost_program_options... no Could not find optional header or shared library for boost program_options Checking for C++ library boost_thread... no Could not find required header or shared library for boost thread Checking for requested plugins dependencies... Checking for pg_config... error: no result no 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: - proj (Proj.4 C Projections library | configure with PROJ_LIBS & PROJ_INCLUDES | more info: http://trac.osgeo.org/proj/) - boost version >=1.34 (more info see: http://trac.mapnik.org/wiki/MapnikInstallation & http://www.boost.org) - boost filesystem (more info see: http://trac.mapnik.org/wiki/MapnikInstallation & http://www.boost.org) - boost regex (more info see: http://trac.mapnik.org/wiki/MapnikInstallation & http://www.boost.org) - boost iostreams (more info see: http://trac.mapnik.org/wiki/MapnikInstallation & http://www.boost.org) - boost thread (more info see: http://trac.mapnik.org/wiki/MapnikInstallation & http://www.boost.org) - boost python (more info see: http://trac.mapnik.org/wiki/MapnikInstallation & http://www.boost.org) See the 'config.log' for details on possible problems. Also, these OPTIONAL dependencies were not found: - cairo (Cairo C library | configured using pkg-config | try setting PKG_CONFIG_PATH SCons option) - cairomm (Cairomm C++ bindings to Cairo library | configured using pkg-config | try setting PKG_CONFIG_PATH SCons option) - boost system (more info see: http://trac.mapnik.org/wiki/MapnikInstallation & http://www.boost.org) - boost program_options (more info see: http://trac.mapnik.org/wiki/MapnikInstallation & http://www.boost.org) - pg_config (pg_config program | try setting PG_CONFIG SCons option) - 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: http://trac.mapnik.org/wiki/MapnikInstallation -----Ursprüngliche Nachricht----- Von: "Dane Springmeyer" <[email protected]> Gesendet: 13.07.2011 16:23:18 An: [email protected] Betreff: Re: [Mapnik-users] Mapnik Server Installation >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 > ___________________________________________________________ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar
config.log
Description: Binary data
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

