rbranson/node-ffi — Issue #31: Cannot install from npm or build from source
Author: reekoheek
Created: 2011-12-19 11:40:37+00:00
State: open

I cannot install node-ffi from npm or build from source.
I use:
System Linux 2.6.38-13-generic-pae
node -v v0.6.2
npm -v 1.0.105

Can I use it with node.js 0.6.2?

The error message is follows:

npm ERR! node-ffi@0.4.2 preinstall: `node-waf configure build`
npm ERR! `sh "-c" "node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the node-ffi@0.4.2 preinstall script.
npm ERR! This is most likely a problem with the node-ffi package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls node-ffi
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.38-13-generic-pae
npm ERR! command "node" "/usr/bin/npm" "install" "node-ffi"
npm ERR! cwd /home/jafar/workspaces/node
npm ERR! node -v v0.6.2
npm ERR! npm -v 1.0.105
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/jafar/workspaces/node/npm-debug.log
npm not ok