mapnik / python-mapnik

Python bindings for mapnik
GNU Lesser General Public License v2.1
160 stars 91 forks source link

fatal error: 'cairo.h' file not found #238

Closed mateJay closed 3 years ago

mateJay commented 3 years ago

doesn't bulid on macOS Catalina 10.15.6 /usr/local/include/mapnik/cairo/cairo_context.hpp:43:10: fatal error: 'cairo.h' file not found this is my command: %brew update %brew install mapnik %git clone https://github.com/mapnik/python-mapnik.git %cd python-mapnik %git checkout v3.0.x %brew install boost-python3 %export BOOST_PYTHON_LIB=boost_python39 %python3 setup.py install

kumari-jaya commented 3 years ago

Hi mate,

Can you let me know how you resolved this issue?

mateJay commented 3 years ago

Hi mate,

Can you let me know how you resolved this issue?

cp /usr/local/include/cairo/* /usr/local/include then it’s ok