> dtrace-provider@0.2.8 install /Users/user1/src/lelylan/mqtt/node_modules/dtrace-provider > node-gyp rebuild ACTION binding_gyp_libusdt_target_build_libusdt . Building libusdt for x86_64 rm -f *.gch rm -f *.o rm -f libusdt.a rm -f test_usdt rm -f test_usdt32 rm -f test_usdt64 rm -f test_mem_usage gcc -O2 -arch x86_64 -c -o usdt.o usdt.c usdt.c:212:9: warning: implicit declaration of function 'usdt_dof_section_free' is invalid in C99 [-Wimplicit-function-declaration] usdt_dof_section_free(&strtab); ^ usdt.c:238:9: warning: implicit declaration of function 'usdt_dof_file_free' is invalid in C99 [-Wimplicit-function-declaration] usdt_dof_file_free(provider->file); ^ 2 warnings generated. gcc -O2 -arch x86_64 -c -o usdt_dof_file.o usdt_dof_file.c gcc -arch x86_64 -o usdt_tracepoints.o -c usdt_tracepoints_x86_64.s gcc -O2 -arch x86_64 -c -o usdt_probe.o usdt_probe.c gcc -O2 -arch x86_64 -c -o usdt_dof.o usdt_dof.c gcc -O2 -arch x86_64 -c -o usdt_dof_sections.o usdt_dof_sections.c rm -f libusdt.a ar cru libusdt.a usdt.o usdt_dof_file.o usdt_tracepoints.o usdt_probe.o usdt_dof.o usdt_dof_sections.o ranlib libusdt.a TOUCH Release/obj.target/libusdt.stamp CXX(target) Release/obj.target/DTraceProviderBindings/dtrace_provider.o In file included from ../dtrace_provider.cc:1: ../dtrace_provider.h:69:44: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'? static v8::Handle New(const v8::Arguments& args); ^~~~~~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ In file included from ../dtrace_provider.cc:1: ../dtrace_provider.h:70:45: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'? static v8::Handle Fire(const v8::Arguments& args); ^~~~~~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ In file included from ../dtrace_provider.cc:1: ../dtrace_provider.h:87:44: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'? static v8::Handle New(const v8::Arguments& args); ^~~~~~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ In file included from ../dtrace_provider.cc:1: ../dtrace_provider.h:88:49: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'? static v8::Handle AddProbe(const v8::Arguments& args); ^~~~~~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ In file included from ../dtrace_provider.cc:1: ../dtrace_provider.h:89:52: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'? static v8::Handle RemoveProbe(const v8::Arguments& args); ^~~~~~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ In file included from ../dtrace_provider.cc:1: ../dtrace_provider.h:90:47: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'? static v8::Handle Enable(const v8::Arguments& args); ^~~~~~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ In file included from ../dtrace_provider.cc:1: ../dtrace_provider.h:91:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'? static v8::Handle Disable(const v8::Arguments& args); ^~~~~~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ In file included from ../dtrace_provider.cc:1: ../dtrace_provider.h:92:45: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'? static v8::Handle Fire(const v8::Arguments& args); ^~~~~~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../dtrace_provider.cc:23:17: error: calling a protected constructor of class 'v8::HandleScope' HandleScope scope; ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:889:13: note: declared protected here V8_INLINE HandleScope() {} ^ ../dtrace_provider.cc:25:55: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type 'v8::Handle (const v8::internal::Arguments &)' (aka 'v8::Local (const v8::internal::Arguments &)') Local t = FunctionTemplate::New(DTraceProvider::New); ^~~~~~~~~~~~~~~~~~~ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:4349:16: note: passing argument to parameter 'isolate' here Isolate* isolate, FunctionCallback callback = 0, ^ ../dtrace_provider.cc:26:58: error: 'New' is a private member of 'v8::PersistentBase' constructor_template = Persistent::New(t); ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:643:23: note: declared private here V8_INLINE static T* New(Isolate* isolate, T* that); ^ ../dtrace_provider.cc:26:28: error: too few arguments to function call, expected 2, have 1; did you mean 'DTraceProbe::New'? constructor_template = Persistent::New(t); ^~~~~~~~~~ DTraceProbe::New ../dtrace_provider.h:69:34: note: 'DTraceProbe::New' declared here static v8::Handle New(const v8::Arguments& args); ^ ../dtrace_provider.cc:27:25: error: member reference type 'Persistent' is not a pointer; did you mean to use '.'? constructor_template->InstanceTemplate()->SetInternalFieldCount(1); ~~~~~~~~~~~~~~~~~~~~^~ . ../dtrace_provider.cc:27:27: error: no member named 'InstanceTemplate' in 'v8::Persistent >' constructor_template->InstanceTemplate()->SetInternalFieldCount(1); ~~~~~~~~~~~~~~~~~~~~ ^ ../dtrace_provider.cc:28:25: error: member reference type 'Persistent' is not a pointer; did you mean to use '.'? constructor_template->SetClassName(String::NewSymbol("DTraceProvider")); ~~~~~~~~~~~~~~~~~~~~^~ . ../dtrace_provider.cc:28:27: error: no member named 'SetClassName' in 'v8::Persistent >' constructor_template->SetClassName(String::NewSymbol("DTraceProvider")); ~~~~~~~~~~~~~~~~~~~~ ^ ../dtrace_provider.cc:28:48: error: no member named 'NewSymbol' in 'v8::String' constructor_template->SetClassName(String::NewSymbol("DTraceProvider")); ~~~~~~~~^ ../dtrace_provider.cc:30:31: error: no viable conversion from 'Persistent' to 'v8::Local' NODE_SET_PROTOTYPE_METHOD(constructor_template, "addProbe", DTraceProvider::AddProbe); ^~~~~~~~~~~~~~~~~~~~ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Persistent' to 'const v8::Local &' for 1st argument class Local { ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Persistent' to 'v8::Local &&' for 1st argument /Users/user1/.node-gyp/5.1.1/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'Persistent' V8_INLINE Local(Local that) ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'Persistent' V8_INLINE Local(S* that) ^ /Users/user1/.node-gyp/5.1.1/include/node/node.h:252:71: note: passing argument to parameter 'recv' here inline void NODE_SET_PROTOTYPE_METHOD(v8::Local recv, ^ ../dtrace_provider.cc:31:31: error: no viable conversion from 'Persistent' to 'v8::Local' NODE_SET_PROTOTYPE_METHOD(constructor_template, "removeProbe", DTraceProvider::RemoveProbe); ^~~~~~~~~~~~~~~~~~~~ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Persistent' to 'const v8::Local &' for 1st argument class Local { ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Persistent' to 'v8::Local &&' for 1st argument /Users/user1/.node-gyp/5.1.1/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'Persistent' V8_INLINE Local(Local that) ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'Persistent' V8_INLINE Local(S* that) ^ /Users/user1/.node-gyp/5.1.1/include/node/node.h:252:71: note: passing argument to parameter 'recv' here inline void NODE_SET_PROTOTYPE_METHOD(v8::Local recv, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [Release/obj.target/DTraceProviderBindings/dtrace_provider.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Darwin 15.4.0 gyp ERR! command "/usr/local/Cellar/node/5.1.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/user1/src/lelylan/mqtt/node_modules/dtrace-provider gyp ERR! node -v v5.1.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok npm WARN install:dtrace-provider@0.2.8 dtrace-provider@0.2.8 install: `node-gyp rebuild` npm WARN install:dtrace-provider@0.2.8 Exit status 1 > fs-ext@0.3.2 install /Users/user1/src/lelylan/mqtt/node_modules/fs-ext > node-gyp configure build CXX(target) Release/obj.target/fs-ext/fs-ext.o ../fs-ext.cc:91:23: error: unknown type name 'uv_work_t' static void EIO_After(uv_work_t *req) { ^ ../fs-ext.cc:92:15: error: calling a protected constructor of class 'v8::HandleScope' HandleScope scope; ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:889:13: note: declared protected here V8_INLINE HandleScope() {} ^ ../fs-ext.cc:106:15: warning: 'ErrnoException' is deprecated: Use UVException(isolate, ...) [-Wdeprecated-declarations] argv[0] = ErrnoException(store_data->error); ^ /Users/user1/.node-gyp/5.1.1/include/node/node.h:100:45: note: 'ErrnoException' has been explicitly marked deprecated here inline v8::Local ErrnoException( ^ ../fs-ext.cc:109:33: error: no matching function for call to 'Null' argv[0] = Local::New(Null()); ^~~~ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:8120:18: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided Local Null(Isolate* isolate) { ^ ../fs-ext.cc:120:49: error: too few arguments to function call, expected 2, have 1 argv[1] = Number::New(store_data->offset); ~~~~~~~~~~~ ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2483:3: note: 'New' declared here static Local New(Isolate* isolate, double value); ^ ../fs-ext.cc:125:38: error: too few arguments to function call, single argument 'isolate' was not specified statvfs_result = Object::New(); ~~~~~~~~~~~ ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2930:3: note: 'New' declared here static Local New(Isolate* isolate); ^ ../fs-ext.cc:127:93: error: too few arguments to function call, expected 2, have 1 statvfs_result->Set(f_namemax_symbol, Integer::New(store_data->statvfs_buf.f_namemax)); ~~~~~~~~~~~~ ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2496:3: note: 'New' declared here static Local New(Isolate* isolate, int32_t value); ^ ../fs-ext.cc:128:89: error: too few arguments to function call, expected 2, have 1 statvfs_result->Set(f_bsize_symbol, Integer::New(store_data->statvfs_buf.f_bsize)); ~~~~~~~~~~~~ ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2496:3: note: 'New' declared here static Local New(Isolate* isolate, int32_t value); ^ ../fs-ext.cc:129:91: error: too few arguments to function call, expected 2, have 1 statvfs_result->Set(f_frsize_symbol, Integer::New(store_data->statvfs_buf.f_frsize)); ~~~~~~~~~~~~ ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2496:3: note: 'New' declared here static Local New(Isolate* isolate, int32_t value); ^ ../fs-ext.cc:130:90: error: too few arguments to function call, expected 2, have 1 statvfs_result->Set(f_blocks_symbol, Number::New(store_data->statvfs_buf.f_blocks)); ~~~~~~~~~~~ ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2483:3: note: 'New' declared here static Local New(Isolate* isolate, double value); ^ ../fs-ext.cc:131:90: error: too few arguments to function call, expected 2, have 1 statvfs_result->Set(f_bavail_symbol, Number::New(store_data->statvfs_buf.f_bavail)); ~~~~~~~~~~~ ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2483:3: note: 'New' declared here static Local New(Isolate* isolate, double value); ^ ../fs-ext.cc:132:88: error: too few arguments to function call, expected 2, have 1 statvfs_result->Set(f_bfree_symbol, Number::New(store_data->statvfs_buf.f_bfree)); ~~~~~~~~~~~ ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2483:3: note: 'New' declared here static Local New(Isolate* isolate, double value); ^ ../fs-ext.cc:133:88: error: too few arguments to function call, expected 2, have 1 statvfs_result->Set(f_files_symbol, Number::New(store_data->statvfs_buf.f_files)); ~~~~~~~~~~~ ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2483:3: note: 'New' declared here static Local New(Isolate* isolate, double value); ^ ../fs-ext.cc:134:90: error: too few arguments to function call, expected 2, have 1 statvfs_result->Set(f_favail_symbol, Number::New(store_data->statvfs_buf.f_favail)); ~~~~~~~~~~~ ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2483:3: note: 'New' declared here static Local New(Isolate* isolate, double value); ^ ../fs-ext.cc:135:88: error: too few arguments to function call, expected 2, have 1 statvfs_result->Set(f_ffree_symbol, Number::New(store_data->statvfs_buf.f_ffree)); ~~~~~~~~~~~ ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2483:3: note: 'New' declared here static Local New(Isolate* isolate, double value); ^ ../fs-ext.cc:147:22: error: member reference type 'Persistent' is not a pointer; did you mean to use '.'? (*(store_data->cb))->Call(v8::Context::GetCurrent()->Global(), argc, argv); ~~~~~~~~~~~~~~~~~~~^~ . ../fs-ext.cc:147:24: error: no member named 'Call' in 'v8::Persistent >' (*(store_data->cb))->Call(v8::Context::GetCurrent()->Global(), argc, argv); ~~~~~~~~~~~~~~~~~~~ ^ ../fs-ext.cc:147:42: error: no member named 'GetCurrent' in 'v8::Context' (*(store_data->cb))->Call(v8::Context::GetCurrent()->Global(), argc, argv); ~~~~~~~~~~~~~^ ../fs-ext.cc:150:5: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations] FatalException(try_catch); ^ /Users/user1/.node-gyp/5.1.1/include/node/node.h:283:29: note: 'FatalException' has been explicitly marked deprecated here inline void FatalException(const v8::TryCatch& try_catch) { ^ ../fs-ext.cc:154:3: error: use of undeclared identifier 'cb_destroy' cb_destroy(store_data->cb); ^ ../fs-ext.cc:159:25: error: unknown type name 'uv_work_t' static void EIO_StatVFS(uv_work_t *req) { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make: *** [Release/obj.target/fs-ext/fs-ext.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Darwin 15.4.0 gyp ERR! command "/usr/local/Cellar/node/5.1.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" gyp ERR! cwd /Users/user1/src/lelylan/mqtt/node_modules/fs-ext gyp ERR! node -v v5.1.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok npm WARN install:fs-ext@0.3.2 fs-ext@0.3.2 install: `node-gyp configure build` npm WARN install:fs-ext@0.3.2 Exit status 1 > hiredis@0.1.17 install /Users/user1/src/lelylan/mqtt/node_modules/hiredis > node-gyp rebuild CC(target) Release/obj.target/hiredis/deps/hiredis/hiredis.o CC(target) Release/obj.target/hiredis/deps/hiredis/net.o CC(target) Release/obj.target/hiredis/deps/hiredis/sds.o CC(target) Release/obj.target/hiredis/deps/hiredis/async.o LIBTOOL-STATIC Release/hiredis.a CXX(target) Release/obj.target/hiredis/src/hiredis.o In file included from ../src/hiredis.cc:3: In file included from ../src/reader.h:4: ../node_modules/nan/nan.h:335:68: error: too many arguments to function call, expected at most 2, have 4 return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv); ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:4674:3: note: 'New' declared here static Local New( ^ In file included from ../src/hiredis.cc:3: In file included from ../src/reader.h:4: ../node_modules/nan/nan.h:417:3: error: redefinition of 'NanNew' NanNew >( ^ ../node_modules/nan/nan.h:410:3: note: previous definition is here NanNew >( ^ ../node_modules/nan/nan.h:435:36: error: redefinition of 'NanNew' NAN_INLINE v8::Local NanNew( ^ ../node_modules/nan/nan.h:429:36: note: previous definition is here NAN_INLINE v8::Local NanNew( ^ ../node_modules/nan/nan.h:447:36: error: redefinition of 'NanNew' NAN_INLINE v8::Local NanNew( ^ ../node_modules/nan/nan.h:441:36: note: previous definition is here NAN_INLINE v8::Local NanNew( ^ ../node_modules/nan/nan.h:616:19: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'? v8::String::ExternalAsciiStringResource *resource) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ExternalStringResource /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2207:19: note: 'ExternalStringResource' declared here class V8_EXPORT ExternalStringResource ^ In file included from ../src/hiredis.cc:3: In file included from ../src/reader.h:4: ../node_modules/nan/nan.h:615:36: error: redefinition of 'NanNew' NAN_INLINE v8::Local NanNew( ^ ../node_modules/nan/nan.h:610:36: note: previous definition is here NAN_INLINE v8::Local NanNew( ^ ../node_modules/nan/nan.h:630:27: error: redefinition of '_NanEscapeScopeHelper' NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../node_modules/nan/nan.h:625:27: note: previous definition is here NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Handle val) { ^ ../node_modules/nan/nan.h:646:12: error: no matching function for call to '_NanEscapeScopeHelper' return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:634:43: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val)) ^~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:630:27: note: candidate template ignored: substitution failure [with T = v8::Primitive] NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../node_modules/nan/nan.h:651:12: error: no matching function for call to '_NanEscapeScopeHelper' return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:634:43: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val)) ^~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:630:27: note: candidate template ignored: substitution failure [with T = v8::Primitive] NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../node_modules/nan/nan.h:656:12: error: no matching function for call to '_NanEscapeScopeHelper' return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:634:43: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val)) ^~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:630:27: note: candidate template ignored: substitution failure [with T = v8::Boolean] NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../node_modules/nan/nan.h:661:12: error: no matching function for call to '_NanEscapeScopeHelper' return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:634:43: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val)) ^~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:630:27: note: candidate template ignored: substitution failure [with T = v8::Boolean] NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../node_modules/nan/nan.h:878:13: error: no member named 'smalloc' in namespace 'node' , node::smalloc::FreeCallback callback ~~~~~~^ ../node_modules/nan/nan.h:889:12: error: no matching function for call to 'New' return node::Buffer::New(v8::Isolate::GetCurrent(), data, size); ^~~~~~~~~~~~~~~~~ /Users/user1/.node-gyp/5.1.1/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, ^ /Users/user1/.node-gyp/5.1.1/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, ^ /Users/user1/.node-gyp/5.1.1/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, size_t length); ^ /Users/user1/.node-gyp/5.1.1/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, ^ In file included from ../src/hiredis.cc:3: In file included from ../src/reader.h:4: ../node_modules/nan/nan.h:893:12: error: no viable conversion from returned value of type 'v8::MaybeLocal' to function return type 'v8::Local' return node::Buffer::New(v8::Isolate::GetCurrent(), size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal' to 'const v8::Local &' for 1st argument class Local { ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal' to 'v8::Local &&' for 1st argument /Users/user1/.node-gyp/5.1.1/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal' V8_INLINE Local(Local that) ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal' V8_INLINE Local(S* that) ^ In file included from ../src/hiredis.cc:3: In file included from ../src/reader.h:4: ../node_modules/nan/nan.h:900:26: error: no member named 'Use' in namespace 'node::Buffer' return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size); ~~~~~~~~~~~~~~^ ../node_modules/nan/nan.h:1680:12: error: no matching function for call to '_NanEscapeScopeHelper' return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:634:43: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val)) ^~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:630:27: note: candidate template ignored: substitution failure [with T = v8::Function] NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../node_modules/nan/nan.h:1767:12: error: no matching function for call to '_NanEscapeScopeHelper' return NanEscapeScope(handle->Get(NanNew(key)).As()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:634:43: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val)) ^~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:630:27: note: candidate template ignored: substitution failure [with T = v8::Object] NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../node_modules/nan/nan.h:1973:12: error: no member named 'IsExternalAscii' in 'v8::String'; did you mean 'IsExternal'? if (str->IsExternalAscii()) { ^~~~~~~~~~~~~~~ IsExternal /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2171:8: note: 'IsExternal' declared here bool IsExternal() const; ^ In file included from ../src/hiredis.cc:3: In file included from ../src/reader.h:4: ../node_modules/nan/nan.h:1974:23: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'? const v8::String::ExternalAsciiStringResource* ext; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ExternalStringResource /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2207:19: note: 'ExternalStringResource' declared here class V8_EXPORT ExternalStringResource ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [Release/obj.target/hiredis/src/hiredis.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Darwin 15.4.0 gyp ERR! command "/usr/local/Cellar/node/5.1.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/user1/src/lelylan/mqtt/node_modules/hiredis gyp ERR! node -v v5.1.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok npm WARN install:hiredis@0.1.17 hiredis@0.1.17 install: `node-gyp rebuild` npm WARN install:hiredis@0.1.17 Exit status 1 > zmq@2.8.0 install /Users/user1/src/lelylan/mqtt/node_modules/mosca/node_modules/zmq > node-gyp rebuild CXX(target) Release/obj.target/zmq/binding.o In file included from ../binding.cc:36: ../../nan/nan.h:189:68: error: too many arguments to function call, expected at most 2, have 4 return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv); ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:4674:3: note: 'New' declared here static Local New( ^ In file included from ../binding.cc:36: ../../nan/nan.h:271:3: error: redefinition of 'NanNew' NanNew >( ^ ../../nan/nan.h:264:3: note: previous definition is here NanNew >( ^ ../../nan/nan.h:289:36: error: redefinition of 'NanNew' NAN_INLINE v8::Local NanNew( ^ ../../nan/nan.h:283:36: note: previous definition is here NAN_INLINE v8::Local NanNew( ^ ../../nan/nan.h:301:36: error: redefinition of 'NanNew' NAN_INLINE v8::Local NanNew( ^ ../../nan/nan.h:295:36: note: previous definition is here NAN_INLINE v8::Local NanNew( ^ ../../nan/nan.h:481:19: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'? v8::String::ExternalAsciiStringResource *resource) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ExternalStringResource /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2207:19: note: 'ExternalStringResource' declared here class V8_EXPORT ExternalStringResource ^ In file included from ../binding.cc:36: ../../nan/nan.h:480:36: error: redefinition of 'NanNew' NAN_INLINE v8::Local NanNew( ^ ../../nan/nan.h:475:36: note: previous definition is here NAN_INLINE v8::Local NanNew( ^ ../../nan/nan.h:495:27: error: redefinition of '_NanEscapeScopeHelper' NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../../nan/nan.h:490:27: note: previous definition is here NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Handle val) { ^ ../../nan/nan.h:511:12: error: no matching function for call to '_NanEscapeScopeHelper' return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val)) ^~~~~~~~~~~~~~~~~~~~~ ../../nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Primitive] NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../../nan/nan.h:516:12: error: no matching function for call to '_NanEscapeScopeHelper' return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val)) ^~~~~~~~~~~~~~~~~~~~~ ../../nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Primitive] NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../../nan/nan.h:521:12: error: no matching function for call to '_NanEscapeScopeHelper' return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val)) ^~~~~~~~~~~~~~~~~~~~~ ../../nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Boolean] NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../../nan/nan.h:526:12: error: no matching function for call to '_NanEscapeScopeHelper' return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val)) ^~~~~~~~~~~~~~~~~~~~~ ../../nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Boolean] NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../../nan/nan.h:755:13: error: no member named 'smalloc' in namespace 'node' , node::smalloc::FreeCallback callback ~~~~~~^ ../../nan/nan.h:766:12: error: no matching function for call to 'New' return node::Buffer::New(v8::Isolate::GetCurrent(), data, size); ^~~~~~~~~~~~~~~~~ /Users/user1/.node-gyp/5.1.1/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, ^ /Users/user1/.node-gyp/5.1.1/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, ^ /Users/user1/.node-gyp/5.1.1/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, size_t length); ^ /Users/user1/.node-gyp/5.1.1/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, ^ In file included from ../binding.cc:36: ../../nan/nan.h:770:12: error: no viable conversion from returned value of type 'v8::MaybeLocal' to function return type 'v8::Local' return node::Buffer::New(v8::Isolate::GetCurrent(), size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal' to 'const v8::Local &' for 1st argument class Local { ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal' to 'v8::Local &&' for 1st argument /Users/user1/.node-gyp/5.1.1/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal' V8_INLINE Local(Local that) ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal' V8_INLINE Local(S* that) ^ In file included from ../binding.cc:36: ../../nan/nan.h:777:26: error: no member named 'Use' in namespace 'node::Buffer' return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size); ~~~~~~~~~~~~~~^ ../../nan/nan.h:1809:12: error: no matching function for call to '_NanEscapeScopeHelper' return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val)) ^~~~~~~~~~~~~~~~~~~~~ ../../nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Function] NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../../nan/nan.h:1824:12: error: no matching function for call to '_NanEscapeScopeHelper' return NanEscapeScope(node::MakeCallback( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val)) ^~~~~~~~~~~~~~~~~~~~~ ../../nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Value] NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../../nan/nan.h:1897:12: error: no matching function for call to '_NanEscapeScopeHelper' return NanEscapeScope(handle->Get(NanNew(key)).As()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope' # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val)) ^~~~~~~~~~~~~~~~~~~~~ ../../nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Object] NAN_INLINE v8::Local _NanEscapeScopeHelper(v8::Local val) { ^ ../../nan/nan.h:2103:12: error: no member named 'IsExternalAscii' in 'v8::String'; did you mean 'IsExternal'? if (str->IsExternalAscii()) { ^~~~~~~~~~~~~~~ IsExternal /Users/user1/.node-gyp/5.1.1/include/node/v8.h:2171:8: note: 'IsExternal' declared here bool IsExternal() const; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [Release/obj.target/zmq/binding.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Darwin 15.4.0 gyp ERR! command "/usr/local/Cellar/node/5.1.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/user1/src/lelylan/mqtt/node_modules/mosca/node_modules/zmq gyp ERR! node -v v5.1.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok npm WARN install:zmq@2.8.0 zmq@2.8.0 install: `node-gyp rebuild` npm WARN install:zmq@2.8.0 Exit status 1 > buffertools@2.0.1 install /Users/user1/src/lelylan/mqtt/node_modules/qlobber-fsq/node_modules/buffertools > node-gyp rebuild CXX(target) Release/obj.target/buffertools/buffertools.o ../buffertools.cc:36:10: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? const Arguments& args, ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../buffertools.cc:39:33: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? Handle operator()(const Arguments& args) { ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../buffertools.cc:43:30: error: member access into incomplete type 'const v8::internal::Arguments' Local target = args.This(); ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: forward declaration of 'v8::internal::Arguments' class Arguments; ^ ../buffertools.cc:46:38: error: type 'const v8::internal::Arguments' does not provide a subscript operator } else if (Buffer::HasInstance(args[0])) { ~~~~^~ ../buffertools.cc:49:17: error: type 'const v8::internal::Arguments' does not provide a subscript operator target = args[0]->ToObject(); ~~~~^~ ../buffertools.cc:51:55: error: no member named 'New' in 'v8::String' return ThrowException(Exception::TypeError(String::New( ~~~~~~~~^ ../buffertools.cc:55:16: error: no member named 'Close' in 'v8::HandleScope' return scope.Close(static_cast(this)->apply(target, args, args_start)); ~~~~~ ^ ../buffertools.cc:64:10: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? const Arguments& args, ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../buffertools.cc:67:33: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? Handle operator()(const Arguments& args) { ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../buffertools.cc:71:30: error: member access into incomplete type 'const v8::internal::Arguments' Local target = args.This(); ^ /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: forward declaration of 'v8::internal::Arguments' class Arguments; ^ ../buffertools.cc:74:38: error: type 'const v8::internal::Arguments' does not provide a subscript operator } else if (Buffer::HasInstance(args[0])) { ~~~~^~ ../buffertools.cc:77:17: error: type 'const v8::internal::Arguments' does not provide a subscript operator target = args[0]->ToObject(); ~~~~^~ ../buffertools.cc:79:55: error: no member named 'New' in 'v8::String' return ThrowException(Exception::TypeError(String::New( ~~~~~~~~^ ../buffertools.cc:83:11: error: type 'const v8::internal::Arguments' does not provide a subscript operator if (args[args_start]->IsString()) { ~~~~^~~~~~~~~~~ ../buffertools.cc:84:28: error: type 'const v8::internal::Arguments' does not provide a subscript operator String::Utf8Value s(args[args_start]); ~~~~^~~~~~~~~~~ ../buffertools.cc:85:17: error: no member named 'Close' in 'v8::HandleScope' return scope.Close(static_cast(this)->apply( ~~~~~ ^ ../buffertools.cc:93:31: error: type 'const v8::internal::Arguments' does not provide a subscript operator if (Buffer::HasInstance(args[args_start])) { ~~~~^~~~~~~~~~~ ../buffertools.cc:94:30: error: type 'const v8::internal::Arguments' does not provide a subscript operator Local other = args[args_start]->ToObject(); ~~~~^~~~~~~~~~~ ../buffertools.cc:95:17: error: no member named 'Close' in 'v8::HandleScope' return scope.Close(static_cast(this)->apply( ~~~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [Release/obj.target/buffertools/buffertools.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Darwin 15.4.0 gyp ERR! command "/usr/local/Cellar/node/5.1.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/user1/src/lelylan/mqtt/node_modules/qlobber-fsq/node_modules/buffertools gyp ERR! node -v v5.1.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok npm WARN install:buffertools@2.0.1 buffertools@2.0.1 install: `node-gyp rebuild` npm WARN install:buffertools@2.0.1 Exit status 1 > zmq@2.4.0 install /Users/user1/src/lelylan/mqtt/node_modules/zmq > node-gyp rebuild CXX(target) Release/obj.target/zmq/binding.o ../binding.cc:75:19: error: expected class name class Context : ObjectWrap { ^ ../binding.cc:83:38: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? static Handle New(const Arguments& args); ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../binding.cc:84:40: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? static Context* GetContext(const Arguments &args); ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../binding.cc:87:40: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? static Handle Close(const Arguments& args); ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../binding.cc:92:18: error: expected class name class Socket : ObjectWrap { ^ ../binding.cc:99:38: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? static Handle New(const Arguments &args); ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../binding.cc:101:38: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? static Socket* GetSocket(const Arguments &args); ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../binding.cc:103:60: error: unknown type name 'AccessorInfo' static Handle GetState(Local p, const AccessorInfo& info); ^ ../binding.cc:109:45: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? static Handle GetSockOpt(const Arguments &args); ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../binding.cc:110:45: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? static Handle SetSockOpt(const Arguments &args); ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../binding.cc:113:39: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? static Handle Bind(const Arguments &args); ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../binding.cc:115:32: error: unknown type name 'uv_work_t' static void UV_BindAsync(uv_work_t* req); ^ ../binding.cc:116:37: error: unknown type name 'uv_work_t' static void UV_BindAsyncAfter(uv_work_t* req); ^ ../binding.cc:118:43: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? static Handle BindSync(const Arguments &args); ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../binding.cc:120:42: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? static Handle Connect(const Arguments &args); ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../binding.cc:123:45: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? static Handle Disconnect(const Arguments &args); ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../binding.cc:127:39: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? static Handle Recv(const Arguments &args); ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../binding.cc:130:39: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? static Handle Send(const Arguments &args); ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ ../binding.cc:133:40: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? static Handle Close(const Arguments &args); ^~~~~~~~~ v8::internal::Arguments /Users/user1/.node-gyp/5.1.1/include/node/v8.h:139:7: note: 'v8::internal::Arguments' declared here class Arguments; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [Release/obj.target/zmq/binding.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Darwin 15.4.0 gyp ERR! command "/usr/local/Cellar/node/5.1.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/user1/src/lelylan/mqtt/node_modules/zmq gyp ERR! node -v v5.1.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok npm WARN install:zmq@2.4.0 zmq@2.4.0 install: `node-gyp rebuild` npm WARN install:zmq@2.4.0 Exit status 1 lelylan.mqtt@0.1.0 /Users/user1/src/lelylan/mqtt ├─┬ ascoltatori@0.11.5 │ └── async@0.2.10 └─┬ mosca@0.26.2 └─┬ browserify@5.9.3 └─┬ umd@2.1.0 └─┬ uglify-js@2.4.24 └── async@0.2.10 npm WARN EPACKAGEJSON lelylan.mqtt@0.1.0 No repository field. npm WARN EPACKAGEJSON lelylan.mqtt@0.1.0 No license field.