{"action":"created","issue":{"url":"https://api.github.com/repos/kelly/node-i2c/issues/66","labels_url":"https://api.github.com/repos/kelly/node-i2c/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/kelly/node-i2c/issues/66/comments","events_url":"https://api.github.com/repos/kelly/node-i2c/issues/66/events","html_url":"https://github.com/kelly/node-i2c/issues/66","id":102468897,"number":66,"title":"Install fails on BBB w/Debian","user":{"login":"stormbytes","id":350153,"avatar_url":"https://avatars.githubusercontent.com/u/350153?v=3","gravatar_id":"","url":"https://api.github.com/users/stormbytes","html_url":"https://github.com/stormbytes","followers_url":"https://api.github.com/users/stormbytes/followers","following_url":"https://api.github.com/users/stormbytes/following{/other_user}","gists_url":"https://api.github.com/users/stormbytes/gists{/gist_id}","starred_url":"https://api.github.com/users/stormbytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormbytes/subscriptions","organizations_url":"https://api.github.com/users/stormbytes/orgs","repos_url":"https://api.github.com/users/stormbytes/repos","events_url":"https://api.github.com/users/stormbytes/events{/privacy}","received_events_url":"https://api.github.com/users/stormbytes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-21T21:51:05Z","updated_at":"2015-08-21T22:56:12Z","closed_at":"2015-08-21T22:06:54Z","body":"→ npm install i2c\r\n-\r\n> i2c@0.2.1 install /home/storm/node_modules/i2c\r\n> node-gyp rebuild\r\n\r\nmake: Entering directory `/home/storm/node_modules/i2c/build'\r\n  CXX(target) Release/obj.target/i2c/src/i2c.o\r\n../src/i2c.cc: In function ‘void setAddress(int8_t)’:\r\n../src/i2c.cc:22:14: error: ‘class v8::Isolate’ has no member named ‘ThrowException’\r\n../src/i2c.cc:23:28: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:29:23: error: ‘FunctionCallbackInfo’ does not name a type\r\n../src/i2c.cc:29:23: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n../src/i2c.cc:29:43: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n../src/i2c.cc: In function ‘void SetAddress(int)’:\r\n../src/i2c.cc:31:28: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’\r\n../src/i2c.cc:31:28: note: candidates are:\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided\r\n../src/i2c.cc:33:10: error: ‘args’ was not declared in this scope\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:37:17: error: ‘FunctionCallbackInfo’ does not name a type\r\n../src/i2c.cc:37:17: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n../src/i2c.cc:37:37: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n../src/i2c.cc: In function ‘void Scan(int)’:\r\n../src/i2c.cc:39:28: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’\r\n../src/i2c.cc:39:28: note: candidates are:\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided\r\n../src/i2c.cc:42:52: error: ‘args’ was not declared in this scope\r\n../src/i2c.cc:43:49: error: no matching function for call to ‘v8::Array::New(v8::Isolate*&, int)’\r\n../src/i2c.cc:43:49: note: candidate is:\r\n/usr/include/nodejs/deps/v8/include/v8.h:1758:32: note: static v8::Local<v8::Array> v8::Array::New(int)\r\n/usr/include/nodejs/deps/v8/include/v8.h:1758:32: note:   candidate expects 1 argument, 2 provided\r\n../src/i2c.cc:44:62: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::Primitive>)’\r\n../src/i2c.cc:44:62: note: candidate is:\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value]\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note:   candidate expects 1 argument, 2 provided\r\n../src/i2c.cc:56:46: error: invalid conversion from ‘v8::Isolate*’ to ‘int32_t {aka int}’ [-fpermissive]\r\n/usr/include/nodejs/deps/v8/include/v8.h:1392:34: error:   initializing argument 1 of ‘static v8::Local<v8::Integer> v8::Integer::New(int32_t, v8::Isolate*)’ [-fpermissive]\r\n../src/i2c.cc:56:46: error: invalid conversion from ‘int’ to ‘v8::Isolate*’ [-fpermissive]\r\n/usr/include/nodejs/deps/v8/include/v8.h:1392:34: error:   initializing argument 2 of ‘static v8::Local<v8::Integer> v8::Integer::New(int32_t, v8::Isolate*)’ [-fpermissive]\r\n../src/i2c.cc:63:27: error: ‘class v8::Isolate’ has no member named ‘GetCurrentContext’\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:68:18: error: ‘FunctionCallbackInfo’ does not name a type\r\n../src/i2c.cc:68:18: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n../src/i2c.cc:68:38: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n../src/i2c.cc: In function ‘void Close(int)’:\r\n../src/i2c.cc:70:28: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’\r\n../src/i2c.cc:70:28: note: candidates are:\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:77:17: error: ‘FunctionCallbackInfo’ does not name a type\r\n../src/i2c.cc:77:17: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n../src/i2c.cc:77:37: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n../src/i2c.cc: In function ‘void Open(int)’:\r\n../src/i2c.cc:79:28: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’\r\n../src/i2c.cc:79:28: note: candidates are:\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided\r\n../src/i2c.cc:81:28: error: ‘args’ was not declared in this scope\r\n../src/i2c.cc:83:62: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::Primitive>)’\r\n../src/i2c.cc:83:62: note: candidate is:\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value]\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note:   candidate expects 1 argument, 2 provided\r\n../src/i2c.cc:87:28: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../src/i2c.cc:95:29: error: ‘class v8::Isolate’ has no member named ‘GetCurrentContext’\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:99:17: error: ‘FunctionCallbackInfo’ does not name a type\r\n../src/i2c.cc:99:17: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n../src/i2c.cc:99:37: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n../src/i2c.cc: In function ‘void Read(int)’:\r\n../src/i2c.cc:101:28: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’\r\n../src/i2c.cc:101:28: note: candidates are:\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided\r\n../src/i2c.cc:103:13: error: ‘args’ was not declared in this scope\r\n../src/i2c.cc:105:41: error: invalid conversion from ‘v8::Isolate*’ to ‘int’ [-fpermissive]\r\n/usr/include/nodejs/deps/v8/include/v8.h:1758:32: error:   initializing argument 1 of ‘static v8::Local<v8::Array> v8::Array::New(int)’ [-fpermissive]\r\n../src/i2c.cc:108:62: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::Primitive>)’\r\n../src/i2c.cc:108:62: note: candidate is:\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value]\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note:   candidate expects 1 argument, 2 provided\r\n../src/i2c.cc:111:28: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../src/i2c.cc:114:48: error: invalid conversion from ‘v8::Isolate*’ to ‘int32_t {aka int}’ [-fpermissive]\r\n/usr/include/nodejs/deps/v8/include/v8.h:1392:34: error:   initializing argument 1 of ‘static v8::Local<v8::Integer> v8::Integer::New(int32_t, v8::Isolate*)’ [-fpermissive]\r\n../src/i2c.cc:114:48: error: invalid conversion from ‘char’ to ‘v8::Isolate*’ [-fpermissive]\r\n/usr/include/nodejs/deps/v8/include/v8.h:1392:34: error:   initializing argument 2 of ‘static v8::Local<v8::Integer> v8::Integer::New(int32_t, v8::Isolate*)’ [-fpermissive]\r\n../src/i2c.cc:124:29: error: ‘class v8::Isolate’ has no member named ‘GetCurrentContext’\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:128:21: error: ‘FunctionCallbackInfo’ does not name a type\r\n../src/i2c.cc:128:21: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n../src/i2c.cc:128:41: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n../src/i2c.cc: In function ‘void ReadByte(int)’:\r\n../src/i2c.cc:130:28: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’\r\n../src/i2c.cc:130:28: note: candidates are:\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided\r\n../src/i2c.cc:133:62: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::Primitive>)’\r\n../src/i2c.cc:133:62: note: candidate is:\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value]\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note:   candidate expects 1 argument, 2 provided\r\n../src/i2c.cc:138:28: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../src/i2c.cc:140:37: error: invalid conversion from ‘v8::Isolate*’ to ‘int32_t {aka int}’ [-fpermissive]\r\n/usr/include/nodejs/deps/v8/include/v8.h:1392:34: error:   initializing argument 1 of ‘static v8::Local<v8::Integer> v8::Integer::New(int32_t, v8::Isolate*)’ [-fpermissive]\r\n../src/i2c.cc:140:37: error: invalid conversion from ‘int32_t {aka int}’ to ‘v8::Isolate*’ [-fpermissive]\r\n/usr/include/nodejs/deps/v8/include/v8.h:1392:34: error:   initializing argument 2 of ‘static v8::Local<v8::Integer> v8::Integer::New(int32_t, v8::Isolate*)’ [-fpermissive]\r\n../src/i2c.cc:143:7: error: ‘args’ was not declared in this scope\r\n../src/i2c.cc:148:29: error: ‘class v8::Isolate’ has no member named ‘GetCurrentContext’\r\n../src/i2c.cc:151:3: error: ‘args’ was not declared in this scope\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:154:22: error: ‘FunctionCallbackInfo’ does not name a type\r\n../src/i2c.cc:154:22: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n../src/i2c.cc:154:42: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n../src/i2c.cc: In function ‘void ReadBlock(int)’:\r\n../src/i2c.cc:156:28: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’\r\n../src/i2c.cc:156:28: note: candidates are:\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided\r\n../src/i2c.cc:158:16: error: ‘args’ was not declared in this scope\r\n../src/i2c.cc:161:62: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::Primitive>)’\r\n../src/i2c.cc:161:62: note: candidate is:\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value]\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note:   candidate expects 1 argument, 2 provided\r\n../src/i2c.cc:166:30: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../src/i2c.cc:175:31: error: ‘class v8::Isolate’ has no member named ‘GetCurrentContext’\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:189:18: error: ‘FunctionCallbackInfo’ does not name a type\r\n../src/i2c.cc:189:18: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n../src/i2c.cc:189:38: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n../src/i2c.cc: In function ‘void Write(int)’:\r\n../src/i2c.cc:191:28: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’\r\n../src/i2c.cc:191:28: note: candidates are:\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided\r\n../src/i2c.cc:193:25: error: ‘args’ was not declared in this scope\r\n../src/i2c.cc:198:62: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::Primitive>)’\r\n../src/i2c.cc:198:62: note: candidate is:\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value]\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note:   candidate expects 1 argument, 2 provided\r\n../src/i2c.cc:201:28: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../src/i2c.cc:209:29: error: ‘class v8::Isolate’ has no member named ‘GetCurrentContext’\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:213:22: error: ‘FunctionCallbackInfo’ does not name a type\r\n../src/i2c.cc:213:22: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n../src/i2c.cc:213:42: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n../src/i2c.cc: In function ‘void WriteByte(int)’:\r\n../src/i2c.cc:215:28: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’\r\n../src/i2c.cc:215:28: note: candidates are:\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided\r\n../src/i2c.cc:217:17: error: ‘args’ was not declared in this scope\r\n../src/i2c.cc:218:62: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::Primitive>)’\r\n../src/i2c.cc:218:62: note: candidate is:\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value]\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note:   candidate expects 1 argument, 2 provided\r\n../src/i2c.cc:221:28: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../src/i2c.cc:229:29: error: ‘class v8::Isolate’ has no member named ‘GetCurrentContext’\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:233:23: error: ‘FunctionCallbackInfo’ does not name a type\r\n../src/i2c.cc:233:23: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n../src/i2c.cc:233:43: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n../src/i2c.cc: In function ‘void WriteBlock(int)’:\r\n../src/i2c.cc:235:28: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’\r\n../src/i2c.cc:235:28: note: candidates are:\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided\r\n../src/i2c.cc:237:25: error: ‘args’ was not declared in this scope\r\n../src/i2c.cc:243:62: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::Primitive>)’\r\n../src/i2c.cc:243:62: note: candidate is:\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value]\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note:   candidate expects 1 argument, 2 provided\r\n../src/i2c.cc:246:28: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../src/i2c.cc:254:29: error: ‘class v8::Isolate’ has no member named ‘GetCurrentContext’\r\n../src/i2c.cc: At global scope:\r\n../src/i2c.cc:258:22: error: ‘FunctionCallbackInfo’ does not name a type\r\n../src/i2c.cc:258:22: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n../src/i2c.cc:258:42: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n../src/i2c.cc: In function ‘void WriteWord(int)’:\r\n../src/i2c.cc:260:28: error: no matching function for call to ‘v8::HandleScope::HandleScope(v8::Isolate*&)’\r\n../src/i2c.cc:260:28: note: candidates are:\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note: v8::HandleScope::HandleScope(const v8::HandleScope&)\r\n/usr/include/nodejs/deps/v8/include/v8.h:473:3: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘const v8::HandleScope&’\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note: v8::HandleScope::HandleScope()\r\n/usr/include/nodejs/deps/v8/include/v8.h:448:3: note:   candidate expects 0 arguments, 1 provided\r\n../src/i2c.cc:262:16: error: ‘args’ was not declared in this scope\r\n../src/i2c.cc:265:62: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::Primitive>)’\r\n../src/i2c.cc:265:62: note: candidate is:\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value]\r\n/usr/include/nodejs/deps/v8/include/v8.h:4197:10: note:   candidate expects 1 argument, 2 provided\r\n../src/i2c.cc:268:28: error: ‘NewFromUtf8’ is not a member of ‘v8::String’\r\n../src/i2c.cc:276:29: error: ‘class v8::Isolate’ has no member named ‘GetCurrentContext’\r\n../src/i2c.cc: In function ‘void Init(v8::Handle<v8::Object>)’:\r\n../src/i2c.cc:281:52: error: no matching function for call to ‘SetMethod(v8::Handle<v8::Object>&, const char [11], void (&)(int))’\r\n../src/i2c.cc:281:52: note: candidate is:\r\n/usr/include/nodejs/src/node.h:112:6: note: template<class target_t> void node::SetMethod(target_t, const char*, v8::InvocationCallback)\r\n../src/i2c.cc:282:40: error: no matching function for call to ‘SetMethod(v8::Handle<v8::Object>&, const char [5], void (&)(int))’\r\n../src/i2c.cc:282:40: note: candidate is:\r\n/usr/include/nodejs/src/node.h:112:6: note: template<class target_t> void node::SetMethod(target_t, const char*, v8::InvocationCallback)\r\n../src/i2c.cc:283:40: error: no matching function for call to ‘SetMethod(v8::Handle<v8::Object>&, const char [5], void (&)(int))’\r\n../src/i2c.cc:283:40: note: candidate is:\r\n/usr/include/nodejs/src/node.h:112:6: note: template<class target_t> void node::SetMethod(target_t, const char*, v8::InvocationCallback)\r\n../src/i2c.cc:284:42: error: no matching function for call to ‘SetMethod(v8::Handle<v8::Object>&, const char [6], void (&)(int))’\r\n../src/i2c.cc:284:42: note: candidate is:\r\n/usr/include/nodejs/src/node.h:112:6: note: template<class target_t> void node::SetMethod(target_t, const char*, v8::InvocationCallback)\r\n../src/i2c.cc:285:42: error: no matching function for call to ‘SetMethod(v8::Handle<v8::Object>&, const char [6], void (&)(int))’\r\n../src/i2c.cc:285:42: note: candidate is:\r\n/usr/include/nodejs/src/node.h:112:6: note: template<class target_t> void node::SetMethod(target_t, const char*, v8::InvocationCallback)\r\n../src/i2c.cc:286:50: error: no matching function for call to ‘SetMethod(v8::Handle<v8::Object>&, const char [10], void (&)(int))’\r\n../src/i2c.cc:286:50: note: candidate is:\r\n/usr/include/nodejs/src/node.h:112:6: note: template<class target_t> void node::SetMethod(target_t, const char*, v8::InvocationCallback)\r\n../src/i2c.cc:287:52: error: no matching function for call to ‘SetMethod(v8::Handle<v8::Object>&, const char [11], void (&)(int))’\r\n../src/i2c.cc:287:52: note: candidate is:\r\n/usr/include/nodejs/src/node.h:112:6: note: template<class target_t> void node::SetMethod(target_t, const char*, v8::InvocationCallback)\r\n../src/i2c.cc:288:40: error: no matching function for call to ‘SetMethod(v8::Handle<v8::Object>&, const char [5], void (&)(int))’\r\n../src/i2c.cc:288:40: note: candidate is:\r\n/usr/include/nodejs/src/node.h:112:6: note: template<class target_t> void node::SetMethod(target_t, const char*, v8::InvocationCallback)\r\n../src/i2c.cc:289:48: error: no matching function for call to ‘SetMethod(v8::Handle<v8::Object>&, const char [9], void (&)(int))’\r\n../src/i2c.cc:289:48: note: candidate is:\r\n/usr/include/nodejs/src/node.h:112:6: note: template<class target_t> void node::SetMethod(target_t, const char*, v8::InvocationCallback)\r\n../src/i2c.cc:290:50: error: no matching function for call to ‘SetMethod(v8::Handle<v8::Object>&, const char [10], void (&)(int))’\r\n../src/i2c.cc:290:50: note: candidate is:\r\n/usr/include/nodejs/src/node.h:112:6: note: template<class target_t> void node::SetMethod(target_t, const char*, v8::InvocationCallback)\r\nIn file included from /usr/include/nodejs/src/node.h:62:0,\r\n                 from ../src/i2c.cc:1:\r\n/usr/include/nodejs/deps/v8/include/v8.h: In constructor ‘v8::Local<T>::Local(S*) [with S = node::Buffer, T = v8::Object]’:\r\n../src/i2c.cc:162:47:   instantiated from here\r\n/usr/include/nodejs/deps/v8/include/v8.h:281:60: error: no matching function for call to ‘v8::Handle<v8::Object>::Handle(node::Buffer*&)’\r\n/usr/include/nodejs/deps/v8/include/v8.h:281:60: note: candidates are:\r\n/usr/include/nodejs/deps/v8/include/v8.h:196:29: note: template<class S> v8::Handle::Handle(v8::Handle<S>)\r\n/usr/include/nodejs/deps/v8/include/v8.h:184:19: note: v8::Handle<T>::Handle(T*) [with T = v8::Object]\r\n/usr/include/nodejs/deps/v8/include/v8.h:184:19: note:   no known conversion for argument 1 from ‘node::Buffer*’ to ‘v8::Object*’\r\n/usr/include/nodejs/deps/v8/include/v8.h:179:10: note: v8::Handle<T>::Handle() [with T = v8::Object]\r\n/usr/include/nodejs/deps/v8/include/v8.h:179:10: note:   candidate expects 0 arguments, 1 provided\r\n/usr/include/nodejs/deps/v8/include/v8.h:174:26: note: v8::Handle<v8::Object>::Handle(const v8::Handle<v8::Object>&)\r\n/usr/include/nodejs/deps/v8/include/v8.h:174:26: note:   no known conversion for argument 1 from ‘node::Buffer*’ to ‘const v8::Handle<v8::Object>&’\r\nmake: *** [Release/obj.target/i2c/src/i2c.o] Error 1\r\nmake: Leaving directory `/home/storm/node_modules/i2c/build'\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)\r\ngyp ERR! System Linux 3.8.13-bone74\r\ngyp ERR! command \"nodejs\" \"/usr/bin/node-gyp\" \"rebuild\"\r\ngyp ERR! cwd /home/storm/node_modules/i2c\r\ngyp ERR! node -v v0.10.38\r\ngyp ERR! node-gyp -v v0.12.2\r\ngyp ERR! not ok\r\nnpm WARN This failure might be due to the use of legacy binary \"node\"\r\nnpm WARN For further explanations, please read\r\n/usr/share/doc/nodejs/README.Debian\r\n\r\nnpm ERR! i2c@0.2.1 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the i2c@0.2.1 install script.\r\nnpm ERR! This is most likely a problem with the i2c package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls i2c\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! System Linux 3.8.13-bone74\r\nnpm ERR! command \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"install\" \"i2c\"\r\nnpm ERR! cwd /home/storm\r\nnpm ERR! node -v v0.10.38\r\nnpm ERR! npm -v 1.4.21\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR!\r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /home/storm/npm-debug.log\r\nnpm ERR! not ok code 0"},"comment":{"url":"https://api.github.com/repos/kelly/node-i2c/issues/comments/133583077","html_url":"https://github.com/kelly/node-i2c/issues/66#issuecomment-133583077","issue_url":"https://api.github.com/repos/kelly/node-i2c/issues/66","id":133583077,"user":{"login":"stormbytes","id":350153,"avatar_url":"https://avatars.githubusercontent.com/u/350153?v=3","gravatar_id":"","url":"https://api.github.com/users/stormbytes","html_url":"https://github.com/stormbytes","followers_url":"https://api.github.com/users/stormbytes/followers","following_url":"https://api.github.com/users/stormbytes/following{/other_user}","gists_url":"https://api.github.com/users/stormbytes/gists{/gist_id}","starred_url":"https://api.github.com/users/stormbytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormbytes/subscriptions","organizations_url":"https://api.github.com/users/stormbytes/orgs","repos_url":"https://api.github.com/users/stormbytes/repos","events_url":"https://api.github.com/users/stormbytes/events{/privacy}","received_events_url":"https://api.github.com/users/stormbytes/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T22:56:12Z","updated_at":"2015-08-21T22:56:12Z","body":"Thanks! \r\n\r\nMy bad!"}}