Closed OsamaShabrez closed 5 years ago
It seems as you would build python-mapnik 3.0.x against master branch of Mapnik.
There is mapbox::geometry::polygon
mentioned in the error message, but Mapnik v3.0.x doesn't use mapbox geometries. Polygon in v3.0.x is defined here.
Yes, I used master to build Mapnik but it still is v3.0.20 (=< 3.0.x) and shouldn't it be compatible?
Current master branch of Mapnik should be 4.0.0. Anyway, master branch is not compatible with v3.0.x branch. Both components need to be either from master or from v3.0.x.
I was able to successfully build python-mapnik using master branch as I had used master to build mapnik. It was only after python-mapnik develop that I could see the correct version of mapnik which is now 4.0.0.
Following this toturial https://ircama.github.io/osm-carto-tutorials/tile-server-ubuntu/, I have successfully built and installed mapnik from sources but my python-mapnik v3.0.x fails with:
full log can be found at https://gist.github.com/OsamaShabrez/4efb4760c5901c880eec1fb4073cc970
I am using Linux lubuntu 4.18.0-10-generic #11-Ubuntu SMP Thu Oct 11 15:13:55 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I receive following output for
while
python -c "import mapnik;print mapnik.__file__"
fails with:which makes sense because I do not have paython-mapnik installed. I am using package installs for boost and HarfBuzz.