Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo npm install mysql-libmysqlclient
- \
- > mysql-libmysqlclient@1.6.0 install /home/slava/node_modules/mysql-libmysqlclient
- > node-gyp rebuild
- make: Вход в каталог `/home/slava/node_modules/mysql-libmysqlclient/build'
- CXX(target) Release/obj.target/mysql_bindings/src/mysql_bindings.o
- In file included from ../src/././mysql_bindings.h:14:0,
- from ../src/./mysql_bindings_connection.h:22,
- from ../src/mysql_bindings.cc:17:
- ../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanError(const char*)’:
- ../node_modules/nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’
- # define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
- ^
- ../node_modules/nan/nan.h:339:13: note: in expansion of macro ‘_NAN_ERROR’
- return _NAN_ERROR(v8::Exception::Error, errmsg);
- ^
- ../node_modules/nan/nan.h: In function ‘void NanThrowError(const char*)’:
- ../node_modules/nan/nan.h:324:7: error: ‘ThrowException’ is not a member of ‘v8’
- v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
- ^
- ../node_modules/nan/nan.h:343:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
- _NAN_THROW_ERROR(v8::Exception::Error, errmsg);
- ^
- ../node_modules/nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’
- # define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
- ^
- ../node_modules/nan/nan.h:324:26: note: in expansion of macro ‘_NAN_ERROR’
- v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
- ^
- ../node_modules/nan/nan.h:343:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
- _NAN_THROW_ERROR(v8::Exception::Error, errmsg);
- ^
- ../node_modules/nan/nan.h: In function ‘void NanThrowError(v8::Handle<v8::Value>)’:
- ../node_modules/nan/nan.h:348:5: error: ‘ThrowException’ is not a member of ‘v8’
- v8::ThrowException(error);
- ^
- ../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanError(const char*, int)’:
- ../node_modules/nan/nan.h:355:53: error: ‘New’ is not a member of ‘v8::String’
- v8::Local<v8::Value> err = v8::Exception::Error(v8::String::New(msg));
- ^
- ../node_modules/nan/nan.h:357:14: error: ‘New’ is not a member of ‘v8::String’
- obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
- ^
- ../node_modules/nan/nan.h:357:65: error: no matching function for call to ‘v8::Int32::New(const int&)’
- obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
- ^
- ../node_modules/nan/nan.h:357:65: note: candidate is:
- In file included from /home/slava/.node-gyp/4.4.6/include/node/node.h:42:0,
- from ../src/mysql_bindings.cc:12:
- /home/slava/.node-gyp/4.4.6/include/node/v8.h:2499:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
- static Local<Integer> New(Isolate* isolate, int32_t value);
- ^
- /home/slava/.node-gyp/4.4.6/include/node/v8.h:2499:25: note: candidate expects 2 arguments, 1 provided
- In file included from ../src/././mysql_bindings.h:14:0,
- from ../src/./mysql_bindings_connection.h:22,
- from ../src/mysql_bindings.cc:17:
- ../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanTypeError(const char*)’:
- ../node_modules/nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’
- # define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
- ^
- ../node_modules/nan/nan.h:369:12: note: in expansion of macro ‘_NAN_ERROR’
- return _NAN_ERROR(v8::Exception::TypeError, errmsg);
- ^
- ../node_modules/nan/nan.h: In function ‘void NanThrowTypeError(const char*)’:
- ../node_modules/nan/nan.h:324:7: error: ‘ThrowException’ is not a member of ‘v8’
- v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
- ^
- ../node_modules/nan/nan.h:373:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
- _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
- ^
- ../node_modules/nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’
- # define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
- ^
- ../node_modules/nan/nan.h:324:26: note: in expansion of macro ‘_NAN_ERROR’
- v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
- ^
- ../node_modules/nan/nan.h:373:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
- _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
- ^
- ../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanRangeError(const char*)’:
- ../node_modules/nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’
- # define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
- ^
- ../node_modules/nan/nan.h:377:12: note: in expansion of macro ‘_NAN_ERROR’
- return _NAN_ERROR(v8::Exception::RangeError, errmsg);
- ^
- ../node_modules/nan/nan.h: In function ‘void NanThrowRangeError(const char*)’:
- ../node_modules/nan/nan.h:324:7: error: ‘ThrowException’ is not a member of ‘v8’
- v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
- ^
- ../node_modules/nan/nan.h:381:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
- _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
- ^
- ../node_modules/nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’
- # define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
- ^
- ../node_modules/nan/nan.h:324:26: note: in expansion of macro ‘_NAN_ERROR’
- v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
- ^
- ../node_modules/nan/nan.h:381:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
- _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
- ^
- ../node_modules/nan/nan.h: At global scope:
- ../node_modules/nan/nan.h:406:13: error: ‘node::smalloc’ has not been declared
- , node::smalloc::FreeCallback callback
- ^
- ../node_modules/nan/nan.h:141:71: note: in definition of macro ‘NAN_INLINE’
- # define NAN_INLINE(declarator) inline __attribute__((always_inline)) declarator
- ^
- ../node_modules/nan/nan.h:406:35: error: expected ‘,’ or ‘...’ before ‘callback’
- , node::smalloc::FreeCallback callback
- ^
- ../node_modules/nan/nan.h:141:71: note: in definition of macro ‘NAN_INLINE’
- # define NAN_INLINE(declarator) inline __attribute__((always_inline)) declarator
- ^
- ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
- ../node_modules/nan/nan.h:409:44: error: ‘callback’ was not declared in this scope
- return node::Buffer::New(data, length, callback, hint);
- ^
- ../node_modules/nan/nan.h:409:54: error: ‘hint’ was not declared in this scope
- return node::Buffer::New(data, length, callback, hint);
- ^
- ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, uint32_t)’:
- ../node_modules/nan/nan.h:416:40: error: no matching function for call to ‘New(char*&, uint32_t&)’
- return node::Buffer::New(data, size);
- ^
- ../node_modules/nan/nan.h:416:40: note: candidates are:
- In file included from ../src/././mysql_bindings.h:12:0,
- from ../src/./mysql_bindings_connection.h:22,
- from ../src/mysql_bindings.cc:17:
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:28:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
- NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
- ^
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
- NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
- ^
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:36:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
- NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
- ^
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:43:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
- NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
- ^
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:43:40: note: candidate expects 3 arguments, 2 provided
- In file included from ../src/././mysql_bindings.h:14:0,
- from ../src/./mysql_bindings_connection.h:22,
- from ../src/mysql_bindings.cc:17:
- ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
- ../node_modules/nan/nan.h:420:34: error: no matching function for call to ‘New(uint32_t&)’
- return node::Buffer::New(size);
- ^
- ../node_modules/nan/nan.h:420:34: note: candidates are:
- In file included from ../src/././mysql_bindings.h:12:0,
- from ../src/./mysql_bindings_connection.h:22,
- from ../src/mysql_bindings.cc:17:
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:28:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
- NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
- ^
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:28:40: note: candidate expects 2 arguments, 1 provided
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
- NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
- ^
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:31:40: note: candidate expects 3 arguments, 1 provided
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:36:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
- NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
- ^
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:36:40: note: candidate expects 5 arguments, 1 provided
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:43:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
- NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
- ^
- /home/slava/.node-gyp/4.4.6/include/node/node_buffer.h:43:40: note: candidate expects 3 arguments, 1 provided
- In file included from ../src/././mysql_bindings.h:14:0,
- from ../src/./mysql_bindings_connection.h:22,
- from ../src/mysql_bindings.cc:17:
- ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
- ../node_modules/nan/nan.h:427:12: error: ‘Use’ is not a member of ‘node::Buffer’
- return node::Buffer::Use(data, size);
- ^
- ../node_modules/nan/nan.h: In constructor ‘NanCallback::NanCallback()’:
- ../node_modules/nan/nan.h:727:49: error: no matching function for call to ‘v8::Object::New()’
- v8::Local<v8::Object> obj = v8::Object::New();
- ^
- ../node_modules/nan/nan.h:727:49: note: candidate is:
- In file included from /home/slava/.node-gyp/4.4.6/include/node/node.h:42:0,
- from ../src/mysql_bindings.cc:12:
- /home/slava/.node-gyp/4.4.6/include/node/v8.h:2933:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
- static Local<Object> New(Isolate* isolate);
- ^
- /home/slava/.node-gyp/4.4.6/include/node/v8.h:2933:24: note: candidate expects 1 argument, 0 provided
- In file included from ../src/././mysql_bindings.h:14:0,
- from ../src/./mysql_bindings_connection.h:22,
- from ../src/mysql_bindings.cc:17:
- ../node_modules/nan/nan.h: In constructor ‘NanCallback::NanCallback(v8::Handle<v8::Function>&)’:
- ../node_modules/nan/nan.h:733:49: error: no matching function for call to ‘v8::Object::New()’
- v8::Local<v8::Object> obj = v8::Object::New();
- ^
- ../node_modules/nan/nan.h:733:49: note: candidate is:
- In file included from /home/slava/.node-gyp/4.4.6/include/node/node.h:42:0,
- from ../src/mysql_bindings.cc:12:
- /home/slava/.node-gyp/4.4.6/include/node/v8.h:2933:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
- static Local<Object> New(Isolate* isolate);
- ^
- /home/slava/.node-gyp/4.4.6/include/node/v8.h:2933:24: note: candidate expects 1 argument, 0 provided
- In file included from ../src/././mysql_bindings.h:14:0,
- from ../src/./mysql_bindings_connection.h:22,
- from ../src/mysql_bindings.cc:17:
- ../node_modules/nan/nan.h: In destructor ‘NanCallback::~NanCallback()’:
- ../node_modules/nan/nan.h:740:12: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Dispose’
- handle.Dispose();
- ^
- ../node_modules/nan/nan.h:741:12: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Clear’
- handle.Clear();
- ^
- ../node_modules/nan/nan.h: In member function ‘void NanCallback::SetFunction(v8::Handle<v8::Function>&)’:
- ../node_modules/nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’
- #define NanSymbol(value) v8::String::NewSymbol(value)
- ^
- ../node_modules/nan/nan.h:746:39: note: in expansion of macro ‘NanSymbol’
- NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn);
- ^
- ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Function> NanCallback::GetFunction()’:
- ../node_modules/nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’
- #define NanSymbol(value) v8::String::NewSymbol(value)
- ^
- ../node_modules/nan/nan.h:750:46: note: in expansion of macro ‘NanSymbol’
- return NanPersistentToLocal(handle)->Get(NanSymbol("callback"))
- ^
- ../node_modules/nan/nan.h:751:25: error: expected primary-expression before ‘>’ token
- .As<v8::Function>();
- ^
- ../node_modules/nan/nan.h:751:27: error: expected primary-expression before ‘)’ token
- .As<v8::Function>();
- ^
- ../node_modules/nan/nan.h: In member function ‘void NanCallback::Call(int, v8::Handle<v8::Value>*)’:
- ../node_modules/nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’
- #define NanSymbol(value) v8::String::NewSymbol(value)
- ^
- ../node_modules/nan/nan.h:759:13: note: in expansion of macro ‘NanSymbol’
- Get(NanSymbol("callback")).As<v8::Function>();
- ^
- ../node_modules/nan/nan.h:759:51: error: expected primary-expression before ‘>’ token
- Get(NanSymbol("callback")).As<v8::Function>();
- ^
- ../node_modules/nan/nan.h:759:53: error: expected primary-expression before ‘)’ token
- Get(NanSymbol("callback")).As<v8::Function>();
- ^
- ../node_modules/nan/nan.h:761:9: error: ‘GetCurrent’ is not a member of ‘v8::Context’
- v8::Context::GetCurrent()->Global()
- ^
- ../node_modules/nan/nan.h: In member function ‘void NanAsyncWorker::SavePersistent(const char*, v8::Local<v8::Object>&)’:
- ../node_modules/nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’
- #define NanSymbol(value) v8::String::NewSymbol(value)
- ^
- ../node_modules/nan/nan.h:808:17: note: in expansion of macro ‘NanSymbol’
- handle->Set(NanSymbol(key), obj);
- ^
- ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Object> NanAsyncWorker::GetFromPersistent(const char*)’:
- ../node_modules/nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’
- #define NanSymbol(value) v8::String::NewSymbol(value)
- ^
- ../node_modules/nan/nan.h:815:24: note: in expansion of macro ‘NanSymbol’
- return handle->Get(NanSymbol(key)).As<v8::Object>();
- ^
- ../node_modules/nan/nan.h:815:53: error: expected primary-expression before ‘>’ token
- return handle->Get(NanSymbol(key)).As<v8::Object>();
- ^
- ../node_modules/nan/nan.h:815:55: error: expected primary-expression before ‘)’ token
- return handle->Get(NanSymbol(key)).As<v8::Object>();
- ^
- ../node_modules/nan/nan.h: In member function ‘virtual void NanAsyncWorker::HandleErrorCallback()’:
- ../node_modules/nan/nan.h:837:30: error: ‘New’ is not a member of ‘v8::String’
- v8::Exception::Error(v8::String::New(errmsg))
- ^
- ../node_modules/nan/nan.h: In function ‘bool _NanGetExternalParts(v8::Handle<v8::Value>, const char**, size_t*)’:
- ../node_modules/nan/nan.h:1005:12: error: ‘class v8::String’ has no member named ‘IsExternalAscii’
- if (str->IsExternalAscii()) {
- ^
- ../node_modules/nan/nan.h:1006:11: error: ‘ExternalAsciiStringResource’ in ‘class v8::String’ does not name a type
- const v8::String::ExternalAsciiStringResource* ext;
- ^
- ../node_modules/nan/nan.h:1007:5: error: ‘ext’ was not declared in this scope
- ext = str->GetExternalAsciiStringResource();
- ^
- ../node_modules/nan/nan.h:1007:16: error: ‘class v8::String’ has no member named ‘GetExternalAsciiStringResource’
- ext = str->GetExternalAsciiStringResource();
- ^
- ../node_modules/nan/nan.h: In instantiation of ‘void NanDisposePersistent(v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) [with T = v8::Object]’:
- ../node_modules/nan/nan.h:786:44: required from here
- ../node_modules/nan/nan.h:394:5: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Clear’
- handle.Clear();
- ^
- make: *** [Release/obj.target/mysql_bindings/src/mysql_bindings.o] Ошибка 1
- make: Выход из каталога `/home/slava/node_modules/mysql-libmysqlclient/build'
- gyp ERR! build error
- gyp ERR! stack Error: `make` failed with exit code: 2
- gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276: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 Linux 3.13.0-88-generic
- gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
- gyp ERR! cwd /home/slava/node_modules/mysql-libmysqlclient
- gyp ERR! node -v v4.4.6
- gyp ERR! node-gyp -v v3.3.1
- gyp ERR! not ok
- npm ERR! Linux 3.13.0-88-generic
- npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "mysql-libmysqlclient"
- npm ERR! node v4.4.6
- npm ERR! npm v2.15.5
- npm ERR! code ELIFECYCLE
- npm ERR! mysql-libmysqlclient@1.6.0 install: `node-gyp rebuild`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the mysql-libmysqlclient@1.6.0 install script 'node-gyp rebuild'.
- npm ERR! This is most likely a problem with the mysql-libmysqlclient 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 information on how to open an issue for this project with:
- npm ERR! npm bugs mysql-libmysqlclient
- npm ERR! Or if that isn't available, you can get their info via:
- npm ERR!
- npm ERR! npm owner ls mysql-libmysqlclient
- npm ERR! There is likely additional logging output above.
- npm ERR! Please include the following file with any support request:
- npm ERR! /home/slava/parser/npm-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement