I've tried to compile mapnik from src on RedHat 6.2. I've updated a boost library to boost148 and gcc to gcc-4.7.2. When I start python scons/scons.py install I'm still getting mistakes like:
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 dlfcn.h support ... yes Checking if compiler (c++) supports -std=c++11 flag... (cached) yes Checking for C library z... yes Checking for C++ library icuuc... yes Checking for ICU version >= 4.2... found: icu 4.2 (cached) Checking for C++ library harfbuzz... yes Checking for HarfBuzz version >= 0.9.34... (cached) Searching for boost libs and headers... (cached) Found boost libs: /usr/local/lib Found boost headers: /usr/local/include Checking for C++ header file boost/version.hpp... yes .sconf_temp/conftest_10: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory .sconf_temp/conftest_11: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory Checking for Boost version >= 1.47... no Found boost lib version... Boost version 1.47 or greater is required Also I've tried with boost_1_55_0 like
python scons/scons.py BOOST_INCLUDES=/u01/boost_1_55_0/libs/ BOOST_TOOLKIT=gcc47 install but getting the same What am I doing wrong and how to fix it? Any ideas will be appreciated.
أكثر...
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 dlfcn.h support ... yes Checking if compiler (c++) supports -std=c++11 flag... (cached) yes Checking for C library z... yes Checking for C++ library icuuc... yes Checking for ICU version >= 4.2... found: icu 4.2 (cached) Checking for C++ library harfbuzz... yes Checking for HarfBuzz version >= 0.9.34... (cached) Searching for boost libs and headers... (cached) Found boost libs: /usr/local/lib Found boost headers: /usr/local/include Checking for C++ header file boost/version.hpp... yes .sconf_temp/conftest_10: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory .sconf_temp/conftest_11: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory Checking for Boost version >= 1.47... no Found boost lib version... Boost version 1.47 or greater is required Also I've tried with boost_1_55_0 like
python scons/scons.py BOOST_INCLUDES=/u01/boost_1_55_0/libs/ BOOST_TOOLKIT=gcc47 install but getting the same What am I doing wrong and how to fix it? Any ideas will be appreciated.
أكثر...