mapbox / mapbox-gl-test-suite

Rendering tests for Mapbox GL
6 stars 12 forks source link

Support node 6 #106

Closed brunoabinader closed 8 years ago

brunoabinader commented 8 years ago

Using latest node Homebrew formula (currently @ 6.2.1), I am unable to satisfy mapnik dependencies:

node-pre-gyp ERR! Tried to download: https://mapbox-node-binary.s3.amazonaws.com/mapnik/v3.5.13/Release/node-v48-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for mapnik@3.5.13 and node@6.2.1 (node-v48 ABI) (falling back to source compile with node-gyp) 
  ACTION binding_gyp_make_vector_tile_target_generate_setting Release/obj/gen/mapnik_settings.js
  COPY /Users/bruno/work/mapbox-gl-test-suite/node_modules/mapnik/lib/binding/node-v48-darwin-x64/mapnik_settings.js
  TOUCH Release/obj.target/make_vector_tile.stamp
  CXX(target) Release/obj.target/mapnik/src/mapnik_logger.o
  CXX(target) Release/obj.target/mapnik/src/node_mapnik.o
../src/node_mapnik.cpp:2:10: fatal error: 'vector_tile_config.hpp' file not found
#include "vector_tile_config.hpp"

I had to switch back to node 4 using node4-lts Homebrew formula. It'd be great if we could solve that for enabling node 6 usage.

jfirebaugh commented 8 years ago

This is an upstream issue in mapnik -- it would need to provide binaries for node 6.