Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble executing ./configure with mapnik 3.0.19. Error reported #4417

Open
tthh7 opened this issue Nov 10, 2023 · 0 comments
Open

Trouble executing ./configure with mapnik 3.0.19. Error reported #4417

tthh7 opened this issue Nov 10, 2023 · 0 comments

Comments

@tthh7
Copy link

tthh7 commented Nov 10, 2023

I use the following command

"PYTHON=python3 ./configure PREFIX=/usr/local/third_party BOOST_INCLUDES=/usr/local/third_party/include BOOST_LIBS=/usr/local/third_party/lib CAIRO_INCLUDES=/usr/local/third_party/include CAIRO_LIBS=/usr/local/third_party/lib PNG_INCLUDES=/usr/local/third_party/include PNG_LIBS=/usr/local/third_party/lib PROJ_INCLUDES=/usr/local/third_party/include PROJ_LIBS=/usr/local/third_party/lib TIFF_INCLUDES=/usr/local/third_party/include TIFF_LIBS=/usr/local/third_party/lib WEBP_INCLUDES=/usr/local/third_party/include WEBP_LIBS=/usr/local/third_party/lib HARFBUZZ_INCLUDES=/usr/local/third_party/include HARFBUZZ_LIBS=/usr/local/third_party/lib JPEG_INCLUDES=/usr/local/third_party/include JPEG_LIBS=/usr/local/third_party/lib FREETYPE_INCLUDES=/usr/local/third_party/include/freetype2 FREETYPE_LIBS=/usr/local/third_party/lib RUNTIME_LINK=static CXX=g++ CC=gcc CUSTOM_CXXFLAGS='-g -D_GLIBCXX_USE_CXX11_ABI=0' PKG_CONFIG_PATH=/usr/local/third_party/lib/pkgconfig"

to configure, but in the end, I encounter the following error:

"All Required dependencies found!
Overwriting and re-saving file 'config.py'...
Will hold custom path variables from commandline and python config file(s)...
AttributeError: Can't pickle local object 'Classic.init.._scan':
File "/root/mapnik/SConstruct", line 1977

pickle.dump(pickle_dict, env_cache)"

How can I resolve this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant