mscdex / node-ncurses

An ncurses binding for node.js
MIT License
386 stars 25 forks source link

Error installing in Node v0.11.14 (Fedora 20, 64 bits) #54

Closed q2dg closed 9 years ago

q2dg commented 9 years ago

I have "ncurses" and "ncurses-devel" installed. There are a lot of compiling error...I can't copy-paste all. The last ones are:

.... In file included from /home/q2dg/.node-gyp/0.11.14/src/node.h:61:0, from ../src/binding.cc:16: /home/q2dg/.node-gyp/0.11.14/deps/v8/include/v8.h: In function ‘void init(v8::Handlev8::Object)’: /home/q2dg/.node-gyp/0.11.14/deps/v8/include/v8.h:816:41: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:2318:17: error: within this context HandleScope scope; ^ make: *\ [Release/obj.target/binding/src/binding.o] Error 1 make: Leaving directory /home/q2dg/node_modules/ncurses/build' gyp ERR! build error gyp ERR! stack Error:make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/home/q2dg/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.emit (events.js:110:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1059:12) gyp ERR! System Linux 3.16.6-200.fc20.x86_64 gyp ERR! command "node" "/home/q2dg/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/q2dg/node_modules/ncurses gyp ERR! node -v v0.11.14 gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok

npm ERR! Linux 3.16.6-200.fc20.x86_64 npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "ncurses" npm ERR! node v0.11.14 npm ERR! npm v2.0.0 npm ERR! code ELIFECYCLE npm ERR! ncurses@0.4.1 install: node-gyp rebuild npm ERR! Exit status 1

mscdex commented 9 years ago

ncurses isn't compatible with node v0.11+.

q2dg commented 9 years ago

Ok, thanks. There aren't any plans to make it compatible, aren't they?

mscdex commented 9 years ago

I don't have the time currently, if someone wants to send a PR that uses nan for compatibility, I'd be open to that.