--
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/groups/opt_out.
I have tried source compiling mapnik with the help i got from here but it didn't pass this stage
sudo add-apt-repository ppa:mapnik/boost sudo apt-get updatebecause of this
udo add-apt-repository ppa:mapnik/boost
--
You received this message because you are subscribed to a topic in the Google Groups "mapnik" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapnik/MjbQBuK3F2A/unsubscribe.
To unsubscribe from this group and all of its topics, send an email to mapnik+un...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "mapnik" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapnik/MjbQBuK3F2A/unsubscribe.
To unsubscribe from this group and all of its topics, send an email to mapnik+un...@googlegroups.com.
# On newer system or if you've activated the mapnik PPA, then use this:sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; sudo apt-get update -y sudo apt-get install -y gcc-4.7 g++-4.7; export CXX="g++-4.7" && export CC="gcc-4.7";when I export CXX="g++-4.7" && export CC="gcc-4.7";
git clone https://github.com/mapnik/mapnik cd mapnik
./configure CXX=${CXX} CC=${CC}
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 if compiler (g++-4.7) supports -std=c++11 flag... (cached) yes
Checking for C library z... yes
Checking for C++ library icuuc... yes
Checking for C++ library harfbuzz... no
Could not find required header or shared library for harfbuzz
Checking for ICU version >= 4.2... found: icu 4.8
(cached) Searching for boost libs and headers... (cached)
Using default boost lib dir: /usr/lib
Using default 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_53
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... no
Could not find optional header or shared library for webp
Checking for C library tiff... yes
Checking for pkg-config... yes
Checking for requested plugins dependencies...
Checking for C library sqlite3... yes
Checking if SQLite supports RTREE... (cached) yes
Checking if gdal is ogr enabled... yes
Checking for name of ogr library... gdal
Checking for C++ library gdal... no
Checking for pg_config... yes
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 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
Exiting... the following required dependencies were not found:
- harfbuzz (HarfBuzz text shaping library | configure with HB_LIBS & HB_INCLUDES)
See '/home/anthony/mapnik/config.log' for details on possible problems.
Also, these OPTIONAL dependencies were not found:
- webp (WEBP C library | configure with WEBP_LIBS & WEBP_INCLUDES)
- gdal (GDAL C++ library | configured using gdal-config program | try setting GDAL_CONFIG SCons option | more info: https://github.com/mapnik/mapnik/wiki/GDAL)
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: https://github.com/mapnik/mapnik/wiki/Mapnik-Installation
>>> from mapnik import DatasourceCache as c >>> 'gdal' in c.plugin_names() True
so gdal works but I don't understand the error message during the source
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; sudo apt-get update -y sudo apt-get install -y gcc-4.7 g++-4.7; export CXX="g++-4.7" && export CC="gcc-4.7"; git clone https://github.com/mapnik/mapnik cd mapnik ./configure CXX=${CXX} CC=${CC}
Practice$ python createExampleMap.py
*** Error in `python': double free or corruption (fasttop): 0x00000000014851f0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x80996)[0x7f80a55e7996]
/usr/local/lib/libmapnik.so.2.3(_ZN6mapnik10projectionD1Ev+0x25)[0x7f80a34aba75]
/usr/local/lib/libmapnik.so.2.3(_ZN6mapnik23feature_style_processorINS_12agg_rendererINS_8image_32EEEE5applyEd+0x404)[0x7f80a343b154]
/usr/lib/python2.7/dist-packages/mapnik/_mapnik.so(_Z6renderRKN6mapnik3MapERNS_8image_32Edjj+0xaa)[0x7f80a3d2861a]
/usr/lib/python2.7/dist-packages/mapnik/_mapnik.so(_Z15render_to_file2RKN6mapnik3MapERKSs+0x15a)[0x7f80a3d28b5a]
/usr/lib/python2.7/dist-packages/mapnik/_mapnik.so(_ZN5boost6python6detail12caller_arityILj2EE4implIPFvRKN6mapnik3MapERKSsENS0_21default_call_policiesENS_3mpl7vector3IvS8_SA_EEEclEP7_objectSJ_+0xd1)[0x7f80a3d370c1]
/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.53.0(_ZNK5boost6python7objects8function4callEP7_objectS4_+0xca)[0x7f80a2e1c62a]
/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.53.0(+0x27998)[0x7f80a2e1c998]
/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.53.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x43)[0x7f80a2e26e83]
/usr/lib/python2.7/dist-packages/mapnik/_mapnik.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionISt13runtime_errorPFvRKS8_EEENS3_5list3INS_3argILi1EEENSF_ILi2EEENS3_5valueISC_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESO_SS_+0x13)[0x7f80a3d2f713]
/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.53.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x28)[0x7f80a2e26e68]
/usr/lib/python2.7/dist-packages/mapnik/_mapnik.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionIN6mapnik11value_errorEPFvRKS9_EEENS3_5list3INS_3argILi1EEENSG_ILi2EEENS3_5valueISD_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESP_ST_+0x13)[0x7f80a3d2f6c3]
/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.53.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x28)[0x7f80a2e26e68]
/usr/lib/python2.7/dist-packages/mapnik/_mapnik.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionISt12out_of_rangePFvRKS8_EEENS3_5list3INS_3argILi1EEENSF_ILi2EEENS3_5valueISC_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESO_SS_+0x13)[0x7f80a3d2f673]
/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.53.0(_ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE+0x28)[0x7f80a2e26e68]
/usr/lib/python2.7/dist-packages/mapnik/_mapnik.so(_ZN5boost6detail8function21function_obj_invoker2INS_3_bi6bind_tIbNS_6python6detail19translate_exceptionISt9exceptionPFvRKS8_EEENS3_5list3INS_3argILi1EEENSF_ILi2EEENS3_5valueISC_EEEEEEbRKNS6_17exception_handlerERKNS_9function0IvEEE6invokeERNS1_15function_bufferESO_SS_+0x13)[0x7f80a3d2f623]
/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.53.0(_ZN5boost6python21handle_exception_implENS_9function0IvEE+0x2d)[0x7f80a2e26c4d]
/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.53.0(+0x262a3)[0x7f80a2e1b2a3]
python(PyEval_EvalFrameEx+0x9fb)[0x52e3cb]
python(PyEval_EvalCode+0xfc)[0x567cdc]
python[0x451adb]
python(PyRun_FileExFlags+0x92)[0x451e5b]
python(PyRun_SimpleFileExFlags+0x2ee)[0x452394]
python(Py_Main+0xb5e)[0x453ead]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f80a5588de5]
python[0x5786be]
======= Memory map: ========
00400000-006ba000 r-xp 00000000 08:01 4326357 /usr/bin/python2.7
008b9000-008ba000 r--p 002b9000 08:01 4326357 /usr/bin/python2.7
008ba000-0092f000 rw-p 002ba000 08:01 4326357 /usr/bin/python2.7
0092f000-00941000 rw-p 00000000 00:00 0
01370000-017cf000 rw-p 00000000 00:00 0 [heap]
7f808d8d6000-7f808daf9000 rw-p 00000000 00:00 0
7f808daf9000-7f808e127000 r--s 00000000 08:01 1846745 /home/anthony/Documents/Interplay/Practice/TM_WORLD_BORDERS-0.3.shp
7f808e127000-7f808e143000 r-xp 00000000 08:01 399838 /usr/local/lib/mapnik/input/geojson.input
7f808e143000-7f808e342000 ---p 0001c000 08:01 399838 /usr/local/lib/mapnik/input/geojson.input
7f808e342000-7f808e343000 r--p 0001b000 08:01 399838 /usr/local/lib/mapnik/input/geojson.input
7f808e343000-7f808e344000 rw-p 0001c000 08:01 399838 /usr/local/lib/mapnik/input/geojson.input
7f808e344000-7f808e376000 r-xp 00000000 08:01 399840 /usr/local/lib/mapnik/input/postgis.input
7f808e376000-7f808e575000 ---p 00032000 08:01 399840 /usr/local/lib/mapnik/input/postgis.input
7f808e575000-7f808e577000 r--p 00031000 08:01 399840 /usr/local/lib/mapnik/input/postgis.input
7f808e577000-7f808e578000 rw-p 00033000 08:01 399840 /usr/local/lib/mapnik/input/postgis.input
7f808e578000-7f808e5a3000 r-xp 00000000 08:01 399843 /usr/local/lib/mapnik/input/sqlite.input
7f808e5a3000-7f808e7a3000 ---p 0002b000 08:01 399843 /usr/local/lib/mapnik/input/sqlite.input
7f808e7a3000-7f808e7a4000 r--p 0002b000 08:01 399843 /usr/local/lib/mapnik/input/sqlite.input
7f808e7a4000-7f808e7a5000 rw-p 0002c000 08:01 399843 /usr/local/lib/mapnik/input/sqlite.input
7f808e7a5000-7f808e7c8000 r-xp 00000000 08:01 399839 /usr/local/lib/mapnik/input/ogr.input
7f808e7c8000-7f808e9c7000 ---p 00023000 08:01 399839 /usr/local/lib/mapnik/input/ogr.input
7f808e9c7000-7f808e9c9000 r--p 00022000 08:01 399839 /usr/local/lib/mapnik/input/ogr.input
7f808e9c9000-7f808e9ca000 rw-p 00024000 08:01 399839 /usr/local/lib/mapnik/input/ogr.input
7f808e9ca000-7f808e9d4000 r-xp 00000000 08:01 1183636 /lib/x86_64-linux-gnu/libcrypt-2.17.so
7f808e9d4000-7f808ebd3000 ---p 0000a000 08:01 1183636 /lib/x86_64-linux-gnu/libcrypt-2.17.so
7f808ebd3000-7f808ebd4000 r--p 00009000 08:01 1183636 /lib/x86_64-linux-gnu/libcrypt-2.17.so
7f808ebd4000-7f808ebd5000 rw-p 0000a000 08:01 1183636 /lib/x86_64-linux-gnu/libcrypt-2.17.so
7f808ebd5000-7f808ec03000 rw-p 00000000 00:00 0
7f808ec03000-7f808ec48000 r-xp 00000000 08:01 4334034 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f808ec48000-7f808ee47000 ---p 00045000 08:01 4334034 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f808ee47000-7f808ee49000 r--p 00044000 08:01 4334034 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f808ee49000-7f808ee4b000 rw-p 00046000 08:01 4334034 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f808ee4b000-7f808ee58000 r-xp 00000000 08:01 4334026 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0Aborted (core dumped)
/Documents/Interplay/Practice$
Exiting... the following required dependencies were not found:
- z (Z compression library | more info: http://www.zlib.net/)
- icuuc (ICU C++ library | configure with ICU_LIBS & ICU_INCLUDES or use ICU_LIB_NAME to specify custom lib name | more info: http://site.icu-project.org/)
- boost development headers (more info see: https://github.com/mapnik/mapnik/wiki/Mapnik-Installation & http://www.boost.org)
See '/home/anthony/mapnik-2.3.x/config.log' for details on possible problems.
--
You received this message because you are subscribed to a topic in the Google Groups "mapnik" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapnik/MjbQBuK3F2A/unsubscribe.
To unsubscribe from this group and all of its topics, send an email to mapnik+un...@googlegroups.com.
<config.log>