redis / hiredis-node

Node wrapper for hiredis
BSD 3-Clause "New" or "Revised" License
305 stars 84 forks source link

Install fails on Ubuntu 14.04 #63

Closed akatechis closed 10 years ago

akatechis commented 10 years ago

npm install hiredis fails on Ubuntu 14.04 LTS npm-debug.log is available at https://gist.github.com/akatechis/38c00979db9f26c50cfa

pietern commented 10 years ago

Seems to go wrong along these lines:

219 info install hiredis@0.1.17
220 verbose unsafe-perm in lifecycle true
221 info hiredis@0.1.17 Failed to exec install script

Do you have non-debug output?

akatechis commented 10 years ago

Here's what the console shows: (https://gist.github.com/akatechis/fabc5c20ab16e21f9213)

../node_modules/nan/nan.h:322:44: note: candidate is: In file included from ../src/hiredis.cc:1:0: /home/alexandros/.node-gyp/0.11.12/deps/v8/include/v8.h:2307:24: note: static v8::Localv8::Object v8::Object::New() static Local New(); ^ /home/alexandros/.node-gyp/0.11.12/deps/v8/include/v8.h:2307:24: note: candidate expects 0 arguments, 1 provided make: *\ [Release/obj.target/hiredis/src/hiredis.o] Error 1 make: Leaving directory /home/alexandros/scratch/redis/node_modules/hiredis/build' gyp ERR! build error gyp ERR! stack Error:makefailed 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.EventEmitter.emit (events.js:107:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1045:12) gyp ERR! System Linux 3.13.0-32-generic gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/alexandros/scratch/redis/node_modules/hiredis gyp ERR! node -v v0.11.12 gyp ERR! node-gyp -v v0.12.2 gyp ERR! not ok npm ERR! hiredis@0.1.17 install:node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the hiredis@0.1.17 install script. npm ERR! This is most likely a problem with the hiredis package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls hiredis npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.13.0-32-generic npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "hiredis" npm ERR! cwd /home/alexandros/scratch/redis npm ERR! node -v v0.11.12 npm ERR! npm -v 1.4.3 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/alexandros/scratch/redis/npm-debug.log npm ERR! not ok code 0

pietern commented 10 years ago

Please see: https://github.com/rvagg/nan#may-2014-major-changes-for-v8-325--node-01113

Specifically: "Node 0.11.11 and 0.11.12 were both broken releases for native add-ons".