Skip to content

Instantly share code, notes, and snippets.

@tmcw

tmcw/boost.txt Secret

Created December 17, 2014 15:23
Show Gist options
  • Save tmcw/bf6a2bc9a1097dceeaf8 to your computer and use it in GitHub Desktop.
Save tmcw/bf6a2bc9a1097dceeaf8 to your computer and use it in GitHub Desktop.
2 warnings generated.
CXX(target) Release/obj.target/fontnik/vendor/agg/src/agg_curves.o
CXX(target) Release/obj.target/fontnik/vendor/fontnik/src/glyphs.o
In file included from ../vendor/fontnik/src/glyphs.cpp:26:
In file included from ../vendor/mapnik/include/mapnik/text/face_set.hpp:31:
../vendor/fontnik/include/fontnik/face.hpp:30:10: fatal error: 'boost/geometry.hpp' file not found
#include <boost/geometry.hpp>
^
1 error generated.
make: *** [Release/obj.target/fontnik/vendor/fontnik/src/glyphs.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--name=fontnik" "--configuration=Release" "--module_name=fontnik" "--version=0.2.2" "--minor=2" "--patch=2" "--runtime=node" "--node_abi=node-v11" "--platform=darwin" "--target_platform=darwin" "--arch=x64" "--target_arch=x64" "--module_main=index.js" "--host=https://mapbox-node-binary.s3.amazonaws.com/" "--module_path=/Users/tmcw/src/node-fontnik/lib" "--module=/Users/tmcw/src/node-fontnik/lib/fontnik.node" "--remote_path=./fontnik/v0.2.2/" "--package_name=node-v11-darwin-x64.tar.gz" "--staged_tarball=build/stage/fontnik/v0.2.2/node-v11-darwin-x64.tar.gz" "--hosted_path=https://mapbox-node-binary.s3.amazonaws.com/fontnik/v0.2.2/" "--hosted_tarball=https://mapbox-node-binary.s3.amazonaws.com/fontnik/v0.2.2/node-v11-darwin-x64.tar.gz"
gyp ERR! cwd /Users/tmcw/src/node-fontnik
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp rebuild --name=fontnik --configuration=Release --module_name=fontnik --version=0.2.2 --minor=2 --patch=2 --runtime=node --node_abi=node-v11 --platform=darwin --target_platform=darwin --arch=x64 --target_arch=x64 --module_main=index.js --host=https://mapbox-node-binary.s3.amazonaws.com/ --module_path=/Users/tmcw/src/node-fontnik/lib --module=/Users/tmcw/src/node-fontnik/lib/fontnik.node --remote_path=./fontnik/v0.2.2/ --package_name=node-v11-darwin-x64.tar.gz --staged_tarball=build/stage/fontnik/v0.2.2/node-v11-darwin-x64.tar.gz --hosted_path=https://mapbox-node-binary.s3.amazonaws.com/fontnik/v0.2.2/ --hosted_tarball=https://mapbox-node-binary.s3.amazonaws.com/fontnik/v0.2.2/node-v11-darwin-x64.tar.gz' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/tmcw/src/node-fontnik/node_modules/node-pre-gyp/lib/util/compile.js:76:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:98:17)
node-pre-gyp ERR! stack at maybeClose (child_process.js:756:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:823:5)
node-pre-gyp ERR! System Darwin 14.0.0
node-pre-gyp ERR! command "node" "/Users/tmcw/src/node-fontnik/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/tmcw/src/node-fontnik
node-pre-gyp ERR! node -v v0.10.33
node-pre-gyp ERR! node-pre-gyp -v v0.5.31
node-pre-gyp ERR! not ok
Failed to execute 'node-gyp rebuild --name=fontnik --configuration=Release --module_name=fontnik --version=0.2.2 --minor=2 --patch=2 --runtime=node --node_abi=node-v11 --platform=darwin --target_platform=darwin --arch=x64 --target_arch=x64 --module_main=index.js --host=https://mapbox-node-binary.s3.amazonaws.com/ --module_path=/Users/tmcw/src/node-fontnik/lib --module=/Users/tmcw/src/node-fontnik/lib/fontnik.node --remote_path=./fontnik/v0.2.2/ --package_name=node-v11-darwin-x64.tar.gz --staged_tarball=build/stage/fontnik/v0.2.2/node-v11-darwin-x64.tar.gz --hosted_path=https://mapbox-node-binary.s3.amazonaws.com/fontnik/v0.2.2/ --hosted_tarball=https://mapbox-node-binary.s3.amazonaws.com/fontnik/v0.2.2/node-v11-darwin-x64.tar.gz' (1)
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "--build-from-source" "."
npm ERR! node v0.10.33
npm ERR! npm v2.1.9
npm ERR! code ELIFECYCLE
npm ERR! fontnik@0.2.2 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fontnik@0.2.2 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the fontnik 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 fontnik
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/tmcw/src/node-fontnik/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment