mapbox / mapnik-vector-tile

Mapnik implemention of Mapbox Vector Tile specification
BSD 3-Clause "New" or "Revised" License
553 stars 117 forks source link

Can't build 0.8.0 on Debian stretch #160

Closed parinporecha closed 7 years ago

parinporecha commented 9 years ago

I downloaded the v0.8.0 tarball and I'm facing the following error while trying to build on a debian stretch VM -

vagrant@vagrant:~/mapnik-vector-tile-0.8.0$ make
deps/gyp/gyp gyp/build.gyp --depth=. -DMAPNIK_PLUGINDIR=\"/usr/lib/mapnik/3.0/input\" -Goutput_dir=. --generator-output=./build -f make
make[1]: Entering directory '/home/vagrant/mapnik-vector-tile-0.8.0/build'
  ACTION gyp_build_gyp_make_vector_tile_target_run_protoc Release/obj/gen/vector_tile.pb.cc
  TOUCH Release/obj.target/gyp/make_vector_tile.stamp
  CXX(target) Release/obj.target/vector_tile/gen/vector_tile.pb.o
  AR(target) Release/obj.target/gyp/libvector_tile.a
  CXX(target) Release/obj.target/mapnik_vector_tile_impl/src/vector_tile_backend_pbf.o
  CXX(target) Release/obj.target/mapnik_vector_tile_impl/src/vector_tile_processor.o
In file included from ../src/vector_tile_processor.cpp:2:0:
../src/vector_tile_processor.ipp:38:23: fatal error: clipper.hpp: No such file or directory
compilation terminated.
gyp/mapnik_vector_tile_impl.target.mk:150: recipe for target 'Release/obj.target/mapnik_vector_tile_impl/src/vector_tile_processor.o' failed
make[1]: *** [Release/obj.target/mapnik_vector_tile_impl/src/vector_tile_processor.o] Error 1
make[1]: Leaving directory '/home/vagrant/mapnik-vector-tile-0.8.0/build'
Makefile:13: recipe for target 'libvtile' failed
make: *** [libvtile] Error 2

Mapnik installed version is 3.0.5

springmeyer commented 9 years ago

Can you try make clean and then make again? The clipper.hpp gets downloaded on the fly, so something may have happened with your network.

springmeyer commented 7 years ago

Docs have been updated at https://github.com/mapbox/mapnik-vector-tile#building-from-source. Please create new issues if still having trouble.