-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix build issues with node 0.10 #49
Comments
I believe I'm experiencing the same thing: 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:256:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:754:12)
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/somniac/Projects/level-convictions/app/node_modules/leveldb
gyp ERR! node -v v0.10.0
gyp ERR! node-gyp -v v0.8.5
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
|
bump? I'm seeing:
|
Sorry, about the delay in responding. Can you try using 0.8? 0.10 was never tested and I am getting a separate issue on Ubuntu when building that I will try and track down. |
using node version 0.10.4, when I nick at www ~/Projects/node-leveldb on master*$ npm install .
> [email protected] preinstall /home/nick/Projects/node-leveldb
> make build
if [ ! -d ./build ]; then node-gyp configure; fi
gyp http GET http://nodejs.org/dist/v0.10.4/node-v0.10.4.tar.gz
gyp http 200 http://nodejs.org/dist/v0.10.4/node-v0.10.4.tar.gz
node-gyp build
.
.
.
.
make[1]: *** [Release/obj.target/leveldb/src/cpp/handle.o] Error 1
make[1]: Leaving directory `/home/nick/Projects/node-leveldb/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/nick/nvm/v0.10.4/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:784:12)
gyp ERR! System Linux 3.8.2-030802-generic
gyp ERR! command "node" "/home/nick/nvm/v0.10.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build"
gyp ERR! cwd /home/nick/Projects/node-leveldb
gyp ERR! node -v v0.10.4
gyp ERR! node-gyp -v v0.9.5
gyp ERR! not ok
make: *** [build] Error 1
npm ERR! [email protected] preinstall: `make build`
npm ERR! `sh "-c" "make build"` failed with 2
npm ERR!
npm ERR! Failed at the [email protected] 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 Linux 3.8.2-030802-generic
npm ERR! command "/home/nick/nvm/v0.10.4/bin/node" "/home/nick/nvm/v0.10.4/bin/npm" "install" "."
npm ERR! cwd /home/nick/Projects/node-leveldb
npm ERR! node -v v0.10.4
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/nick/Projects/node-leveldb/npm-debug.log
npm ERR! not ok code 0
|
This error is also present when using node 0.10.5 (via nvm) on OSX 10.8.3 |
Please someone take over this project... there is leveldown but it doesn't support the iterator like this one does with seek, and prev |
I think we're just looking at an abandoned branch here. Levelup is working fine for me. |
I don't like how the iterator is handled in Levelup / Leveldown |
Same problem happening here, full log: https://gist.github.com/julienbrunuk/f420460f37525c1c2afe |
node -v v0.10.1
node-gyp -v v0.8.5
System Darwin 12.3.0
../src/cpp/handle.cc:77:12: error: no matching function for call to 'AsyncQueue'
return AsyncQueue(op, AsyncWorker, AsyncCallback);
^~~~~~~~~~
2 warnings generated.
LIBTOOL-STATIC Release/snappy.a
CXX(target) Release/obj.target/leveldb/src/cpp/batch.o
CXX(target) Release/obj.target/leveldb/src/cpp/binding.o
CXX(target) Release/obj.target/leveldb/src/cpp/comparator.o
CXX(target) Release/obj.target/leveldb/src/cpp/handle.o
../src/cpp/handle.cc:77:12: error: no matching function for call to 'AsyncQueue'
return AsyncQueue(op, AsyncWorker, AsyncCallback);
^~~~~~~~~~
../src/cpp/handle.cc:234:12: note: in instantiation of function template specialization
'node_leveldb::JHandle::OpAsync::AsyncEnqueue<node_leveldb::JHandle::ReadAsync>' requested here
return AsyncEnqueue(op);
^
...
The text was updated successfully, but these errors were encountered: