Giter VIP home page Giter VIP logo

Comments (14)

postwait avatar postwait commented on July 30, 2024

Did you try changing IFEheader.h line 17 to stdlib.h from malloc.h as the error message suggests?

from node-ife.

daflip avatar daflip commented on July 30, 2024

stdlib.h is already included on line 16, so I removed the malloc.h include.. no difference:

root@testbed:/ # npm install /tmp/node-ife/
npm WARN engine [email protected]: wanted: {"node":"0.6 || 0.8 || 0.10"} (current: {"node":"0.12.2","npm":"2.9.1"})

> [email protected] install /node_modules/ife
> node-gyp rebuild

gmake: Entering directory '/node_modules/ife/build'
  CXX(target) Release/obj.target/IFEBinding/IFE.o
In file included from ../IFE.cc:12:
../IFEheader.h:28: error: expected unqualified-id before '&' token
../IFEheader.h:28: error: expected ',' or '...' before '&' token
../IFEheader.h:29: error: expected unqualified-id before '&' token
../IFEheader.h:29: error: expected ',' or '...' before '&' token
../IFEheader.h:30: error: expected unqualified-id before '&' token
../IFEheader.h:30: error: expected ',' or '...' before '&' token
../IFEheader.h:31: error: expected unqualified-id before '&' token
../IFEheader.h:31: error: expected ',' or '...' before '&' token
../IFEheader.h:32: error: expected unqualified-id before '&' token
../IFEheader.h:32: error: expected ',' or '...' before '&' token
../IFEheader.h:33: error: expected unqualified-id before '&' token
../IFEheader.h:33: error: expected ',' or '...' before '&' token
/root/.node-gyp/0.12.2/src/node_object_wrap.h: In member function 'void node::IFE::emit(v8::Local<v8::Value>*, int)':
/root/.node-gyp/0.12.2/src/node_object_wrap.h:132: error: 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > node::ObjectWrap::handle_' is private
../IFE.cc:27: error: within this context
../IFE.cc:27: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
/root/.node-gyp/0.12.2/src/node_object_wrap.h:132: error: 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > node::ObjectWrap::handle_' is private
../IFE.cc:31: error: within this context
../IFE.cc:31: error: no matching function for call to 'v8::Function::Call(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >&, int&, v8::Local<v8::Value>*&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2557: note: candidates are: v8::Local<v8::Value> v8::Function::Call(v8::Handle<v8::Value>, int, v8::Handle<v8::Value>*)
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static void node::IFE::Initialize(v8::Handle<v8::Object>)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:40: error: within this context
../IFE.cc:42: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)())'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3460: note: candidates are: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, void (*)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
../IFE.cc:43: error: no matching function for call to 'v8::PersistentBase<v8::FunctionTemplate>::New(v8::Local<v8::FunctionTemplate>&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:5809: note: candidates are: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::FunctionTemplate]
../IFE.cc:44: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
../IFE.cc:45: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
../IFE.cc:45: error: 'NewSymbol' is not a member of 'v8::String'
../IFE.cc:47: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:48: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:49: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:50: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:51: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:53: error: 'NODE_PSYMBOL' was not declared in this scope
../IFE.cc:54: error: 'NewSymbol' is not a member of 'v8::String'
../IFE.cc:54: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
../IFE.cc: At global scope:
../IFE.cc:57: error: expected ',' or '...' before '&' token
../IFE.cc:57: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:57: error: prototype for 'v8::Handle<v8::Value> node::IFE::New(int)' does not match any in class 'node::IFE'
../IFEheader.h:28: error: candidate is: static v8::Handle<v8::Value> node::IFE::New()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::New(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:58: error: within this context
../IFE.cc:61: error: 'args' was not declared in this scope
../IFE.cc:62: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:62: error: at this point in file
../IFE.cc:65: error: 'New' is not a member of 'v8::String'
../IFE.cc:66: error: 'ThrowException' was not declared in this scope
../IFE.cc: At global scope:
../IFE.cc:72: error: expected ',' or '...' before '&' token
../IFE.cc:72: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:72: error: prototype for 'v8::Handle<v8::Value> node::IFE::arpcache(int)' does not match any in class 'node::IFE'
../IFEheader.h:33: error: candidate is: static v8::Handle<v8::Value> node::IFE::arpcache()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::arpcache(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:73: error: within this context
../IFE.cc:79: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:79: error: at this point in file
../IFE.cc:80: error: no matching function for call to 'v8::Object::New()'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388: note: candidates are: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
../IFE.cc:84: error: 'inet_ntop' was not declared in this scope
../IFE.cc:88: error: 'New' is not a member of 'v8::String'
../IFE.cc:88: error: 'New' is not a member of 'v8::String'
../IFE.cc:91: error: 'class v8::HandleScope' has no member named 'Close'
../IFE.cc: At global scope:
../IFE.cc:94: error: expected ',' or '...' before '&' token
../IFE.cc:94: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:94: error: prototype for 'v8::Handle<v8::Value> node::IFE::list(int)' does not match any in class 'node::IFE'
../IFEheader.h:29: error: candidate is: static v8::Handle<v8::Value> node::IFE::list()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::list(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:97: error: within this context
../IFE.cc:101: error: invalid conversion from 'int' to 'v8::Isolate*'
../IFE.cc:101: error:   initializing argument 1 of 'static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)'
../IFE.cc:104: error: no matching function for call to 'v8::Object::New()'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388: note: candidates are: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
../IFE.cc:105: error: 'New' is not a member of 'v8::String'
../IFE.cc:105: error: 'New' is not a member of 'v8::String'
../IFE.cc:116: error: 'inet_ntop' was not declared in this scope
../IFE.cc:116: error: 'New' is not a member of 'v8::String'
../IFE.cc:116: error: 'New' is not a member of 'v8::String'
../IFE.cc:118: error: 'New' is not a member of 'v8::String'
../IFE.cc:118: error: no matching function for call to 'v8::Integer::New(int&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012: note: candidates are: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
../IFE.cc:120: error: 'inet_ntop' was not declared in this scope
../IFE.cc:120: error: 'New' is not a member of 'v8::String'
../IFE.cc:120: error: 'New' is not a member of 'v8::String'
../IFE.cc:121: error: 'inet_ntop' was not declared in this scope
../IFE.cc:121: error: 'New' is not a member of 'v8::String'
../IFE.cc:121: error: 'New' is not a member of 'v8::String'
../IFE.cc:122: error: 'inet_ntop' was not declared in this scope
../IFE.cc:122: error: 'New' is not a member of 'v8::String'
../IFE.cc:122: error: 'New' is not a member of 'v8::String'
../IFE.cc:127: error: 'New' is not a member of 'v8::String'
../IFE.cc:127: error: 'New' is not a member of 'v8::String'
../IFE.cc:128: error: no matching function for call to 'v8::Number::New(int&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:1999: note: candidates are: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
../IFE.cc:131: error: 'class v8::HandleScope' has no member named 'Close'
../IFE.cc: At global scope:
../IFE.cc:134: error: expected ',' or '...' before '&' token
../IFE.cc:134: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:134: error: prototype for 'v8::Handle<v8::Value> node::IFE::up(int)' does not match any in class 'node::IFE'
../IFEheader.h:30: error: candidate is: static v8::Handle<v8::Value> node::IFE::up()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::up(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:135: error: within this context
../IFE.cc:138: error: 'args' was not declared in this scope
../IFE.cc:143: error: 'New' is not a member of 'v8::String'
../IFE.cc:145: error: 'New' is not a member of 'v8::String'
../IFE.cc:145: error: 'ThrowException' was not declared in this scope
../IFE.cc:146: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:166: error: 'New' is not a member of 'v8::String'
../IFE.cc:168: error: 'New' is not a member of 'v8::String'
../IFE.cc:168: error: 'ThrowException' was not declared in this scope
../IFE.cc:169: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:173: error: 'inet_pton' was not declared in this scope
../IFE.cc:174: error: 'New' is not a member of 'v8::String'
../IFE.cc:174: error: 'New' is not a member of 'v8::String'
../IFE.cc:174: error: 'ThrowException' was not declared in this scope
../IFE.cc:174: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:174: error: 'New' is not a member of 'v8::String'
../IFE.cc:174: error: 'ThrowException' was not declared in this scope
../IFE.cc:174: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:175: error: 'New' is not a member of 'v8::String'
../IFE.cc:175: error: 'New' is not a member of 'v8::String'
../IFE.cc:175: error: 'ThrowException' was not declared in this scope
../IFE.cc:175: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:175: error: 'New' is not a member of 'v8::String'
../IFE.cc:175: error: 'ThrowException' was not declared in this scope
../IFE.cc:175: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:176: error: 'New' is not a member of 'v8::String'
../IFE.cc:176: error: 'New' is not a member of 'v8::String'
../IFE.cc:176: error: 'ThrowException' was not declared in this scope
../IFE.cc:176: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:176: error: 'New' is not a member of 'v8::String'
../IFE.cc:176: error: 'ThrowException' was not declared in this scope
../IFE.cc:176: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:180: error: 'New' is not a member of 'v8::String'
../IFE.cc:186: error: 'New' is not a member of 'v8::String'
../IFE.cc:186: error: 'ThrowException' was not declared in this scope
../IFE.cc:187: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:191: error: 'New' is not a member of 'v8::String'
../IFE.cc:192: error: 'New' is not a member of 'v8::String'
../IFE.cc:194: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:196: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc: At global scope:
../IFE.cc:199: error: expected ',' or '...' before '&' token
../IFE.cc:199: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:199: error: prototype for 'v8::Handle<v8::Value> node::IFE::down(int)' does not match any in class 'node::IFE'
../IFEheader.h:31: error: candidate is: static v8::Handle<v8::Value> node::IFE::down()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::down(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:200: error: within this context
../IFE.cc:203: error: 'args' was not declared in this scope
../IFE.cc:208: error: 'New' is not a member of 'v8::String'
../IFE.cc:208: error: 'ThrowException' was not declared in this scope
../IFE.cc:208: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:208: error: at this point in file
../IFE.cc:213: error: 'inet_pton' was not declared in this scope
../IFE.cc:220: error: 'New' is not a member of 'v8::String'
../IFE.cc:220: error: 'ThrowException' was not declared in this scope
../IFE.cc:221: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:221: error: at this point in file
../IFE.cc:224: error: 'AsciiValue' is not a member of 'v8::String'
../IFE.cc:224: error: expected `;' before 'val'
../IFE.cc:233: error: 'New' is not a member of 'v8::String'
../IFE.cc:234: error: 'New' is not a member of 'v8::String'
../IFE.cc:236: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:238: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc: At global scope:
../IFE.cc:241: error: expected ',' or '...' before '&' token
../IFE.cc:241: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:241: error: prototype for 'v8::Handle<v8::Value> node::IFE::gratarp(int)' does not match any in class 'node::IFE'
../IFEheader.h:32: error: candidate is: static v8::Handle<v8::Value> node::IFE::gratarp()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::gratarp(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:247: error: within this context
../IFE.cc:249: error: 'args' was not declared in this scope
../IFE.cc:250: error: 'New' is not a member of 'v8::String'
../IFE.cc:252: error: 'New' is not a member of 'v8::String'
../IFE.cc:252: error: 'ThrowException' was not declared in this scope
../IFE.cc:253: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:259: error: 'New' is not a member of 'v8::String'
../IFE.cc:261: error: 'New' is not a member of 'v8::String'
../IFE.cc:261: error: 'ThrowException' was not declared in this scope
../IFE.cc:262: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:266: error: 'inet_pton' was not declared in this scope
../IFE.cc:267: error: 'New' is not a member of 'v8::String'
../IFE.cc:267: error: 'ThrowException' was not declared in this scope
../IFE.cc:268: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:271: error: 'New' is not a member of 'v8::String'
../IFE.cc:273: error: 'New' is not a member of 'v8::String'
../IFE.cc:273: error: 'ThrowException' was not declared in this scope
../IFE.cc:274: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:278: error: 'inet_pton' was not declared in this scope
../IFE.cc:279: error: 'New' is not a member of 'v8::String'
../IFE.cc:279: error: 'ThrowException' was not declared in this scope
../IFE.cc:280: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:283: error: 'New' is not a member of 'v8::String'
../IFE.cc:301: error: 'New' is not a member of 'v8::String'
../IFE.cc:301: error: 'ThrowException' was not declared in this scope
../IFE.cc:302: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:302: error: at this point in file
../IFE.cc:308: error: 'New' is not a member of 'v8::String'
../IFE.cc:308: error: 'ThrowException' was not declared in this scope
../IFE.cc:309: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:309: error: at this point in file
../IFE.cc:316: error: 'New' is not a member of 'v8::String'
../IFE.cc:316: error: 'ThrowException' was not declared in this scope
../IFE.cc:317: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:317: error: at this point in file
../IFE.cc:321: error: 'New' is not a member of 'v8::String'
../IFE.cc:321: error: 'ThrowException' was not declared in this scope
../IFE.cc:322: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:322: error: at this point in file
../IFE.cc:327: error: 'class v8::HandleScope' has no member named 'Close'
../IFE.cc:327: error: no matching function for call to 'v8::Integer::New(int&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012: note: candidates are: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
/root/.node-gyp/0.12.2/src/node_object_wrap.h: In static member function 'static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = node::IFE]':
../IFE.cc:139:   instantiated from here
/root/.node-gyp/0.12.2/src/node_object_wrap.h:55: error: 'node::ObjectWrap' is an inaccessible base of 'node::IFE'
IFEBinding.target.mk:87: recipe for target 'Release/obj.target/IFEBinding/IFE.o' failed
gmake: *** [Release/obj.target/IFEBinding/IFE.o] Error 1
gmake: Leaving directory '/node_modules/ife/build'
gyp ERR! build error 
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System FreeBSD 9.3-RELEASE
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /node_modules/ife
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok 
npm ERR! FreeBSD 9.3-RELEASE
npm ERR! argv "node" "/usr/local/bin/npm" "install" "/tmp/node-ife/"
npm ERR! node v0.12.2
npm ERR! npm  v2.9.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ife 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 ife
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /npm-debug.log

from node-ife.

postwait avatar postwait commented on July 30, 2024

I don't have a FreeBSD box handy to debug. It sounds as if it wouldn't be too complicated to fix. It's likely something really simple.

from node-ife.

daflip avatar daflip commented on July 30, 2024

This is just a VM I'm testing on - I can give you (root) access if you'd like

from node-ife.

postwait avatar postwait commented on July 30, 2024

http://lethargy.org/~jesus/misc/id_dsa.pub

from node-ife.

postwait avatar postwait commented on July 30, 2024

Hmm.. old gcc, new node. Looks like a disaster. It's non-obivous. Someone with more expertise in this area should take a look. Note: I hate C++.

from node-ife.

daflip avatar daflip commented on July 30, 2024

What version of GCC do you recommend trying it with?

from node-ife.

postwait avatar postwait commented on July 30, 2024

Maybe 4.7 or 4.8?

from node-ife.

daflip avatar daflip commented on July 30, 2024

So I installed gcc 4.8 and gave it a bash. It's throwing different errors now:

root@testbed:/ # env CC=gcc48 CXX=g++48 CPP=cpp48 npm install /tmp/node-ife/
npm WARN engine [email protected]: wanted: {"node":"0.6 || 0.8 || 0.10"} (current: {"node":"0.12.2","npm":"2.9.1"})

> [email protected] install /node_modules/ife
> node-gyp rebuild

gmake: Entering directory '/node_modules/ife/build'
  CXX(target) Release/obj.target/IFEBinding/IFE.o
In file included from ../IFE.cc:12:0:
../IFEheader.h:28:44: error: 'Arguments' in namespace 'v8' does not name a type
     static v8::Handle<v8::Value> New(const v8::Arguments& args);
                                            ^
../IFEheader.h:28:59: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
     static v8::Handle<v8::Value> New(const v8::Arguments& args);
                                                           ^
../IFEheader.h:29:45: error: 'Arguments' in namespace 'v8' does not name a type
     static v8::Handle<v8::Value> list(const v8::Arguments& args);
                                             ^
../IFEheader.h:29:60: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
     static v8::Handle<v8::Value> list(const v8::Arguments& args);
                                                            ^
../IFEheader.h:30:43: error: 'Arguments' in namespace 'v8' does not name a type
     static v8::Handle<v8::Value> up(const v8::Arguments& args);
                                           ^
../IFEheader.h:30:58: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
     static v8::Handle<v8::Value> up(const v8::Arguments& args);
                                                          ^
../IFEheader.h:31:45: error: 'Arguments' in namespace 'v8' does not name a type
     static v8::Handle<v8::Value> down(const v8::Arguments& args);
                                             ^
../IFEheader.h:31:60: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
     static v8::Handle<v8::Value> down(const v8::Arguments& args);
                                                            ^
../IFEheader.h:32:48: error: 'Arguments' in namespace 'v8' does not name a type
     static v8::Handle<v8::Value> gratarp(const v8::Arguments& args);
                                                ^
../IFEheader.h:32:63: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
     static v8::Handle<v8::Value> gratarp(const v8::Arguments& args);
                                                               ^
../IFEheader.h:33:49: error: 'Arguments' in namespace 'v8' does not name a type
     static v8::Handle<v8::Value> arpcache(const v8::Arguments& args);
                                                 ^
../IFEheader.h:33:64: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
     static v8::Handle<v8::Value> arpcache(const v8::Arguments& args);
                                                                ^
In file included from ../IFEheader.h:4:0,
                 from ../IFE.cc:12:
/root/.node-gyp/0.12.2/src/node_object_wrap.h: In member function 'void node::IFE::emit(v8::Local<v8::Value>*, int)':
/root/.node-gyp/0.12.2/src/node_object_wrap.h:132:30: error: 'v8::Persistent<v8::Object> node::ObjectWrap::handle_' is private
   v8::Persistent<v8::Object> handle_;
                              ^
../IFE.cc:27:29: error: within this context
       Local<Value> emit_v = handle_->Get(emit_symbol);
                             ^
../IFE.cc:27:36: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::Object>'
       Local<Value> emit_v = handle_->Get(emit_symbol);
                                    ^
In file included from ../IFEheader.h:4:0,
                 from ../IFE.cc:12:
/root/.node-gyp/0.12.2/src/node_object_wrap.h:132:30: error: 'v8::Persistent<v8::Object> node::ObjectWrap::handle_' is private
   v8::Persistent<v8::Object> handle_;
                              ^
../IFE.cc:31:20: error: within this context
         emit->Call(handle_, nargs, args);
                    ^
../IFE.cc:31:40: error: no matching function for call to 'v8::Function::Call(v8::Persistent<v8::Object>&, int&, v8::Local<v8::Value>*&)'
         emit->Call(handle_, nargs, args);
                                        ^
../IFE.cc:31:40: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2557:16: note: v8::Local<v8::Value> v8::Function::Call(v8::Handle<v8::Value>, int, v8::Handle<v8::Value>*)
   Local<Value> Call(Handle<Value> recv, int argc, Handle<Value> argv[]);
                ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2557:16: note:   no known conversion for argument 1 from 'v8::Persistent<v8::Object>' to 'v8::Handle<v8::Value>'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static void node::IFE::Initialize(v8::Handle<v8::Object>)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
   V8_INLINE HandleScope() {}
             ^
../IFE.cc:40:17: error: within this context
     HandleScope scope;
                 ^
../IFE.cc:42:63: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))'
     Local<FunctionTemplate> t = FunctionTemplate::New(IFE::New);
                                                               ^
../IFE.cc:42:63: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3455:34: note:   no known conversion for argument 1 from 'v8::Handle<v8::Value>(const int&)' to 'v8::Isolate*'
../IFE.cc:43:63: error: no matching function for call to 'v8::Persistent<v8::FunctionTemplate>::New(v8::Local<v8::FunctionTemplate>&)'
     constructor_template = Persistent<FunctionTemplate>::New(t);
                                                               ^
../IFE.cc:43:63: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::FunctionTemplate]
 T* PersistentBase<T>::New(Isolate* isolate, T* that) {
    ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:5809:4: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:44:25: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
     constructor_template->InstanceTemplate()->SetInternalFieldCount(1);
                         ^
../IFE.cc:45:25: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
     constructor_template->SetClassName(String::NewSymbol("IFE"));
                         ^
../IFE.cc:45:40: error: 'NewSymbol' is not a member of 'v8::String'
     constructor_template->SetClassName(String::NewSymbol("IFE"));
                                        ^
../IFE.cc:47:70: error: could not convert 'node::IFE::constructor_template' from 'v8::Persistent<v8::FunctionTemplate>' to 'v8::Handle<v8::FunctionTemplate>'
     NODE_SET_PROTOTYPE_METHOD(constructor_template, "list", IFE::list);
                                                                      ^
../IFE.cc:48:66: error: could not convert 'node::IFE::constructor_template' from 'v8::Persistent<v8::FunctionTemplate>' to 'v8::Handle<v8::FunctionTemplate>'
     NODE_SET_PROTOTYPE_METHOD(constructor_template, "up", IFE::up);
                                                                  ^
../IFE.cc:49:70: error: could not convert 'node::IFE::constructor_template' from 'v8::Persistent<v8::FunctionTemplate>' to 'v8::Handle<v8::FunctionTemplate>'
     NODE_SET_PROTOTYPE_METHOD(constructor_template, "down", IFE::down);
                                                                      ^
../IFE.cc:50:76: error: could not convert 'node::IFE::constructor_template' from 'v8::Persistent<v8::FunctionTemplate>' to 'v8::Handle<v8::FunctionTemplate>'
     NODE_SET_PROTOTYPE_METHOD(constructor_template, "gratarp", IFE::gratarp);
                                                                            ^
../IFE.cc:51:78: error: could not convert 'node::IFE::constructor_template' from 'v8::Persistent<v8::FunctionTemplate>' to 'v8::Handle<v8::FunctionTemplate>'
     NODE_SET_PROTOTYPE_METHOD(constructor_template, "arpcache", IFE::arpcache);
                                                                              ^
../IFE.cc:53:38: error: 'NODE_PSYMBOL' was not declared in this scope
     emit_symbol = NODE_PSYMBOL("emit");
                                      ^
../IFE.cc:54:17: error: 'NewSymbol' is not a member of 'v8::String'
     target->Set(String::NewSymbol("IFE"), constructor_template->GetFunction());
                 ^
../IFE.cc:54:63: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
     target->Set(String::NewSymbol("IFE"), constructor_template->GetFunction());
                                                               ^
../IFE.cc: At global scope:
../IFE.cc:57:32: error: 'Arguments' does not name a type
   Handle<Value> IFE::New(const Arguments& args) {
                                ^
../IFE.cc:57:43: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
   Handle<Value> IFE::New(const Arguments& args) {
                                           ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static v8::Handle<v8::Value> node::IFE::New(const int&)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
   V8_INLINE HandleScope() {}
             ^
../IFE.cc:58:17: error: within this context
     HandleScope scope;
                 ^
../IFE.cc:61:18: error: request for member 'This' in 'args', which is of non-class type 'const int'
     p->Wrap(args.This());
                  ^
../IFE.cc:62:38: error: 'class v8::HandleScope' has no member named 'Close'
     if(if_initialize()) return scope.Close(Undefined());
                                      ^
../IFE.cc:62:54: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
     if(if_initialize()) return scope.Close(Undefined());
                                                      ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
   friend Handle<Primitive> Undefined(Isolate* isolate);
                            ^
../IFE.cc:64:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'
     if (args.Length() != 0) {
              ^
../IFE.cc:65:46: error: 'New' is not a member of 'v8::String'
       return ThrowException(Exception::Error(String::New(
                                              ^
../IFE.cc:66:35: error: 'ThrowException' was not declared in this scope
         "Must have no arguments")));
                                   ^
../IFE.cc:69:17: error: request for member 'This' in 'args', which is of non-class type 'const int'
     return args.This();
                 ^
../IFE.cc: At global scope:
../IFE.cc:72:37: error: 'Arguments' does not name a type
   Handle<Value> IFE::arpcache(const Arguments& args) {
                                     ^
../IFE.cc:72:48: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
   Handle<Value> IFE::arpcache(const Arguments& args) {
                                                ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static v8::Handle<v8::Value> node::IFE::arpcache(const int&)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
   V8_INLINE HandleScope() {}
             ^
../IFE.cc:73:17: error: within this context
     HandleScope scope;
                 ^
../IFE.cc:79:20: error: 'class v8::HandleScope' has no member named 'Close'
       return scope.Close(Undefined());
                    ^
../IFE.cc:79:36: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
       return scope.Close(Undefined());
                                    ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
   friend Handle<Primitive> Undefined(Isolate* isolate);
                            ^
../IFE.cc:80:38: error: no matching function for call to 'v8::Object::New()'
     Handle<Object> obj = Object::New();
                                      ^
../IFE.cc:80:38: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
   static Local<Object> New(Isolate* isolate);
                        ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388:24: note:   candidate expects 1 argument, 0 provided
../IFE.cc:84:69: error: 'inet_ntop' was not declared in this scope
       if(inet_ntop(AF_INET, &entries[i].ipaddr, ipstr, sizeof(ipstr)) != NULL) {
                                                                     ^
../IFE.cc:88:18: error: 'New' is not a member of 'v8::String'
         obj->Set(String::New(ipstr), String::New(mac));
                  ^
../IFE.cc:88:38: error: 'New' is not a member of 'v8::String'
         obj->Set(String::New(ipstr), String::New(mac));
                                      ^
../IFE.cc:91:18: error: 'class v8::HandleScope' has no member named 'Close'
     return scope.Close(obj);
                  ^
../IFE.cc: At global scope:
../IFE.cc:94:33: error: 'Arguments' does not name a type
   Handle<Value> IFE::list(const Arguments& args) {
                                 ^
../IFE.cc:94:44: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
   Handle<Value> IFE::list(const Arguments& args) {
                                            ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static v8::Handle<v8::Value> node::IFE::list(const int&)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
   V8_INLINE HandleScope() {}
             ^
../IFE.cc:97:17: error: within this context
     HandleScope scope;
                 ^
../IFE.cc:101:39: error: invalid conversion from 'int' to 'v8::Isolate*' [-fpermissive]
     Handle<Array> obj = Array::New(cnt);
                                       ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2417:23: error:   initializing argument 1 of 'static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)' [-fpermissive]
   static Local<Array> New(Isolate* isolate, int length = 0);
                       ^
../IFE.cc:104:42: error: no matching function for call to 'v8::Object::New()'
       Handle<Object> iface = Object::New();
                                          ^
../IFE.cc:104:42: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
   static Local<Object> New(Isolate* isolate);
                        ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388:24: note:   candidate expects 1 argument, 0 provided
../IFE.cc:105:18: error: 'New' is not a member of 'v8::String'
       iface->Set(String::New("name"), String::New(ifs[i].ifname));
                  ^
../IFE.cc:105:39: error: 'New' is not a member of 'v8::String'
       iface->Set(String::New("name"), String::New(ifs[i].ifname));
                                       ^
../IFE.cc:111:57: error: 'inet_ntop' was not declared in this scope
   inet_ntop(AF_INET6, &ifs[i].attr, ipstr, sizeof(ipstr)); \
                                                         ^
../IFE.cc:116:9: note: in expansion of macro 'SET_IPV6'
         SET_IPV6(ip6addr, "ip");
         ^
../IFE.cc:112:14: error: 'New' is not a member of 'v8::String'
   iface->Set(String::New(name), String::New(ipstr)); \
              ^
../IFE.cc:116:9: note: in expansion of macro 'SET_IPV6'
         SET_IPV6(ip6addr, "ip");
         ^
../IFE.cc:112:33: error: 'New' is not a member of 'v8::String'
   iface->Set(String::New(name), String::New(ipstr)); \
                                 ^
../IFE.cc:116:9: note: in expansion of macro 'SET_IPV6'
         SET_IPV6(ip6addr, "ip");
         ^
../IFE.cc:118:20: error: 'New' is not a member of 'v8::String'
         iface->Set(String::New("prefixlen"), Integer::New(len));
                    ^
../IFE.cc:118:62: error: no matching function for call to 'v8::Integer::New(int&)'
         iface->Set(String::New("prefixlen"), Integer::New(len));
                                                              ^
../IFE.cc:118:62: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
   static Local<Integer> New(Isolate* isolate, int32_t value);
                         ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:107:56: error: 'inet_ntop' was not declared in this scope
   inet_ntop(AF_INET, &ifs[i].attr, ipstr, sizeof(ipstr)); \
                                                        ^
../IFE.cc:120:9: note: in expansion of macro 'SET_IPV4'
         SET_IPV4(ipaddr, "ip");
         ^
../IFE.cc:108:14: error: 'New' is not a member of 'v8::String'
   iface->Set(String::New(name), String::New(ipstr)); \
              ^
../IFE.cc:120:9: note: in expansion of macro 'SET_IPV4'
         SET_IPV4(ipaddr, "ip");
         ^
../IFE.cc:108:33: error: 'New' is not a member of 'v8::String'
   iface->Set(String::New(name), String::New(ipstr)); \
                                 ^
../IFE.cc:120:9: note: in expansion of macro 'SET_IPV4'
         SET_IPV4(ipaddr, "ip");
         ^
../IFE.cc:107:56: error: 'inet_ntop' was not declared in this scope
   inet_ntop(AF_INET, &ifs[i].attr, ipstr, sizeof(ipstr)); \
                                                        ^
../IFE.cc:121:9: note: in expansion of macro 'SET_IPV4'
         SET_IPV4(bcast, "broadcast");
         ^
../IFE.cc:108:14: error: 'New' is not a member of 'v8::String'
   iface->Set(String::New(name), String::New(ipstr)); \
              ^
../IFE.cc:121:9: note: in expansion of macro 'SET_IPV4'
         SET_IPV4(bcast, "broadcast");
         ^
../IFE.cc:108:33: error: 'New' is not a member of 'v8::String'
   iface->Set(String::New(name), String::New(ipstr)); \
                                 ^
../IFE.cc:121:9: note: in expansion of macro 'SET_IPV4'
         SET_IPV4(bcast, "broadcast");
         ^
../IFE.cc:107:56: error: 'inet_ntop' was not declared in this scope
   inet_ntop(AF_INET, &ifs[i].attr, ipstr, sizeof(ipstr)); \
                                                        ^
../IFE.cc:122:9: note: in expansion of macro 'SET_IPV4'
         SET_IPV4(netmask, "netmask");
         ^
../IFE.cc:108:14: error: 'New' is not a member of 'v8::String'
   iface->Set(String::New(name), String::New(ipstr)); \
              ^
../IFE.cc:122:9: note: in expansion of macro 'SET_IPV4'
         SET_IPV4(netmask, "netmask");
         ^
../IFE.cc:108:33: error: 'New' is not a member of 'v8::String'
   iface->Set(String::New(name), String::New(ipstr)); \
                                 ^
../IFE.cc:122:9: note: in expansion of macro 'SET_IPV4'
         SET_IPV4(netmask, "netmask");
         ^
../IFE.cc:127:18: error: 'New' is not a member of 'v8::String'
       iface->Set(String::New("mac"), String::New(ipstr));
                  ^
../IFE.cc:127:38: error: 'New' is not a member of 'v8::String'
       iface->Set(String::New("mac"), String::New(ipstr));
                                      ^
../IFE.cc:128:29: error: no matching function for call to 'v8::Number::New(int&)'
       obj->Set(Number::New(i), iface);
                             ^
../IFE.cc:128:29: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
   static Local<Number> New(Isolate* isolate, double value);
                        ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:131:18: error: 'class v8::HandleScope' has no member named 'Close'
     return scope.Close(obj);
                  ^
../IFE.cc: At global scope:
../IFE.cc:134:31: error: 'Arguments' does not name a type
   Handle<Value> IFE::up(const Arguments& args) {
                               ^
../IFE.cc:134:42: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
   Handle<Value> IFE::up(const Arguments& args) {
                                          ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static v8::Handle<v8::Value> node::IFE::up(const int&)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
   V8_INLINE HandleScope() {}
             ^
../IFE.cc:135:17: error: within this context
     HandleScope scope;
                 ^
../IFE.cc:138:31: error: request for member 'Holder' in 'args', which is of non-class type 'const int'
     Handle<Object> obj = args.Holder();
                               ^
../IFE.cc:142:29: error: invalid types 'const int[int]' for array subscript
     Local<Object> o = args[0]->ToObject();
                             ^
../IFE.cc:143:33: error: 'New' is not a member of 'v8::String'
     Local<Value> vname = o->Get(String::New("name"));
                                 ^
../IFE.cc:145:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New("name: undefined")));
                                           ^
../IFE.cc:145:74: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New("name: undefined")));
                                                                          ^
../IFE.cc:146:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false);
                                    ^
../IFE.cc:146:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:166:31: error: 'New' is not a member of 'v8::String'
     Local<Value> vip = o->Get(String::New("ip"));
                               ^
../IFE.cc:168:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New("ip: undefined")));
                                           ^
../IFE.cc:168:72: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New("ip: undefined")));
                                                                        ^
../IFE.cc:169:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false);
                                    ^
../IFE.cc:169:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:173:50: error: 'inet_pton' was not declared in this scope
     if(inet_pton(AF_INET, *(ipval), &iface.ipaddr) == 1) {
                                                  ^
../IFE.cc:153:32: error: 'New' is not a member of 'v8::String'
     Local<Value> ovip = o->Get(String::New(name)); \
                                ^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(bcast, "broadcast");
       ^
../IFE.cc:155:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New(name ": undefined"))); \
                                           ^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(bcast, "broadcast");
       ^
../IFE.cc:155:75: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New(name ": undefined"))); \
                                                                           ^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(bcast, "broadcast");
       ^
../IFE.cc:156:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false); \
                                    ^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(bcast, "broadcast");
       ^
../IFE.cc:156:36: note: candidate is:
       return v8::Boolean::New(false); \
                                    ^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(bcast, "broadcast");
       ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:161:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New(*val))); \
                                           ^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(bcast, "broadcast");
       ^
../IFE.cc:161:61: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New(*val))); \
                                                             ^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(bcast, "broadcast");
       ^
../IFE.cc:162:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false); \
                                    ^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(bcast, "broadcast");
       ^
../IFE.cc:162:36: note: candidate is:
       return v8::Boolean::New(false); \
                                    ^
../IFE.cc:174:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(bcast, "broadcast");
       ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:153:32: error: 'New' is not a member of 'v8::String'
     Local<Value> ovip = o->Get(String::New(name)); \
                                ^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(netmask, "netmask");
       ^
../IFE.cc:155:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New(name ": undefined"))); \
                                           ^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(netmask, "netmask");
       ^
../IFE.cc:155:75: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New(name ": undefined"))); \
                                                                           ^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(netmask, "netmask");
       ^
../IFE.cc:156:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false); \
                                    ^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(netmask, "netmask");
       ^
../IFE.cc:156:36: note: candidate is:
       return v8::Boolean::New(false); \
                                    ^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(netmask, "netmask");
       ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:161:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New(*val))); \
                                           ^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(netmask, "netmask");
       ^
../IFE.cc:161:61: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New(*val))); \
                                                             ^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(netmask, "netmask");
       ^
../IFE.cc:162:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false); \
                                    ^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(netmask, "netmask");
       ^
../IFE.cc:162:36: note: candidate is:
       return v8::Boolean::New(false); \
                                    ^
../IFE.cc:175:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(netmask, "netmask");
       ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:153:32: error: 'New' is not a member of 'v8::String'
     Local<Value> ovip = o->Get(String::New(name)); \
                                ^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(network, "network");
       ^
../IFE.cc:155:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New(name ": undefined"))); \
                                           ^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(network, "network");
       ^
../IFE.cc:155:75: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New(name ": undefined"))); \
                                                                           ^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(network, "network");
       ^
../IFE.cc:156:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false); \
                                    ^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(network, "network");
       ^
../IFE.cc:156:36: note: candidate is:
       return v8::Boolean::New(false); \
                                    ^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(network, "network");
       ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:161:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New(*val))); \
                                           ^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(network, "network");
       ^
../IFE.cc:161:61: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New(*val))); \
                                                             ^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(network, "network");
       ^
../IFE.cc:162:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false); \
                                    ^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(network, "network");
       ^
../IFE.cc:162:36: note: candidate is:
       return v8::Boolean::New(false); \
                                    ^
../IFE.cc:176:7: note: in expansion of macro 'GET_IPV4'
       GET_IPV4(network, "network");
       ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:180:35: error: 'New' is not a member of 'v8::String'
       Local<Value> pname = o->Get(String::New("prefixlen"));
                                   ^
../IFE.cc:186:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New(*ipval)));
                                           ^
../IFE.cc:186:63: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New(*ipval)));
                                                               ^
../IFE.cc:187:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false);
                                    ^
../IFE.cc:187:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:191:17: error: 'New' is not a member of 'v8::String'
       vChr[0] = String::New("error");
                 ^
../IFE.cc:192:17: error: 'New' is not a member of 'v8::String'
       vChr[1] = String::New(if_error());
                 ^
../IFE.cc:194:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false);
                                    ^
../IFE.cc:194:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:196:33: error: no matching function for call to 'v8::Boolean::New(bool)'
     return v8::Boolean::New(true);
                                 ^
../IFE.cc:196:33: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc: At global scope:
../IFE.cc:199:33: error: 'Arguments' does not name a type
   Handle<Value> IFE::down(const Arguments& args) {
                                 ^
../IFE.cc:199:44: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
   Handle<Value> IFE::down(const Arguments& args) {
                                            ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static v8::Handle<v8::Value> node::IFE::down(const int&)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
   V8_INLINE HandleScope() {}
             ^
../IFE.cc:200:17: error: within this context
     HandleScope scope;
                 ^
../IFE.cc:203:31: error: request for member 'Holder' in 'args', which is of non-class type 'const int'
     Handle<Object> obj = args.Holder();
                               ^
../IFE.cc:207:14: error: invalid types 'const int[int]' for array subscript
     if(args[0]->IsUndefined()) {
              ^
../IFE.cc:208:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New("argument undefined"))); \
                                           ^
../IFE.cc:208:77: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New("argument undefined"))); \
                                                                             ^
../IFE.cc:209:20: error: 'class v8::HandleScope' has no member named 'Close'
       return scope.Close(Undefined());
                    ^
../IFE.cc:209:36: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
       return scope.Close(Undefined());
                                    ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
   friend Handle<Primitive> Undefined(Isolate* isolate);
                            ^
../IFE.cc:211:30: error: invalid types 'const int[int]' for array subscript
     Local<String> ip = args[0]->ToString();
                              ^
../IFE.cc:213:48: error: 'inet_pton' was not declared in this scope
     if(inet_pton(AF_INET, *(val), &iface.ipaddr) == 1) {
                                                ^
../IFE.cc:220:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New(*val)));
                                           ^
../IFE.cc:220:61: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New(*val)));
                                                             ^
../IFE.cc:221:20: error: 'class v8::HandleScope' has no member named 'Close'
       return scope.Close(Undefined());
                    ^
../IFE.cc:221:36: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
       return scope.Close(Undefined());
                                    ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
   friend Handle<Primitive> Undefined(Isolate* isolate);
                            ^
../IFE.cc:223:13: error: request for member 'Length' in 'args', which is of non-class type 'const int'
     if(args.Length() == 2) {
             ^
../IFE.cc:224:7: error: 'AsciiValue' is not a member of 'v8::String'
       v8::String::AsciiValue val(args[1]);
       ^
../IFE.cc:224:30: error: expected ';' before 'val'
       v8::String::AsciiValue val(args[1]);
                              ^
../IFE.cc:233:17: error: 'New' is not a member of 'v8::String'
       vChr[0] = String::New("error");
                 ^
../IFE.cc:234:17: error: 'New' is not a member of 'v8::String'
       vChr[1] = String::New(if_error());
                 ^
../IFE.cc:236:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false);
                                    ^
../IFE.cc:236:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:238:33: error: no matching function for call to 'v8::Boolean::New(bool)'
     return v8::Boolean::New(true);
                                 ^
../IFE.cc:238:33: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc: At global scope:
../IFE.cc:241:36: error: 'Arguments' does not name a type
   Handle<Value> IFE::gratarp(const Arguments& args) {
                                    ^
../IFE.cc:241:47: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
   Handle<Value> IFE::gratarp(const Arguments& args) {
                                               ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static v8::Handle<v8::Value> node::IFE::gratarp(const int&)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
   V8_INLINE HandleScope() {}
             ^
../IFE.cc:247:17: error: within this context
     HandleScope scope;
                 ^
../IFE.cc:249:29: error: invalid types 'const int[int]' for array subscript
     Local<Object> o = args[0]->ToObject();
                             ^
../IFE.cc:250:33: error: 'New' is not a member of 'v8::String'
     Local<Value> vname = o->Get(String::New("name"));
                                 ^
../IFE.cc:252:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New("name: undefined")));
                                           ^
../IFE.cc:252:74: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New("name: undefined")));
                                                                          ^
../IFE.cc:253:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false);
                                    ^
../IFE.cc:253:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:259:33: error: 'New' is not a member of 'v8::String'
     Local<Value> vmyip = o->Get(String::New("local_ip"));
                                 ^
../IFE.cc:261:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New("local_ip: undefined")));
                                           ^
../IFE.cc:261:78: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New("local_ip: undefined")));
                                                                              ^
../IFE.cc:262:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false);
                                    ^
../IFE.cc:262:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:266:46: error: 'inet_pton' was not declared in this scope
     if(inet_pton(AF_INET, *(val_myip), &my_ip) != 1) {
                                              ^
../IFE.cc:267:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New(*val_myip)));
                                           ^
../IFE.cc:267:66: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New(*val_myip)));
                                                                  ^
../IFE.cc:268:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false);
                                    ^
../IFE.cc:268:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:271:32: error: 'New' is not a member of 'v8::String'
     Local<Value> vrip = o->Get(String::New("remote_ip"));
                                ^
../IFE.cc:273:43: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::TypeError(String::New("remote_ip: undefined")));
                                           ^
../IFE.cc:273:79: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::TypeError(String::New("remote_ip: undefined")));
                                                                               ^
../IFE.cc:274:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false);
                                    ^
../IFE.cc:274:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:278:44: error: 'inet_pton' was not declared in this scope
     if(inet_pton(AF_INET, *(val_rip), &r_ip) != 1) {
                                            ^
../IFE.cc:279:39: error: 'New' is not a member of 'v8::String'
       ThrowException(Exception::Error(String::New(*val_rip)));
                                       ^
../IFE.cc:279:61: error: 'ThrowException' was not declared in this scope
       ThrowException(Exception::Error(String::New(*val_rip)));
                                                             ^
../IFE.cc:280:36: error: no matching function for call to 'v8::Boolean::New(bool)'
       return v8::Boolean::New(false);
                                    ^
../IFE.cc:280:36: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
 Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
                 ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../IFE.cc:283:33: error: 'New' is not a member of 'v8::String'
     Local<Value> vrmac = o->Get(String::New("remote_mac"));
                                 ^
../IFE.cc:301:41: error: 'New' is not a member of 'v8::String'
         ThrowException(Exception::Error(String::New("bad mac address")));
                                         ^
../IFE.cc:301:72: error: 'ThrowException' was not declared in this scope
         ThrowException(Exception::Error(String::New("bad mac address")));
                                                                        ^
../IFE.cc:302:22: error: 'class v8::HandleScope' has no member named 'Close'
         return scope.Close(Undefined());
                      ^
../IFE.cc:302:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
         return scope.Close(Undefined());
                                      ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
   friend Handle<Primitive> Undefined(Isolate* isolate);
                            ^
../IFE.cc:306:13: error: request for member 'Length' in 'args', which is of non-class type 'const int'
     if(args.Length() > 1) {
             ^
../IFE.cc:307:17: error: invalid types 'const int[int]' for array subscript
       if(!args[1]->IsNumber()) {
                 ^
../IFE.cc:308:45: error: 'New' is not a member of 'v8::String'
         ThrowException(Exception::TypeError(String::New("Second argument must be a number")));
                                             ^
../IFE.cc:308:93: error: 'ThrowException' was not declared in this scope
         ThrowException(Exception::TypeError(String::New("Second argument must be a number")));
                                                                                             ^
../IFE.cc:309:22: error: 'class v8::HandleScope' has no member named 'Close'
         return scope.Close(Undefined());
                      ^
../IFE.cc:309:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
         return scope.Close(Undefined());
                                      ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
   friend Handle<Primitive> Undefined(Isolate* isolate);
                            ^
../IFE.cc:311:21: error: invalid types 'const int[int]' for array subscript
       count = args[1]->NumberValue();
                     ^
../IFE.cc:314:13: error: request for member 'Length' in 'args', which is of non-class type 'const int'
     if(args.Length() > 2) {
             ^
../IFE.cc:315:17: error: invalid types 'const int[int]' for array subscript
       if(!args[2]->IsBoolean()) {
                 ^
../IFE.cc:316:45: error: 'New' is not a member of 'v8::String'
         ThrowException(Exception::TypeError(String::New("Third argument must be a boolean")));
                                             ^
../IFE.cc:316:93: error: 'ThrowException' was not declared in this scope
         ThrowException(Exception::TypeError(String::New("Third argument must be a boolean")));
                                                                                             ^
../IFE.cc:317:22: error: 'class v8::HandleScope' has no member named 'Close'
         return scope.Close(Undefined());
                      ^
../IFE.cc:317:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
         return scope.Close(Undefined());
                                      ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
   friend Handle<Primitive> Undefined(Isolate* isolate);
                            ^
../IFE.cc:319:23: error: invalid types 'const int[int]' for array subscript
       do_ping = args[2]->BooleanValue();
                       ^
../IFE.cc:321:41: error: 'New' is not a member of 'v8::String'
         ThrowException(Exception::Error(String::New("Can't do ping without remote mac")));
                                         ^
../IFE.cc:321:89: error: 'ThrowException' was not declared in this scope
         ThrowException(Exception::Error(String::New("Can't do ping without remote mac")));
                                                                                         ^
../IFE.cc:322:22: error: 'class v8::HandleScope' has no member named 'Close'
         return scope.Close(Undefined());
                      ^
../IFE.cc:322:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
         return scope.Close(Undefined());
                                      ^
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:305:28: note: declared here
   friend Handle<Primitive> Undefined(Isolate* isolate);
                            ^
../IFE.cc:327:18: error: 'class v8::HandleScope' has no member named 'Close'
     return scope.Close(Integer::New(count));
                  ^
../IFE.cc:327:42: error: no matching function for call to 'v8::Integer::New(int&)'
     return scope.Close(Integer::New(count));
                                          ^
../IFE.cc:327:42: note: candidate is:
In file included from ../IFE.cc:6:0:
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
   static Local<Integer> New(Isolate* isolate, int32_t value);
                         ^
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided
In file included from ../IFEheader.h:4:0,
                 from ../IFE.cc:12:
/root/.node-gyp/0.12.2/src/node_object_wrap.h: In instantiation of 'static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = node::IFE]':
../IFE.cc:139:43:   required from here
/root/.node-gyp/0.12.2/src/node_object_wrap.h:55:32: error: 'node::ObjectWrap' is an inaccessible base of 'node::IFE'
     return static_cast<T*>(wrap);
                                ^
../IFE.cc: In static member function 'static v8::Handle<v8::Value> node::IFE::New(const int&)':
../IFE.cc:70:3: warning: control reaches end of non-void function [-Wreturn-type]
   }
   ^
../IFE.cc: In static member function 'static v8::Handle<v8::Value> node::IFE::arpcache(const int&)':
../IFE.cc:92:3: warning: control reaches end of non-void function [-Wreturn-type]
   }
   ^
../IFE.cc: In static member function 'static v8::Handle<v8::Value> node::IFE::list(const int&)':
../IFE.cc:132:3: warning: control reaches end of non-void function [-Wreturn-type]
   }
   ^
../IFE.cc: In static member function 'static v8::Handle<v8::Value> node::IFE::up(const int&)':
../IFE.cc:197:3: warning: control reaches end of non-void function [-Wreturn-type]
   }
   ^
In file included from ../IFEheader.h:4:0,
                 from ../IFE.cc:12:
/root/.node-gyp/0.12.2/src/node_object_wrap.h: In static member function 'static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = node::IFE]':
/root/.node-gyp/0.12.2/src/node_object_wrap.h:56:3: warning: control reaches end of non-void function [-Wreturn-type]
   }
   ^
../IFE.cc: In static member function 'static v8::Handle<v8::Value> node::IFE::down(const int&)':
../IFE.cc:239:3: warning: control reaches end of non-void function [-Wreturn-type]
   }
   ^
../IFE.cc: In static member function 'static v8::Handle<v8::Value> node::IFE::gratarp(const int&)':
../IFE.cc:328:3: warning: control reaches end of non-void function [-Wreturn-type]
   }
   ^
IFEBinding.target.mk:87: recipe for target 'Release/obj.target/IFEBinding/IFE.o' failed
gmake: *** [Release/obj.target/IFEBinding/IFE.o] Error 1
gmake: Leaving directory '/node_modules/ife/build'
gyp ERR! build error 
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System FreeBSD 9.3-RELEASE
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /node_modules/ife
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok 
npm ERR! FreeBSD 9.3-RELEASE
npm ERR! argv "node" "/usr/local/bin/npm" "install" "/tmp/node-ife/"
npm ERR! node v0.12.2
npm ERR! npm  v2.9.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ife 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 ife
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /npm-debug.log

from node-ife.

postwait avatar postwait commented on July 30, 2024

And against node 0.10?

from node-ife.

daflip avatar daflip commented on July 30, 2024

Ya was just trying that now.. I had to compile node from the source since the pkg package is 0.12. it's looking a lot closer to working now:

env CC=gcc48 CXX=g++48 CPP=cpp48 npm install /tmp/node-ife/

> [email protected] install /usr/home/jbw/node_modules/ife
> node-gyp rebuild

gmake: Entering directory '/usr/home/jbw/node_modules/ife/build'
  CXX(target) Release/obj.target/IFEBinding/IFE.o
  CXX(target) Release/obj.target/IFEBinding/ife-icmp-support.o
  CXX(target) Release/obj.target/IFEBinding/ife-bpf.o
In file included from ../ife-bpf.cc:16:0:
/usr/include/netinet/in_var.h:60:16: error: field 'ia_ifa' has incomplete type
  struct ifaddr ia_ifa;  /* protocol-independent info */
                ^
/usr/include/netinet/in_var.h:209:18: error: field 'igi_gq' has incomplete type
  struct ifqueue  igi_gq; /* queue of general query responses */
                  ^
/usr/include/netinet/in_var.h:298:19: error: field 'inm_scq' has incomplete type
  struct ifqueue   inm_scq; /* queue of pending
                   ^
In file included from /usr/include/netinet/in_var.h:474:0,
                 from ../ife-bpf.cc:16:
/usr/include/netinet6/in6_var.h:112:16: error: field 'ia_ifa' has incomplete type
  struct ifaddr ia_ifa;  /* protocol-independent info */
                ^
/usr/include/netinet6/in6_var.h:610:19: error: field 'in6m_scq' has incomplete type
  struct ifqueue   in6m_scq; /* queue of pending
                   ^
../ife-bpf.cc: In function 'int if_down(interface*)':
../ife-bpf.cc:228:5: sorry, unimplemented: non-trivial designated initializers not supported
     };
     ^
../ife-bpf.cc:228:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_broadaddr' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_prefixmask' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_flags' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_lifetime' [-Wmissing-field-initializers]
../ife-bpf.cc: In function 'int if_up(interface*)':
../ife-bpf.cc:293:5: sorry, unimplemented: non-trivial designated initializers not supported
     };
     ^
../ife-bpf.cc:293:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_broadaddr' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_prefixmask' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_flags' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_lifetime' [-Wmissing-field-initializers]
IFEBinding.target.mk:86: recipe for target 'Release/obj.target/IFEBinding/ife-bpf.o' failed
gmake: *** [Release/obj.target/IFEBinding/ife-bpf.o] Error 1
gmake: Leaving directory '/usr/home/jbw/node_modules/ife/build'
gyp ERR! build error 
gyp ERR! stack Error: `gmake` failed 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:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System FreeBSD 9.3-RELEASE
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/home/jbw/node_modules/ife
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok 
npm ERR! weird error 1
npm ERR! not ok code 0

from node-ife.

daflip avatar daflip commented on July 30, 2024

I included net/if_var.h in ife.h and it's getting a little further now:

env CC=gcc48 CXX=g++48 CPP=cpp48 npm install /tmp/node-ife/


> [email protected] install /node_modules/ife
> node-gyp rebuild

gmake: Entering directory '/node_modules/ife/build'
  CXX(target) Release/obj.target/IFEBinding/IFE.o
  CXX(target) Release/obj.target/IFEBinding/ife-icmp-support.o
  CXX(target) Release/obj.target/IFEBinding/ife-bpf.o
../ife-bpf.cc: In function 'int if_down(interface*)':
../ife-bpf.cc:228:5: sorry, unimplemented: non-trivial designated initializers not supported
     };
     ^
../ife-bpf.cc:228:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_broadaddr' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_prefixmask' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_flags' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_lifetime' [-Wmissing-field-initializers]
../ife-bpf.cc: In function 'int if_up(interface*)':
../ife-bpf.cc:293:5: sorry, unimplemented: non-trivial designated initializers not supported
     };
     ^
../ife-bpf.cc:293:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_broadaddr' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_prefixmask' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_flags' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_lifetime' [-Wmissing-field-initializers]
IFEBinding.target.mk:86: recipe for target 'Release/obj.target/IFEBinding/ife-bpf.o' failed
gmake: *** [Release/obj.target/IFEBinding/ife-bpf.o] Error 1
gmake: Leaving directory '/node_modules/ife/build'
gyp ERR! build error 
gyp ERR! stack Error: `gmake` failed 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:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System FreeBSD 9.3-RELEASE
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /node_modules/ife
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok 
npm ERR! weird error 1
npm ERR! not ok code 0

Seems like the above issues are caused by gcc 4.8 .. i will try gcc 4.7

from node-ife.

daflip avatar daflip commented on July 30, 2024

gcc 4.7:

env CC=gcc47 CXX=g++47 CPP=cpp47 npm install /tmp/node-ife/

> [email protected] install /usr/ports/lang/gcc47/node_modules/ife
> node-gyp rebuild

gmake: Entering directory '/usr/ports/lang/gcc47/node_modules/ife/build'
  CXX(target) Release/obj.target/IFEBinding/IFE.o
  CXX(target) Release/obj.target/IFEBinding/ife-icmp-support.o
  CXX(target) Release/obj.target/IFEBinding/ife-bpf.o
../ife-bpf.cc: In function 'int if_down(interface*)':
../ife-bpf.cc:228:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:228:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_broadaddr' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_prefixmask' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_flags' [-Wmissing-field-initializers]
../ife-bpf.cc:228:5: warning: missing initializer for member 'in6_aliasreq::ifra_lifetime' [-Wmissing-field-initializers]
../ife-bpf.cc: In function 'int if_up(interface*)':
../ife-bpf.cc:293:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:293:5: sorry, unimplemented: non-trivial designated initializers not supported
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_broadaddr' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_prefixmask' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_flags' [-Wmissing-field-initializers]
../ife-bpf.cc:293:5: warning: missing initializer for member 'in6_aliasreq::ifra_lifetime' [-Wmissing-field-initializers]
IFEBinding.target.mk:86: recipe for target 'Release/obj.target/IFEBinding/ife-bpf.o' failed
gmake: *** [Release/obj.target/IFEBinding/ife-bpf.o] Error 1
gmake: Leaving directory '/usr/ports/lang/gcc47/node_modules/ife/build'
gyp ERR! build error 
gyp ERR! stack Error: `gmake` failed 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:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System FreeBSD 9.3-RELEASE
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/ports/lang/gcc47/node_modules/ife
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok 
npm ERR! weird error 1
npm ERR! not ok code 0

from node-ife.

daflip avatar daflip commented on July 30, 2024

OK I give up, too much time wasted on this now. If I can be of any further assistance resolving this issue just let me know.

from node-ife.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.