mapnik / mapnik-support

Use the issues queue here to ask questions and offer help on using Mapnik (maybe if this works well we can retire the mailing list at http://mapnik.org/contact/?)
6 stars 6 forks source link

Mapnik installation failed on CentOS #126

Open mapnikfailedonboost opened 5 years ago

mapnikfailedonboost commented 5 years ago

Trying to follow mapnik installation guide I've got this issue: include/mapnik/util/geometry_to_svg.hpp:42:53: required from here /usr/include/boost/spirit/home/support/attributes.hpp:963:9: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE'

boost version is 1.7.0

running ./configure i have this output Checking for freetype-config... yes
Checking for xml2-config... yes
Checking for dlfcn.h support ... yes Checking for C library z... yes Checking for C++ library icuuc... yes Checking for ICU version >= 4.2... found: icu 50.1 (cached) Searching for boost libs and headers... (cached) Using boost lib dir: /usr/lib Using boost include dir: /usr/include Checking for C++ header file boost/version.hpp... yes Checking for Boost version >= 1.47... yes Found boost lib version... 1_70 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 Checking if boost_regex was built with ICU unicode support... (cached) yes Checking for C library jpeg... yes Checking for C library proj... yes Checking for C library png... yes Checking for C library webp... yes Checking for C library tiff... yes Checking for pkg-config... yes Checking for requested plugins dependencies... Checking for C library sqlite3... no Checking if SQLite supports RTREE... (cached) no Checking if gdal is ogr enabled... yes Checking for gdal-config --libs... yes Checking for gdal-config --cflags... yes Checking for name of ogr library... gdal Checking for C++ library gdal... yes Checking for C++ library ociei... no Checking for C library rasterlite... no Checking for gdal-config --libs... yes Checking for gdal-config --cflags... yes Checking for name of gdal library... gdal Checking for C++ library gdal... yes Checking for pg_config... yes Checking for pg_config... yes Checking for cairo... yes Checking for cairo lib and include paths... yes Checking for cairo freetype font support ... yes Checking for C++ header file boost/python/detail/config.hpp... yes Checking for pycairo... yes