Skip to content

Instantly share code, notes, and snippets.

@PeterSprague
Last active March 26, 2016 14:18
Show Gist options
  • Save PeterSprague/c5a8ad574aadceff8f4f to your computer and use it in GitHub Desktop.
Save PeterSprague/c5a8ad574aadceff8f4f to your computer and use it in GitHub Desktop.
root@96232780-f1f9-11e5-9e14-0019bbeaab30:/usr/local/src/mapbox-studio-classic # npm install --build-from-source
npm WARN package.json mapbox-studio@0.3.3 No license field.
npm WARN cannot run in wd mapbox-studio@0.3.3 node scripts/run.js scripts/vendor-node.sh (wd=/usr/local/src/mapbox-studio-classic)
-
> mapnik@3.4.16 install /usr/local/src/mapbox-studio-classic/node_modules/mapnik
> node-pre-gyp install --fallback-to-build
gmake: Entering directory '/usr/local/src/mapbox-studio-classic/node_modules/mapnik/build'
TOUCH binding_gyp_make_vector_tile_target_generate_protoc_files.intermediate
ACTION binding_gyp_make_vector_tile_target_generate_protoc_files binding_gyp_make_vector_tile_target_generate_protoc_files.intermediate
protoc: not found
make_vector_tile.target.mk:16: recipe for target 'binding_gyp_make_vector_tile_target_generate_protoc_files.intermediate' failed
gmake: *** [binding_gyp_make_vector_tile_target_generate_protoc_files.intermediate] Error 127
rm binding_gyp_make_vector_tile_target_generate_protoc_files.intermediate
gmake: Leaving directory '/usr/local/src/mapbox-studio-classic/node_modules/mapnik/build'
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/src/mapbox-studio-classic/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System FreeBSD 10.2-RELEASE-p15
gyp ERR! command "/usr/local/bin/node" "/usr/local/src/mapbox-studio-classic/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/usr/local/src/mapbox-studio-classic/node_modules/mapnik/lib/binding/node-v11-freebsd-x64/mapnik.node" "--module_name=mapnik" "--module_path=/usr/local/src/mapbox-studio-classic/node_modules/mapnik/lib/binding/node-v11-freebsd-x64"
gyp ERR! cwd /usr/local/src/mapbox-studio-classic/node_modules/mapnik
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/src/mapbox-studio-classic/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/src/mapbox-studio-classic/node_modules/mapnik/lib/binding/node-v11-freebsd-x64/mapnik.node --module_name=mapnik --module_path=/usr/local/src/mapbox-studio-classic/node_modules/mapnik/lib/binding/node-v11-freebsd-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/local/src/mapbox-studio-classic/node_modules/mapnik/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:98:17)
node-pre-gyp ERR! stack at maybeClose (child_process.js:766:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:833:5)
node-pre-gyp ERR! System FreeBSD 10.2-RELEASE-p15
node-pre-gyp ERR! command "node" "/usr/local/src/mapbox-studio-classic/node_modules/mapnik/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/local/src/mapbox-studio-classic/node_modules/mapnik
node-pre-gyp ERR! node -v v0.10.40
node-pre-gyp ERR! node-pre-gyp -v v0.6.19
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/src/mapbox-studio-classic/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/src/mapbox-studio-classic/node_modules/mapnik/lib/binding/node-v11-freebsd-x64/mapnik.node --module_name=mapnik --module_path=/usr/local/src/mapbox-studio-classic/node_modules/mapnik/lib/binding/node-v11-freebsd-x64' (1)
npm ERR! FreeBSD 10.2-RELEASE-p15
npm ERR! argv "node" "/usr/local/bin/npm" "install" "--build-from-source"
npm ERR! node v0.10.40
npm ERR! npm v2.14.7
npm ERR! code ELIFECYCLE
npm ERR! mapnik@3.4.16 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mapnik@3.4.16 install script 'node-pre-gyp install --fallback-to-build'.
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-pre-gyp install --fallback-to-build
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! Please include the following file with any support request:
npm ERR! /usr/local/src/mapbox-studio-classic/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment