rundel/carto-generator — Issue #14: In Ubuntu 11.10. Compilation error
Author: wDevil
Created: 2012-01-31 16:36:03+00:00
State: open

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 11.10
Release:	11.10
Codename:	oneiric

$ g++ --version
g++ (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1

$ dpkg -l | grep boost
ii libboost-date-time1.46-dev 1.46.1-5ubuntu2 set of date-time libraries based on generic programming concepts
ii libboost-date-time1.46.1 1.46.1-5ubuntu2 set of date-time libraries based on generic programming concepts
ii libboost-filesystem1.46-dev 1.46.1-5ubuntu2 filesystem operations (portable paths, iteration over directories, etc) in C++
ii libboost-filesystem1.46.1 1.46.1-5ubuntu2 filesystem operations (portable paths, iteration over directories, etc) in C++
ii libboost-iostreams1.46-dev 1.46.1-5ubuntu2 Boost.Iostreams Library development files
ii libboost-iostreams1.46.1 1.46.1-5ubuntu2 Boost.Iostreams Library
ii libboost-program-options1.46-dev 1.46.1-5ubuntu2 program options library for C++
ii libboost-program-options1.46.1 1.46.1-5ubuntu2 program options library for C++
ii libboost-python1.46-dev 1.46.1-5ubuntu2 Boost.Python Library development files
ii libboost-python1.46.1 1.46.1-5ubuntu2 Boost.Python Library
ii libboost-regex1.46-dev 1.46.1-5ubuntu2 regular expression library for C++
ii libboost-regex1.46.1 1.46.1-5ubuntu2 regular expression library for C++
ii libboost-serialization1.46-dev 1.46.1-5ubuntu2 serialization library for C++
ii libboost-serialization1.46.1 1.46.1-5ubuntu2 serialization library for C++
ii libboost-system1.46-dev 1.46.1-5ubuntu2 Operating system (e.g. diagnostics support) library
ii libboost-system1.46.1 1.46.1-5ubuntu2 Operating system (e.g. diagnostics support) library
ii libboost-thread1.46-dev 1.46.1-5ubuntu2 portable C++ multi-threading
ii libboost-thread1.46.1 1.46.1-5ubuntu2 portable C++ multi-threading
ii libboost-wave1.46-dev 1.46.1-5ubuntu2 C99/C++ preprocessor library
ii libboost-wave1.46.1 1.46.1-5ubuntu2 C99/C++ preprocessor library
ii libboost1.46-dev 1.46.1-5ubuntu2 Boost C++ Libraries development files

$ ldd /usr/local/lib/libmapnik2.so
linux-vdso.so.1 => (0x00007fffd25a2000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007ff9b5b6f000)
libltdl.so.7 => /usr/lib/libltdl.so.7 (0x00007ff9b5965000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007ff9b573d000)
libtiff.so.4 => /usr/lib/x86_64-linux-gnu/libtiff.so.4 (0x00007ff9b54da000)
libjpeg.so.62 => /usr/lib/x86_64-linux-gnu/libjpeg.so.62 (0x00007ff9b52b5000)
libproj.so.0 => /usr/lib/libproj.so.0 (0x00007ff9b5072000)
libicuuc.so.44 => /usr/lib/libicuuc.so.44 (0x00007ff9b4d2b000)
libboost_filesystem.so.1.46.1 => /usr/lib/libboost_filesystem.so.1.46.1 (0x00007ff9b4b0d000)
libboost_regex.so.1.46.1 => /usr/lib/libboost_regex.so.1.46.1 (0x00007ff9b480a000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007ff9b44af000)
libboost_system.so.1.46.1 => /usr/lib/libboost_system.so.1.46.1 (0x00007ff9b42ab000)
libcairomm-1.0.so.1 => /usr/lib/libcairomm-1.0.so.1 (0x00007ff9b4087000)
libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007ff9b3dc9000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ff9b3ac2000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff9b383d000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff9b3627000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff9b3288000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007ff9b306f000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff9b2e6b000)
libicudata.so.44 => /usr/lib/libicudata.so.44 (0x00007ff9b1e2b000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff9b1c0d000)
libicui18n.so.44 => /usr/lib/libicui18n.so.44 (0x00007ff9b1856000)
libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007ff9b1650000)
libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007ff9b13dc000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007ff9b11a6000)
libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007ff9b0fa2000)
libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007ff9b0d99000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007ff9b0b7d000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007ff9b0971000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007ff9b0639000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff9b6466000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007ff9b040e000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007ff9b020b000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007ff9b0005000)

Compilation error:
/include/symbolizers/gen_building_sym_def.hpp:10:5: instantiated from «cssgen::building_sym_gen::building_sym_gen() [with Iter = std::back_insert_iterator >]»
gen_building_sym.cpp:4:25: instantiated from here
/usr/include/boost/spirit/home/karma/numeric/detail/real_utils.hpp:98:64: ошибка: invalid cast from type «boost::fusion::extension::adt_attribute_proxy» to type «double»
make: *** [gen_building_sym.o] Ошибка 1

Full text compile error: git://gist.github.com/1711458.git