Skip to content

Instantly share code, notes, and snippets.

@gerhardberger
Created September 6, 2014 14:37
Show Gist options
  • Save gerhardberger/63123e6254af5106081f to your computer and use it in GitHub Desktop.
Save gerhardberger/63123e6254af5106081f to your computer and use it in GitHub Desktop.
s2 install on nodejitsu
> s2@0.3.9 install /root/tmp/tmp-68480uf9w6tc/build/package/node_modules/level-nearby/node_modules/s2
> node-pre-gyp install --fallback-to-build
node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/s2/v0.3.9/node-v11-sunos-x64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/s2/v0.3.9/node-v11-sunos-x64.tar.gz
node-pre-gyp http 403 status code downloading tarball (falling back to source compile with node-gyp)
make: Entering directory `/root/tmp/tmp-68480uf9w6tc/build/package/node_modules/level-nearby/node_modules/s2/build'
CXX(target) Release/obj.target/_s2/src/latlng.o
In file included from /opt/local/include/c++/unordered_map:35:0,
from ../geometry/s2.h:12,
from ../src/latlng.cc:6:
/opt/local/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
In file included from ../src/latlng.cc:6:0:
../geometry/s2.h:13:12: error: 'std::unordered_map' has not been declared
In file included from ../geometry/s2.h:16:0,
from ../src/latlng.cc:6:
../geometry/base/logging.h:77:25: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
In file included from ../src/latlng.cc:6:0:
../geometry/s2.h:34:8: error: 'hash' is not a template
../geometry/s2.h:34:22: error: explicit specialization of non-template 'std::hash'
make: *** [Release/obj.target/_s2/src/latlng.omake: Leaving directory `/root/tmp/tmp-68480uf9w6tc/build/package/node_modules/level-nearby/node_modules/s2/build'
] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/opt/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 SunOS 5.11
gyp ERR! command "/opt/local/bin/node" "/opt/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--name=s2" "--configuration=Release" "--module_name=_s2" "--version=0.3.9" "--minor=3" "--patch=9" "--runtime=node" "--node_abi=node-v11" "--platform=sunos" "--target_platform=sunos" "--arch=x64" "--target_arch=x64" "--module_main=index.js" "--host=https://mapbox-node-binary.s3.amazonaws.com/" "--module_path=/root/tmp/tmp-68480uf9w6tc/build/package/node_modules/level-nearby/node_modules/s2/build/Release" "--remote_path=./s2/v0.3.9/" "--package_name=node-v11-sunos-x64.tar.gz" "--staged_tarball=build/stage/s2/v0.3.9/node-v11-sunos-x64.tar.gz" "--hosted_path=https://mapbox-node-binary.s3.amazonaws.com/s2/v0.3.9/" "--hosted_tarball=https://mapbox-node-binary.s3.amazonaws.com/s2/v0.3.9/node-v11-sunos-x64.tar.gz"
gyp ERR! cwd /root/tmp/tmp-68480uf9w6tc/build/package/node_modules/level-nearby/node_modules/s2
gyp ERR! node -v v0.10.31
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/opt/local/bin/node rebuild --name=s2 --configuration=Release --module_name=_s2 --version=0.3.9 --minor=3 --patch=9 --runtime=node --node_abi=node-v11 --platform=sunos --target_platform=sunos --arch=x64 --target_arch=x64 --module_main=index.js --host=https://mapbox-node-binary.s3.amazonaws.com/ --module_path=/root/tmp/tmp-68480uf9w6tc/build/package/node_modules/level-nearby/node_modules/s2/build/Release --remote_path=./s2/v0.3.9/ --package_name=node-v11-sunos-x64.tar.gz --staged_tarball=build/stage/s2/v0.3.9/node-v11-sunos-x64.tar.gz --hosted_path=https://mapbox-node-binary.s3.amazonaws.com/s2/v0.3.9/ --hosted_tarball=https://mapbox-node-binary.s3.amazonaws.com/s2/v0.3.9/node-v11-sunos-x64.tar.gz' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/root/tmp/tmp-68480uf9w6tc/build/package/node_modules/level-nearby/node_modules/s2/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 SunOS 5.11
node-pre-gyp ERR! command "node" "/root/tmp/tmp-68480uf9w6tc/build/package/node_modules/level-nearby/node_modules/s2/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /root/tmp/tmp-68480uf9w6tc/build/package/node_modules/level-nearby/node_modules/s2
node-pre-gyp ERR! node -v v0.10.31
node-pre-gyp ERR! -v v0.5.19
node-pre-gyp ERR! not ok
Failed to execute '/opt/local/bin/node rebuild --name=s2 --configuration=Release --module_name=_s2 --version=0.3.9 --minor=3 --patch=9 --runtime=node --node_abi=node-v11 --platform=sunos --target_platform=sunos --arch=x64 --target_arch=x64 --module_main=index.js --host=https://mapbox-node-binary.s3.amazonaws.com/ --module_path=/root/tmp/tmp-68480uf9w6tc/build/package/node_modules/level-nearby/node_modules/s2/build/Release --remote_path=./s2/v0.3.9/ --package_name=node-v11-sunos-x64.tar.gz --staged_tarball=build/stage/s2/v0.3.9/node-v11-sunos-x64.tar.gz --hosted_path=https://mapbox-node-binary.s3.amazonaws.com/s2/v0.3.9/ --hosted_tarball=https://mapbox-node-binary.s3.amazonaws.com/s2/v0.3.9/node-v11-sunos-x64.tar.gz' (1)
npm ERR! s2@0.3.9 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the s2@0.3.9 install script.
npm ERR! This is most likely a problem with the s2 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 s2
npm ERR! There is likely additional logging output above.
npm ERR! System SunOS 5.11
npm ERR! command "node" "/opt/local/bin/npm" "install"
npm ERR! cwd /root/tmp/tmp-68480uf9w6tc/build/package
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.10
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/tmp/tmp-68480uf9w6tc/build/package/npm-debug.log
npm ERR! not ok code 0
error: Error running command deploy
error: npm exited with code 1
error: Nodejitsu Error: Build Failure, please check the build failure above
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
help: email: <support@nodejitsu.com>
help:
help: Copy and paste this output to a gist (http://gist.github.com/)
info: Nodejitsu not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment