Skip to content

Instantly share code, notes, and snippets.

@eraserewind
Created June 6, 2013 12:02
Show Gist options
  • Save eraserewind/5721017 to your computer and use it in GitHub Desktop.
Save eraserewind/5721017 to your computer and use it in GitHub Desktop.
npm http GET https://registry.npmjs.org/mapnik-vector-tile
npm http 304 https://registry.npmjs.org/mapnik-vector-tile
> mapnik-vector-tile@0.0.4 install /Users/j/dev/tm2/node_modules/mapnik/node_modules/mapnik-vector-tile
> protoc -Iproto/ --cpp_out=./src/ ./proto/vector_tile.proto
> mapnik@1.0.0 install /Users/j/dev/tm2/node_modules/mapnik
> node-gyp rebuild
CXX(target) Release/obj.target/_mapnik/src/node_mapnik.o
In file included from ../src/node_mapnik.cpp:12:
../src/mapnik_geometry.hpp:8:10: fatal error: 'mapnik/geometry.hpp' file not found
#include <mapnik/geometry.hpp>
^
1 error generated.
make: *** [Release/obj.target/_mapnik/src/node_mapnik.o] Error 1
gyp ERR! rebuild error Error: `make` failed with exit code: 2
gyp ERR! rebuild error at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:214:23)
gyp ERR! rebuild error at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! rebuild error at Process._handle.onexit (child_process.js:674:10)
gyp ERR! not ok
npm ERR! mapnik@1.0.0 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the mapnik@1.0.0 install script.
npm ERR! This is most likely a problem with the mapnik package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls mapnik
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 12.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/j/dev/tm2
npm ERR! node -v v0.8.0
npm ERR! npm -v 1.1.35
npm ERR! code ELIFECYCLE
npm ERR! message mapnik@1.0.0 install: `node-gyp rebuild`
npm ERR! message `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/j/dev/tm2/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment