comiquita
comiquita
Hi @artemp, I'm currently facing this issue "segmentation fault (core dumped)". On Ubuntu 22.04, I built boost (boost 1.80.0) and mapnik from source. When running (for example) demo.py from terminal,...
Hi @artemp , just to let you know that I'm still working on this. I downloaded the latest llvm-project and built and installed. I applied the change in https://github.com/dabrahams/mpl/commit/453e0cf Now...
hi @artemp, I managed to build boost with latest clang (installed llvm the same way you did), however, I had to revert that fix [https://github.com/dabrahams/mpl/commit/453e0cf ](meaning, I didn't use the...
@artemp, I had the latest clang installed from source, but thanks for letting me know. I could've just used the compiler that came with 22.04. Also, I built boost with...
Thanks for the replies btw. This is how I build boost: ``` sudo ./bootstrap.sh --with-libraries=all --with-toolset=clang define=_GLIBCXX_USE_CXX11_ABI=0 -with-icu=/usr/local --with-python=PYTHON3 link=shared variant=debug threading=multi runtime-link=shared sudo ./b2 install toolset=clang cxxflags="-std=c++17 -stdlib=libstdc++" define=_GLIBCXX_USE_CXX11_ABI=0...
@artemp, There was a lot of progress today, however, I ended up having the original issue (segfault issue). Here's the summary of what I did: I got boost with ICU...
@artemp, I tried [https://github.com/dabrahams/mpl/commit/453e0cf684097d112d54e66d2917cd4556dfeb3d](https://github.com/dabrahams/mpl/commit/453e0cf684097d112d54e66d2917cd4556dfeb3d) And this is what I'm getting when I build boost. ``` In file included from ./boost/mpl/int.hpp:20: ./boost/mpl/aux_/integral_wrapper.hpp:75:23: error: use of undeclared identifier 'n' template ^ ./boost/mpl/aux_/integral_wrapper.hpp:75:40:...
I tried the whole process with clang-13 (building boost, mapnik and python-mapnik with clang-13), and I still get the same issue: ``` python3 -c "import mapnik;print(mapnik.__file__)" /home/alexander/src/python-mapnik/mapnik/__init__.py [1] 426348 segmentation...
@artemp I realized I wasn't configuring mapnik with `CUSTOM_CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0` So I did: `./scons/scons.py CXX_STD="17" DEBUG=True PROJ=True CAIRO=True BOOST_INCLUDES=/usr/local/include/ BOOST_LIBS=/usr/local/lib XMLPARSER=libxml2 XML2_INCLUDES=/usr/local/include/libxml XML2_LIBS=/usr/local/lib SVG_RENDERER=True SVG2PNG=True INPUT_PLUGINS=all CUSTOM_CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 CUSTOM_DEFINES="-DHAVE_LIBXML2 -DHAVE_CAIRO -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 -DHAVE_JPEG...
hi @artemp , finally! I got it. Downgraded ICU to version 70 and libproj to version 22. Then recompiled boost with that version ICU, the built webp, sqlite3, install cairo,...