Mapnik install problem

317 views
Skip to first unread message

Mirshakhid Djamilov

unread,
Mar 22, 2016, 7:27:24 AM3/22/16
to mapnik
Hi all , I have problem with  installation Mapnik
Im download latest version Mapnik. http://mapnik.org/pages/downloads
I have CentOS server x64
I'm use instruction https://github.com/mapnik/mapnik/wiki/Mapnik-Installation
but i have problem when use ./configure file in mapnik



[root@mapnik]# ./configure
scons: Reading SConscript files ...

Welcome to Mapnik...

Configuring build environment...
Configuring on Linux in *release mode*...
Checking for freetype-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
.sconf_temp/conftest_7: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory
Checking for HarfBuzz version >= 0.9.34... Checking for HarfBuzz with freetype support
(cached) no
Searching for boost libs and headers... (cached)
Found boost libs: /usr/lib
Found boost headers: /usr/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
Checking for C++ library boost_system... yes
Checking for C++ library boost_filesystem... yes
Checking for C++ library boost_regex... yes
Checking for C++ library boost_program_options... yes
Checking for C++ library boost_thread... yes
ValueError: invalid literal for int() with base 10: '':
  File "/home/Downloads/mapnik/SConstruct", line 1450:
    boost_version = [int(x) for x in env.get('BOOST_LIB_VERSION_FROM_HEADER').split('_')]




Boost version 1.47 or greater is required

When I install latest version boost 1.60
and use export

Found boost libs: /usr/lib
Found boost headers: /usr/include

but ihave this error 
Boost version 1.47 or greater is required

Please help me with this error

Blake Thompson

unread,
Mar 22, 2016, 9:27:53 AM3/22/16
to map...@googlegroups.com
Mirshakhid, 

Did you run ldconfig after installing boost to those directories?

Thanks,

Blake

--
You received this message because you are subscribed to the Google Groups "mapnik" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapnik+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages