Skip to content

Instantly share code, notes, and snippets.

@bassdread
Created November 21, 2013 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bassdread/7589445 to your computer and use it in GitHub Desktop.
Save bassdread/7589445 to your computer and use it in GitHub Desktop.
npm install i2c
$ npm install i2c
npm http GET https://registry.npmjs.org/i2c
npm http 304 https://registry.npmjs.org/i2c
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/underscore/1.2.4
npm http GET https://registry.npmjs.org/coffee-script/1.3.3
npm http GET https://registry.npmjs.org/repl/0.1.3
npm http 304 https://registry.npmjs.org/coffee-script/1.3.3
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/underscore/1.2.4
npm http 304 https://registry.npmjs.org/repl/0.1.3
> i2c@0.1.4 install /home/channam/node_modules/i2c
> node-gyp rebuild
make: Entering directory `/home/channam/node_modules/i2c/build'
CXX(target) Release/obj.target/i2c/src/i2c.o
../src/i2c.cc: In function ‘v8::Handle<v8::Value> ReadBlock(const v8::Arguments&)’:
../src/i2c.cc:128:16: error: expected primary-expression before ‘*’ token
../src/i2c.cc:128:17: error: ‘buffer’ was not declared in this scope
../src/i2c.cc: In function ‘void Init(v8::Handle<v8::Object>)’:
../src/i2c.cc:232:31: warning: ‘static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::InvocationCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)’ is deprecated (declared at /home/channam/.node-gyp/0.11.7/deps/v8/include/v8.h:3354) [-Wdeprecated-declarations]
../src/i2c.cc:235:37: warning: ‘static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::InvocationCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)’ is deprecated (declared at /home/channam/.node-gyp/0.11.7/deps/v8/include/v8.h:3354) [-Wdeprecated-declarations]
../src/i2c.cc:238:31: warning: ‘static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::InvocationCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)’ is deprecated (declared at /home/channam/.node-gyp/0.11.7/deps/v8/include/v8.h:3354) [-Wdeprecated-declarations]
../src/i2c.cc:241:32: warning: ‘static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::InvocationCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)’ is deprecated (declared at /home/channam/.node-gyp/0.11.7/deps/v8/include/v8.h:3354) [-Wdeprecated-declarations]
../src/i2c.cc:244:38: warning: ‘static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::InvocationCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)’ is deprecated (declared at /home/channam/.node-gyp/0.11.7/deps/v8/include/v8.h:3354) [-Wdeprecated-declarations]
../src/i2c.cc:247:39: warning: ‘static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::InvocationCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)’ is deprecated (declared at /home/channam/.node-gyp/0.11.7/deps/v8/include/v8.h:3354) [-Wdeprecated-declarations]
../src/i2c.cc:250:35: warning: ‘static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::InvocationCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)’ is deprecated (declared at /home/channam/.node-gyp/0.11.7/deps/v8/include/v8.h:3354) [-Wdeprecated-declarations]
../src/i2c.cc:253:36: warning: ‘static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::InvocationCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)’ is deprecated (declared at /home/channam/.node-gyp/0.11.7/deps/v8/include/v8.h:3354) [-Wdeprecated-declarations]
make: *** [Release/obj.target/i2c/src/i2c.o] Error 1
make: Leaving directory `/home/channam/node_modules/i2c/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/opt/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:106:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:827:12)
gyp ERR! System Linux 3.6.11+
gyp ERR! command "node" "/opt/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/channam/node_modules/i2c
gyp ERR! node -v v0.11.7
gyp ERR! node-gyp -v v0.10.9
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment