Skip to content

Instantly share code, notes, and snippets.

Created December 16, 2012 03:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/4302927 to your computer and use it in GitHub Desktop.
npm install issue levelup -- node 8.16
libtool: unrecognized option `-static'
libtool: Try `libtool --help' for more information.
clang: error: no such file or directory: 'Release/leveldb.a'
clang: error: no such file or directory: 'Release/snappy.a'
make[1]: *** [Release/leveldb.node] 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:232:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Darwin 12.2.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build"
gyp ERR! cwd /Users/paolo/workroot/git/wayla/Wayla-Redux/node_modules/leveldb
gyp ERR! node -v v0.8.16
gyp ERR! node-gyp -v v0.7.3
gyp ERR! not ok
make: *** [build] Error 1
npm ERR! leveldb@0.7.1 preinstall: `make build`
npm ERR! `sh "-c" "make build"` failed with 2
npm ERR!
npm ERR! Failed at the leveldb@0.7.1 preinstall script.
npm ERR! This is most likely a problem with the leveldb package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! make build
npm ERR! You can get their info via:
npm ERR! npm owner ls leveldb
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 12.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "leveldb@latest"
npm ERR! cwd /Users/paolo/workroot/git/wayla/Wayla-Redux/seed
npm ERR! node -v v0.8.16
npm ERR! npm -v 1.1.69
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/paolo/workroot/git/wayla/Wayla-Redux/seed/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