Skip to content

Instantly share code, notes, and snippets.

@durango
Created June 28, 2013 03:24
Show Gist options
  • Select an option

  • Save durango/5882273 to your computer and use it in GitHub Desktop.

Select an option

Save durango/5882273 to your computer and use it in GitHub Desktop.
MacBook-Pro sequelize → λ git master → npm install
npm WARN package.json lingo@0.0.5 No repository field.
> ref@0.1.3 install /Users/daniel/github/sequelize/node_modules/ref
> node-gyp rebuild
gyp http GET http://nodejs.org/dist/v0.11.2/node-v0.11.2.tar.gz
gyp http 200 http://nodejs.org/dist/v0.11.2/node-v0.11.2.tar.gz
CXX(target) Release/obj.target/binding/src/binding.o
../src/binding.cc:122:45: warning: 'New' is deprecated [-Wdeprecated-declarations]
null_pointer_buffer = Persistent<Object>::New(buf->handle_);
^
/Users/daniel/.node-gyp/0.11.2/deps/v8/include/v8.h:564:38: note: 'New' declared here
V8_DEPRECATED(static Persistent<T> New(Handle<T> that));
^
/Users/daniel/.node-gyp/0.11.2/deps/v8/include/v8.h:88:35: note: expanded from macro 'V8_DEPRECATED'
#define V8_DEPRECATED(declarator) declarator __attribute__ ((deprecated))
^
../src/binding.cc:188:46: warning: 'New' is deprecated [-Wdeprecated-declarations]
Persistent<Value> obj = Persistent<Value>::New(args[2]);
^
/Users/daniel/.node-gyp/0.11.2/deps/v8/include/v8.h:564:38: note: 'New' declared here
V8_DEPRECATED(static Persistent<T> New(Handle<T> that));
^
/Users/daniel/.node-gyp/0.11.2/deps/v8/include/v8.h:88:35: note: expanded from macro 'V8_DEPRECATED'
#define V8_DEPRECATED(declarator) declarator __attribute__ ((deprecated))
^
../src/binding.cc:189:7: error: no matching member function for call to 'MakeWeak'
obj.MakeWeak(NULL, write_object_cb);
~~~~^~~~~~~~
/Users/daniel/.node-gyp/0.11.2/deps/v8/include/v8.h:607:18: note: candidate function template not viable: requires 3 arguments, but 2 were provided
V8_INLINE(void MakeWeak(
^
/Users/daniel/.node-gyp/0.11.2/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
^
/Users/daniel/.node-gyp/0.11.2/deps/v8/include/v8.h:613:18: note: candidate function template not viable: requires 3 arguments, but 2 were provided
V8_INLINE(void MakeWeak(
^
/Users/daniel/.node-gyp/0.11.2/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
^
/Users/daniel/.node-gyp/0.11.2/deps/v8/include/v8.h:625:18: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_INLINE(void MakeWeak(Isolate* isolate,
^
/Users/daniel/.node-gyp/0.11.2/deps/v8/include/v8.h:80:69: note: expanded from macro 'V8_INLINE'
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
^
2 warnings and 1 error generated.
make: *** [Release/obj.target/binding/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/daniel/.nvm/v0.11.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:100:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Darwin 12.4.0
gyp ERR! command "node" "/Users/daniel/.nvm/v0.11.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/daniel/github/sequelize/node_modules/ref
gyp ERR! node -v v0.11.2
gyp ERR! node-gyp -v v0.9.5
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment