Closed losttime closed 9 years ago
I believe I have the dependencies for node-gyp, according to https://www.npmjs.com/package/node-gyp
$ python --version
Python 2.7.3
$ gcc --version
gcc (Debian 4.6.3-14+rpi1) 4.6.3
...
$ make --version
GNU Make 4.0
Built for arm-unknown-linux-gnueabihf
...
What version of node? This module likely only works with node 0.10.x at the moment and will need an update for newer versions of v8/libuv — sorry this is not specified via package.json engines.
I intend to update this (or happy for PR migrating it to use https://github.com/rvagg/nan instead of direct bindings) but haven't messed with the various options for node beyond v0.10 myself yet.
I see. I'm running 0.12.0.
I can confirm that it does install just fine with node 0.10.28. Thanks :)
Glad downgrading was an option for you! Hoping to update soon since 0.12 has been out for a while, just haven't quite dared update my main development machine to it and so it's been a bit off my radar.
I think I've fixed node 0.12.x compatibility with https://github.com/natevw/pi-spi/pull/15. (Will release once I can test on hardware…)
You can test via npm install git://github.com/natevw/pi-spi.git#nan_compat
though if you're interested.
pi-spi@1.0.0 should be compatible with either version of node (and probably iojs too…)
Thanks for moving on this so quickly! :+1:
I get an error running
npm install pi-spi
on my Raspberry Pi (model B) running Raspbian.Here's the error output
Am I possibly missing some system dependencies?