{"action":"created","issue":{"url":"https://api.github.com/repos/gheeres/node-activedirectory/issues/76","labels_url":"https://api.github.com/repos/gheeres/node-activedirectory/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/gheeres/node-activedirectory/issues/76/comments","events_url":"https://api.github.com/repos/gheeres/node-activedirectory/issues/76/events","html_url":"https://github.com/gheeres/node-activedirectory/issues/76","id":75772739,"number":76,"title":"compilation errors when installing this on OSX node 0.12.2","user":{"login":"blazerguns","id":11381459,"avatar_url":"https://avatars.githubusercontent.com/u/11381459?v=3","gravatar_id":"","url":"https://api.github.com/users/blazerguns","html_url":"https://github.com/blazerguns","followers_url":"https://api.github.com/users/blazerguns/followers","following_url":"https://api.github.com/users/blazerguns/following{/other_user}","gists_url":"https://api.github.com/users/blazerguns/gists{/gist_id}","starred_url":"https://api.github.com/users/blazerguns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blazerguns/subscriptions","organizations_url":"https://api.github.com/users/blazerguns/orgs","repos_url":"https://api.github.com/users/blazerguns/repos","events_url":"https://api.github.com/users/blazerguns/events{/privacy}","received_events_url":"https://api.github.com/users/blazerguns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-12T23:09:22Z","updated_at":"2015-05-13T05:10:39Z","closed_at":null,"body":"192-168-1-2:sa-server varun$ npm install activedirectory\r\nnpm WARN package.json fs@0.0.2 fs is also the name of a node core module.\r\nnpm WARN package.json fs@0.0.2 No description\r\nnpm WARN package.json fs@0.0.2 No repository field.\r\nnpm WARN package.json fs@0.0.2 No README data\r\nnpm WARN package.json http@0.0.0 http is also the name of a node core module.\r\nnpm WARN package.json http@0.0.0 No description\r\nnpm WARN package.json http@0.0.0 No repository field.\r\nnpm WARN package.json http@0.0.0 No README data\r\nnpm WARN package.json https@1.0.0 https is also the name of a node core module.\r\nnpm WARN package.json https@1.0.0 No repository field.\r\nnpm WARN package.json https@1.0.0 No README data\r\nnpm WARN package.json net@1.0.2 net is also the name of a node core module.\r\nnpm WARN package.json net@1.0.2 'repositories' (plural) Not supported. Please pick one as the 'repository' field\r\nnpm WARN package.json url@0.10.3 url is also the name of a node core module.\r\nnpm WARN package.json crypto@0.0.3 crypto is also the name of a node core module.\r\nnpm WARN package.json node-csv@0.1.2 No repository field.\r\n\r\ndtrace-provider@0.2.8 install /devel/SA-App/sa-server/node_modules/activedirectory/node_modules/bunyan/node_modules/dtrace-provider\r\nnode-gyp rebuild\r\nACTION binding_gyp_libusdt_target_build_libusdt .\r\nBuilding libusdt for x86_64\r\nrm -f .gch\r\nrm -f *.o\r\nrm -f libusdt.a\r\nrm -f test_usdt\r\nrm -f test_usdt32\r\nrm -f test_usdt64\r\nrm -f test_mem_usage\r\ngcc -O2 -arch x86_64 -c -o usdt.o usdt.c\r\nusdt.c:212:9: warning: implicit declaration of function 'usdt_dof_section_free' is invalid in C99 [-Wimplicit-function-declaration]\r\nusdt_dof_section_free(&strtab);\r\n^\r\nusdt.c:238:9: warning: implicit declaration of function 'usdt_dof_file_free' is invalid in C99 [-Wimplicit-function-declaration]\r\nusdt_dof_file_free(provider->file);\r\n^\r\n2 warnings generated.\r\ngcc -O2 -arch x86_64 -c -o usdt_dof_file.o usdt_dof_file.c\r\ngcc -arch x86_64 -o usdt_tracepoints.o -c usdt_tracepoints_x86_64.s\r\ngcc -O2 -arch x86_64 -c -o usdt_probe.o usdt_probe.c\r\ngcc -O2 -arch x86_64 -c -o usdt_dof.o usdt_dof.c\r\ngcc -O2 -arch x86_64 -c -o usdt_dof_sections.o usdt_dof_sections.c\r\nrm -f libusdt.a\r\nar cru libusdt.a usdt.o usdt_dof_file.o usdt_tracepoints.o usdt_probe.o usdt_dof.o usdt_dof_sections.o \r\nranlib libusdt.a\r\nTOUCH Release/obj.target/libusdt.stamp\r\nCXX(target) Release/obj.target/DTraceProviderBindings/dtrace_provider.o\r\nIn file included from ../dtrace_provider.cc:1:\r\n../dtrace_provider.h:69:44: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?\r\nstatic v8::Handlev8::Value New(const v8::Arguments& args);\r\n^~~~~~~~~~~~~\r\nv8::internal::Arguments\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n^\r\nIn file included from ../dtrace_provider.cc:1:\r\n../dtrace_provider.h:70:45: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?\r\nstatic v8::Handlev8::Value Fire(const v8::Arguments& args);\r\n^~~~~~~~~~~~~\r\nv8::internal::Arguments\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n^\r\nIn file included from ../dtrace_provider.cc:1:\r\n../dtrace_provider.h:87:44: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?\r\nstatic v8::Handlev8::Value New(const v8::Arguments& args);\r\n^~~~~~~~~~~~~\r\nv8::internal::Arguments\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n^\r\nIn file included from ../dtrace_provider.cc:1:\r\n../dtrace_provider.h:88:49: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?\r\nstatic v8::Handlev8::Value AddProbe(const v8::Arguments& args);\r\n^~~~~~~~~~~~~\r\nv8::internal::Arguments\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n^\r\nIn file included from ../dtrace_provider.cc:1:\r\n../dtrace_provider.h:89:52: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?\r\nstatic v8::Handlev8::Value RemoveProbe(const v8::Arguments& args);\r\n^~~~~~~~~~~~~\r\nv8::internal::Arguments\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n^\r\nIn file included from ../dtrace_provider.cc:1:\r\n../dtrace_provider.h:90:47: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?\r\nstatic v8::Handlev8::Value Enable(const v8::Arguments& args);\r\n^~~~~~~~~~~~~\r\nv8::internal::Arguments\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n^\r\nIn file included from ../dtrace_provider.cc:1:\r\n../dtrace_provider.h:91:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?\r\nstatic v8::Handlev8::Value Disable(const v8::Arguments& args);\r\n^~~~~~~~~~~~~\r\nv8::internal::Arguments\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n^\r\nIn file included from ../dtrace_provider.cc:1:\r\n../dtrace_provider.h:92:45: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?\r\nstatic v8::Handlev8::Value Fire(const v8::Arguments& args);\r\n^~~~~~~~~~~~~\r\nv8::internal::Arguments\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n^\r\n../dtrace_provider.cc:23:17: error: calling a protected constructor of class 'v8::HandleScope'\r\nHandleScope scope;\r\n^\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: note: declared protected here\r\nV8_INLINE HandleScope() {}\r\n^\r\n../dtrace_provider.cc:25:55: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type 'v8::Handlev8::Value (const v8::internal::Arguments &)'\r\nLocal t = FunctionTemplate::New(DTraceProvider::New);\r\n^~~~~~~~~~~~~~~~~~~\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:3456:16: note: passing argument to parameter 'isolate' here\r\nIsolate isolate,\r\n^\r\n../dtrace_provider.cc:26:58: error: 'New' is a private member of 'v8::PersistentBasev8::FunctionTemplate'\r\nconstructor_template = Persistent::New(t);\r\n^\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:572:23: note: declared private here\r\nV8_INLINE static T* New(Isolate* isolate, T* that);\r\n^\r\n../dtrace_provider.cc:26:28: error: too few arguments to function call, expected 2, have 1; did you mean 'DTraceProbe::New'?\r\nconstructor_template = Persistent::New(t);\r\n^~~~~~~~~~\r\nDTraceProbe::New\r\n../dtrace_provider.h:69:34: note: 'DTraceProbe::New' declared here\r\nstatic v8::Handlev8::Value New(const v8::Arguments& args);\r\n^\r\n../dtrace_provider.cc:27:25: error: member reference type 'Persistentv8::FunctionTemplate' is not a pointer; maybe you meant to use '.'?\r\nconstructor_template->InstanceTemplate()->SetInternalFieldCount(1);\r\n~~~~~~~~~~~~~~~~~~^~\r\n.\r\n../dtrace_provider.cc:27:27: error: no member named 'InstanceTemplate' in 'v8::Persistent >'\r\nconstructor_template->InstanceTemplate()->SetInternalFieldCount(1);\r\n~~~~~~~~~~~~~~~~~~ ^\r\n../dtrace_provider.cc:28:25: error: member reference type 'Persistentv8::FunctionTemplate' is not a pointer; maybe you meant to use '.'?\r\nconstructor_template->SetClassName(String::NewSymbol(\"DTraceProvider\"));\r\n~~~~~~~~~~~~~~~~~~^~\r\n.\r\n../dtrace_provider.cc:28:27: error: no member named 'SetClassName' in 'v8::Persistent >'\r\nconstructor_template->SetClassName(String::NewSymbol(\"DTraceProvider\"));\r\n~~~~~~~~~~~~~~~~~~ ^\r\n../dtrace_provider.cc:28:48: error: no member named 'NewSymbol' in 'v8::String'\r\nconstructor_template->SetClassName(String::NewSymbol(\"DTraceProvider\"));\r\n~~~~~~^\r\n../dtrace_provider.cc:30:31: error: no viable conversion from 'Persistentv8::FunctionTemplate' to 'v8::Handlev8::FunctionTemplate'\r\nNODE_SET_PROTOTYPE_METHOD(constructor_template, \"addProbe\", DTraceProvider::AddProbe);\r\n^~~~~~~~~~~~~~~~~~\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:196:26: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Persistentv8::FunctionTemplate' to\r\n'const v8::Handlev8::FunctionTemplate &' for 1st argument\r\ntemplate class Handle {\r\n^\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:213:32: note: candidate template ignored: could not match 'Handle' against 'Persistent'\r\ntemplate V8_INLINE Handle(Handle that)\r\n^\r\n/Users/varun/.node-gyp/0.12.2/src/node.h:244:72: note: passing argument to parameter 'recv' here\r\ninline void NODE_SET_PROTOTYPE_METHOD(v8::Handlev8::FunctionTemplate recv,\r\n^\r\n../dtrace_provider.cc:31:31: error: no viable conversion from 'Persistentv8::FunctionTemplate' to 'v8::Handlev8::FunctionTemplate'\r\nNODE_SET_PROTOTYPE_METHOD(constructor_template, \"removeProbe\", DTraceProvider::RemoveProbe);\r\n^~~~~~~~~~~~~~~~~~~~\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:196:26: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Persistentv8::FunctionTemplate' to\r\n'const v8::Handlev8::FunctionTemplate &' for 1st argument\r\ntemplate class Handle {\r\n^\r\n/Users/varun/.node-gyp/0.12.2/deps/v8/include/v8.h:213:32: note: candidate template ignored: could not match 'Handle' against 'Persistent'\r\ntemplate V8_INLINE Handle(Handle that)\r\n^\r\n/Users/varun/.node-gyp/0.12.2/src/node.h:244:72: note: passing argument to parameter 'recv' here\r\ninline void NODE_SET_PROTOTYPE_METHOD(v8::Handlev8::FunctionTemplate recv,\r\n^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n20 errors generated.\r\nmake: *** [Release/obj.target/DTraceProviderBindings/dtrace_provider.o] Error 1\r\ngyp ERR! build error \r\ngyp ERR! stack Error: make failed with exit code: 2\r\ngyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)\r\ngyp ERR! stack at ChildProcess.emit (events.js:110:17)\r\ngyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)\r\ngyp ERR! System Darwin 14.3.0\r\ngyp ERR! command \"node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /devel/SA-App/sa-server/node_modules/activedirectory/node_modules/bunyan/node_modules/dtrace-provider\r\ngyp ERR! node -v v0.12.2\r\ngyp ERR! node-gyp -v v1.0.3\r\ngyp ERR! not ok \r\nnpm WARN optional dep failed, continuing dtrace-provider@0.2.8"},"comment":{"url":"https://api.github.com/repos/gheeres/node-activedirectory/issues/comments/101515150","html_url":"https://github.com/gheeres/node-activedirectory/issues/76#issuecomment-101515150","issue_url":"https://api.github.com/repos/gheeres/node-activedirectory/issues/76","id":101515150,"user":{"login":"blazerguns","id":11381459,"avatar_url":"https://avatars.githubusercontent.com/u/11381459?v=3","gravatar_id":"","url":"https://api.github.com/users/blazerguns","html_url":"https://github.com/blazerguns","followers_url":"https://api.github.com/users/blazerguns/followers","following_url":"https://api.github.com/users/blazerguns/following{/other_user}","gists_url":"https://api.github.com/users/blazerguns/gists{/gist_id}","starred_url":"https://api.github.com/users/blazerguns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blazerguns/subscriptions","organizations_url":"https://api.github.com/users/blazerguns/orgs","repos_url":"https://api.github.com/users/blazerguns/repos","events_url":"https://api.github.com/users/blazerguns/events{/privacy}","received_events_url":"https://api.github.com/users/blazerguns/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T05:10:39Z","updated_at":"2015-05-13T05:10:39Z","body":"the version that works \"1.3.5\""}}