-
Notifications
You must be signed in to change notification settings - Fork 90
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
cairo.h not found #251
Comments
Answering to myself. I suppose cairo is not where it is supposed to be. Adding |
Ok, that was for the newbie… apt-get install libproj-dev and others got the install supposed to be working: But now, |
Hello,
Strange issue, not even sure it is due to mapnik-python. I've installed mapnik 4.0.0 and everything seemed to be right. I go on trying to install mapnik-python, but get the issue:
In file included from src/mapnik_python.cpp:139: In file included from /usr/local/include/mapnik/cairo/cairo_renderer.hpp:33: /usr/local/include/mapnik/cairo/cairo_context.hpp:44:10: fatal error: 'cairo.h' file not found #include <cairo.h> ^~~~~~~~~ 1 error generated. error: command 'clang++-10' failed with exit status 1
Last command run was:
clang++-10 -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fstack-protector-strong -Wformat -Werror=format-security -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c src/mapnik_python.cpp -o build/temp.linux-x86_64-3.8/src/mapnik_python.o -I/usr/local/include -I/usr/local/include/mapnik/agg -I/usr/local/include/mapnik/deps -I/home/jb/temp/mapnik/mason_packages/.link/include -I/home/jb/temp/mapnik/mason_packages/.link/include/freetype2 -I/home/jb/temp/mapnik/mason_packages/.link/include/libpng16 -I/home/jb/temp/mapnik/mason_packages/linux-x86_64/libgdal/2.2.3/include -I/home/jb/temp/mapnik/mason_packages/.link/include/cairo -I/home/jb/temp/mapnik/mason_packages/.link/include/pixman-1 -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ -DMAPNIK_PROJ_VERSION=70201 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DSVG_RENDERER -std=c++14 -DU_USING_ICU_NAMESPACE=0 -D_GLIBCXX_USE_CXX11_ABI=0 -fvisibility-inlines-hidden -pthread -ftemplate-depth-300 -O3
libcairo2-dev
is listed as installed.The text was updated successfully, but these errors were encountered: