unable to install db-mysql on Freebsd 8.2-RELEASE-p8 #72

Open
stomvi opened this Issue Jun 1, 2012 · 2 comments

Comments

Projects
None yet
3 participants

stomvi commented Jun 1, 2012

npm install db-mysql;

npm http GET https://registry.npmjs.org/db-mysql
npm http 304 https://registry.npmjs.org/db-mysql

db-mysql@0.7.6 install /home/host/blaze/node_modules/db-mysql
node-waf configure build

Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
Checking for program mysql_config : /usr/local/bin/mysql_config
Checking for library mysqlclient_r : yes
'configure' finished successfully (0.204s)
Waf: Entering directory /home/host/blaze/node_modules/db-mysql/build' [ 1/12] cxx: lib/node-db/binding.cc -> build/Release/lib/node-db/binding_1.o [ 2/12] cxx: lib/node-db/connection.cc -> build/Release/lib/node-db/connection_1.o [ 3/12] cxx: lib/node-db/events.cc -> build/Release/lib/node-db/events_1.o [ 4/12] cxx: lib/node-db/exception.cc -> build/Release/lib/node-db/exception_1.o [ 5/12] cxx: lib/node-db/query.cc -> build/Release/lib/node-db/query_1.o [ 6/12] cxx: lib/node-db/result.cc -> build/Release/lib/node-db/result_1.o In file included from ../lib/node-db/events.cc:2: ../lib/node-db/./events.h:5:16: error: v8.h: No such file or directory In file included from ../lib/node-db/./binding.h:5, from ../lib/node-db/binding.cc:2: /usr/local/include/node/node.h:62:16: error: v8.h: No such file or directory [ 7/12] cxx: src/connection.cc -> build/Release/src/connection_1.o [ 8/12] cxx: src/mysql.cc -> build/Release/src/mysql_1.o [10/12] cxx: src/result.cc -> build/Release/src/result_1.o [ 9/12] cxx: src/query.cc -> build/Release/src/query_1.o [11/12] cxx: src/mysql_bindings.cc -> build/Release/src/mysql_bindings_1.o In file included from ../lib/node-db/./query.h:6, from ../lib/node-db/query.cc:2: /usr/local/include/node/node.h:62:16: error: v8.h: No such file or directory In file included from /usr/local/include/node/node_object_wrap.h:25, from ../lib/node-db/./events.h:6, from ../lib/node-db/events.cc:2: /usr/local/include/node/node.h:107: error: 'v8' has not been declared /usr/local/include/node/node.h:107: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:108: error: variable or field 'Load' declared void /usr/local/include/node/node.h:108: error: 'v8' has not been declared /usr/local/include/node/node.h:108: error: 'v8' has not been declared /usr/local/include/node/node.h:108: error: 'process' was not declared in this scope /usr/local/include/node/node.h:109: error: variable or field 'EmitExit' declared void /usr/local/include/node/node.h:109: error: 'v8' has not been declared /usr/local/include/node/node.h:109: error: 'v8' has not been declared /usr/local/include/node/node.h:109: error: 'process' was not declared in this scope /usr/local/include/node/node.h:139: error: 'v8' has not been declared /usr/local/include/node/node.h:139: error: 'v8' has not been declared /usr/local/include/node/node.h:139: error: 'encoding_v' was not declared in this scope /usr/local/include/node/node.h:140: error: expected primary-expression before 'enum' /usr/local/include/node/node.h:140: error: initializer expression list treated as compound expression /usr/local/include/node/node.h:141: error: variable or field 'FatalException' declared void /usr/local/include/node/node.h:141: error: 'v8' has not been declared /usr/local/include/node/node.h:141: error: 'try_catch' was not declared in this scope /usr/local/include/node/node.h:142: error: variable or field 'DisplayExceptionLine' declared void /usr/local/include/node/node.h:142: error: 'v8' has not been declared /usr/local/include/node/node.h:142: error: 'try_catch' was not declared in this scope /usr/local/include/node/node.h:144: error: 'v8' has not been declared /usr/local/include/node/node.h:144: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:148: error: 'v8' has not been declared /usr/local/include/node/node.h:148: error: 'v8' has not been declared /usr/local/include/node/node.h:148: error: expected primary-expression before ',' token /usr/local/include/node/node.h:149: error: expected primary-expression before 'enum' /usr/local/include/node/node.h:149: error: initializer expression list treated as compound expression /usr/local/include/node/node.h:154: error: 'v8' has not been declared /usr/local/include/node/node.h:154: error: expected ',' or '...' before '<' token /usr/local/include/node/node.h:169: error: 'v8' has not been declared /usr/local/include/node/node.h:169: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:179: error: 'v8' has not been declared /usr/local/include/node/node.h:179: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:184: error: 'v8' has not been declared /usr/local/include/node/node.h:184: error: expected initializer before '<' token /usr/local/include/node/node.h:191: error: 'v8' has not been declared /usr/local/include/node/node.h:191: error: expected initializer before '<' token /usr/local/include/node/node.h:198: error: variable or field 'cb_destroy' declared void /usr/local/include/node/node.h:198: error: 'v8' has not been declared /usr/local/include/node/node.h:198: error: 'v8' has not been declared /usr/local/include/node/node.h:198: error: 'cb' was not declared in this scope /usr/local/include/node/node.h:203: error: 'v8' has not been declared /usr/local/include/node/node.h:203: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:208: error: 'v8' has not been declared /usr/local/include/node/node.h:208: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:225: error: 'v8' has not been declared /usr/local/include/node/node.h:225: error: expected ',' or '...' before '<' token /usr/local/include/node/node.h:264: error: variable or field 'MakeCallback' declared void /usr/local/include/node/node.h:264: error: 'v8' has not been declared /usr/local/include/node/node.h:264: error: 'v8' has not been declared /usr/local/include/node/node.h:264: error: 'object' was not declared in this scope /usr/local/include/node/node.h:265: error: expected primary-expression before 'const' /usr/local/include/node/node.h:266: error: expected primary-expression before 'int' /usr/local/include/node/node.h:267: error: 'v8' has not been declared /usr/local/include/node/node.h:267: error: 'v8' has not been declared /usr/local/include/node/node.h:267: error: 'argv' was not declared in this scope /usr/local/include/node/node.h:267: error: expected primary-expression before ']' token In file included from ../lib/node-db/./events.h:6, from ../lib/node-db/events.cc:2: /usr/local/include/node/node_object_wrap.h:50: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:50: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:50: error: 'handle' was not declared in this scope /usr/local/include/node/node_object_wrap.h:50: error: 'Unwrap' declared as an 'inline' field /usr/local/include/node/node_object_wrap.h:50: error: template declaration of 'T* node::Unwrap' /usr/local/include/node/node_object_wrap.h:57: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:57: error: ISO C++ forbids declaration of 'Persistent' with no type /usr/local/include/node/node_object_wrap.h:57: error: expected ';' before '<' token /usr/local/include/node/node_object_wrap.h:60: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:60: error: expected ',' or '...' before '<' token /usr/local/include/node/node_object_wrap.h:105: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:105: error: expected ',' or '...' before '<' token /usr/local/include/node/node_object_wrap.h: In destructor 'virtual node::ObjectWrap::~ObjectWrap()': /usr/local/include/node/node_object_wrap.h:39: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h:42: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h: In member function 'void node::ObjectWrap::Wrap(int)': /usr/local/include/node/node_object_wrap.h:61: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h:62: error: 'handle' was not declared in this scope /usr/local/include/node/node_object_wrap.h:63: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:63: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:63: error: '::New' has not been declared /usr/local/include/node/node_object_wrap.h: In member function 'void node::ObjectWrap::MakeWeak()': /usr/local/include/node/node_object_wrap.h:70: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In member function 'virtual void node::ObjectWrap::Ref()': /usr/local/include/node/node_object_wrap.h:79: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In member function 'virtual void node::ObjectWrap::Unref()': /usr/local/include/node/node_object_wrap.h:94: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In static member function 'static void node::ObjectWrap::WeakCallback(int)': /usr/local/include/node/node_object_wrap.h:106: error: 'data' was not declared in this scope /usr/local/include/node/node_object_wrap.h:107: error: 'value' was not declared in this scope /usr/local/include/node/node_object_wrap.h:107: error: 'class node::ObjectWrap' has no member named 'handle_' In file included from ../lib/node-db/events.cc:2: ../lib/node-db/./events.h: At global scope: ../lib/node-db/./events.h:21: error: 'v8' has not been declared ../lib/node-db/./events.h:21: error: expected ',' or '...' before '<' token ../lib/node-db/events.cc:17: error: 'v8' has not been declared ../lib/node-db/events.cc:17: error: expected ',' or '...' before '<' token ../lib/node-db/events.cc: In member function 'bool node_db::EventEmitter::Emit(const char*, int, int)': ../lib/node-db/events.cc:18: error: 'v8' has not been declared ../lib/node-db/events.cc:18: error: expected;' before 'scope'
../lib/node-db/events.cc:21: error: 'v8' has not been declared
../lib/node-db/events.cc:21: error: 'v8' has not been declared
../lib/node-db/events.cc:21: error: 'nArgv' was not declared in this scope
../lib/node-db/events.cc:21: error: expected type-specifier before 'v8'
../lib/node-db/events.cc:21: error: expected ;' before 'v8' ../lib/node-db/events.cc:26: error: 'v8' has not been declared ../lib/node-db/events.cc:28: error: 'argv' was not declared in this scope ../lib/node-db/events.cc:32: error: 'MakeCallback' is not a member of 'node' ../lib/node-db/events.cc:32: error: 'class node_db::EventEmitter' has no member named 'handle_' ../lib/node-db/events.cc:44: error: type '<type error>' argument given to 'delete', expected pointer In file included from ../lib/./node-db/node_defs.h:5, from ../src/./mysql.h:5, from ../src/mysql.cc:2: /usr/local/include/node/node.h:62:16: error: v8.h: No such file or directory In file included from ../lib/./node-db/binding.h:5, from ../src/mysql_bindings.cc:2: /usr/local/include/node/node.h:62:16: error: v8.h: No such file or directory In file included from ../lib/./node-db/node_defs.h:5, from ../src/./query.h:5, from ../src/query.cc:2: /usr/local/include/node/node.h:62:16: error: v8.h: No such file or directory In file included from /usr/local/include/node/node.h:67, from ../lib/node-db/./binding.h:5, from ../lib/node-db/binding.cc:2: /usr/local/include/node/node_object_wrap.h:50: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:50: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:50: error: 'handle' was not declared in this scope /usr/local/include/node/node_object_wrap.h:50: error: 'Unwrap' declared as an 'inline' field /usr/local/include/node/node_object_wrap.h:50: error: template declaration of 'T* node::Unwrap' /usr/local/include/node/node_object_wrap.h:57: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:57: error: ISO C++ forbids declaration of 'Persistent' with no type /usr/local/include/node/node_object_wrap.h:57: error: expected ';' before '<' token /usr/local/include/node/node_object_wrap.h:60: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:60: error: expected ',' or '...' before '<' token /usr/local/include/node/node_object_wrap.h:105: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:105: error: expected ',' or '...' before '<' token /usr/local/include/node/node_object_wrap.h: In destructor 'virtual node::ObjectWrap::~ObjectWrap()': /usr/local/include/node/node_object_wrap.h:39: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h:42: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h: In member function 'void node::ObjectWrap::Wrap(int)': /usr/local/include/node/node_object_wrap.h:61: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h:62: error: 'handle' was not declared in this scope /usr/local/include/node/node_object_wrap.h:63: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:63: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:63: error: '::New' has not been declared /usr/local/include/node/node_object_wrap.h: In member function 'void node::ObjectWrap::MakeWeak()': /usr/local/include/node/node_object_wrap.h:70: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In member function 'virtual void node::ObjectWrap::Ref()': /usr/local/include/node/node_object_wrap.h:79: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In member function 'virtual void node::ObjectWrap::Unref()': /usr/local/include/node/node_object_wrap.h:94: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In static member function 'static void node::ObjectWrap::WeakCallback(int)': /usr/local/include/node/node_object_wrap.h:106: error: 'data' was not declared in this scope /usr/local/include/node/node_object_wrap.h:107: error: 'value' was not declared in this scope /usr/local/include/node/node_object_wrap.h:107: error: 'class node::ObjectWrap' has no member named 'handle_' In file included from ../lib/node-db/./binding.h:5, from ../lib/node-db/binding.cc:2: /usr/local/include/node/node.h: At global scope: /usr/local/include/node/node.h:107: error: 'v8' has not been declared /usr/local/include/node/node.h:107: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:108: error: variable or field 'Load' declared void /usr/local/include/node/node.h:108: error: 'v8' has not been declared /usr/local/include/node/node.h:108: error: 'v8' has not been declared /usr/local/include/node/node.h:108: error: 'process' was not declared in this scope /usr/local/include/node/node.h:109: error: variable or field 'EmitExit' declared void /usr/local/include/node/node.h:109: error: 'v8' has not been declared /usr/local/include/node/node.h:109: error: 'v8' has not been declared /usr/local/include/node/node.h:109: error: 'process' was not declared in this scope /usr/local/include/node/node.h:139: error: 'v8' has not been declared /usr/local/include/node/node.h:139: error: 'v8' has not been declared /usr/local/include/node/node.h:139: error: 'encoding_v' was not declared in this scope /usr/local/include/node/node.h:140: error: expected primary-expression before 'enum' /usr/local/include/node/node.h:140: error: initializer expression list treated as compound expression /usr/local/include/node/node.h:141: error: variable or field 'FatalException' declared void /usr/local/include/node/node.h:141: error: 'v8' has not been declared /usr/local/include/node/node.h:141: error: 'try_catch' was not declared in this scope /usr/local/include/node/node.h:142: error: variable or field 'DisplayExceptionLine' declared void /usr/local/include/node/node.h:142: error: 'v8' has not been declared /usr/local/include/node/node.h:142: error: 'try_catch' was not declared in this scope /usr/local/include/node/node.h:144: error: 'v8' has not been declared /usr/local/include/node/node.h:144: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:148: error: 'v8' has not been declared /usr/local/include/node/node.h:148: error: 'v8' has not been declared /usr/local/include/node/node.h:148: error: expected primary-expression before ',' token /usr/local/include/node/node.h:149: error: expected primary-expression before 'enum' /usr/local/include/node/node.h:149: error: initializer expression list treated as compound expression /usr/local/include/node/node.h:154: error: 'v8' has not been declared /usr/local/include/node/node.h:154: error: expected ',' or '...' before '<' token /usr/local/include/node/node.h:169: error: 'v8' has not been declared /usr/local/include/node/node.h:169: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:179: error: 'v8' has not been declared /usr/local/include/node/node.h:179: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:184: error: 'v8' has not been declared /usr/local/include/node/node.h:184: error: expected initializer before '<' token /usr/local/include/node/node.h:191: error: 'v8' has not been declared /usr/local/include/node/node.h:191: error: expected initializer before '<' token /usr/local/include/node/node.h:198: error: variable or field 'cb_destroy' declared void /usr/local/include/node/node.h:198: error: 'v8' has not been declared /usr/local/include/node/node.h:198: error: 'v8' has not been declared /usr/local/include/node/node.h:198: error: 'cb' was not declared in this scope /usr/local/include/node/node.h:203: error: 'v8' has not been declared /usr/local/include/node/node.h:203: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:208: error: 'v8' has not been declared /usr/local/include/node/node.h:208: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:225: error: 'v8' has not been declared /usr/local/include/node/node.h:225: error: expected ',' or '...' before '<' token /usr/local/include/node/node.h:264: error: variable or field 'MakeCallback' declared void /usr/local/include/node/node.h:264: error: 'v8' has not been declared /usr/local/include/node/node.h:264: error: 'v8' has not been declared /usr/local/include/node/node.h:264: error: 'object' was not declared in this scope /usr/local/include/node/node.h:265: error: expected primary-expression before 'const' /usr/local/include/node/node.h:266: error: expected primary-expression before 'int' /usr/local/include/node/node.h:267: error: 'v8' has not been declared /usr/local/include/node/node.h:267: error: 'v8' has not been declared /usr/local/include/node/node.h:267: error: 'argv' was not declared in this scope /usr/local/include/node/node.h:267: error: expected primary-expression before ']' token In file included from /usr/local/include/node/node.h:67, from ../lib/node-db/./query.h:6, from ../lib/node-db/query.cc:2: /usr/local/include/node/node_object_wrap.h:50: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:50: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:50: error: 'handle' was not declared in this scope /usr/local/include/node/node_object_wrap.h:50: error: 'Unwrap' declared as an 'inline' field /usr/local/include/node/node_object_wrap.h:50: error: template declaration of 'T* node::Unwrap' /usr/local/include/node/node_object_wrap.h:57: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:57: error: ISO C++ forbids declaration of 'Persistent' with no type /usr/local/include/node/node_object_wrap.h:57: error: expected ';' before '<' token /usr/local/include/node/node_object_wrap.h:60: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:60: error: expected ',' or '...' before '<' token /usr/local/include/node/node_object_wrap.h:105: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:105: error: expected ',' or '...' before '<' token /usr/local/include/node/node_object_wrap.h: In destructor 'virtual node::ObjectWrap::~ObjectWrap()': /usr/local/include/node/node_object_wrap.h:39: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h:42: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h: In member function 'void node::ObjectWrap::Wrap(int)': /usr/local/include/node/node_object_wrap.h:61: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h:62: error: 'handle' was not declared in this scope /usr/local/include/node/node_object_wrap.h:63: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:63: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:63: error: '::New' has not been declared /usr/local/include/node/node_object_wrap.h: In member function 'void node::ObjectWrap::MakeWeak()': /usr/local/include/node/node_object_wrap.h:70: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In member function 'virtual void node::ObjectWrap::Ref()': /usr/local/include/node/node_object_wrap.h:79: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In member function 'virtual void node::ObjectWrap::Unref()': /usr/local/include/node/node_object_wrap.h:94: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In static member function 'static void node::ObjectWrap::WeakCallback(int)': /usr/local/include/node/node_object_wrap.h:106: error: 'data' was not declared in this scope /usr/local/include/node/node_object_wrap.h:107: error: 'value' was not declared in this scope /usr/local/include/node/node_object_wrap.h:107: error: 'class node::ObjectWrap' has no member named 'handle_' In file included from ../lib/node-db/./query.h:6, from ../lib/node-db/query.cc:2: /usr/local/include/node/node.h: At global scope: /usr/local/include/node/node.h:107: error: 'v8' has not been declared /usr/local/include/node/node.h:107: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:108: error: variable or field 'Load' declared void /usr/local/include/node/node.h:108: error: 'v8' has not been declared /usr/local/include/node/node.h:108: error: 'v8' has not been declared /usr/local/include/node/node.h:108: error: 'process' was not declared in this scope /usr/local/include/node/node.h:109: error: variable or field 'EmitExit' declared void /usr/local/include/node/node.h:109: error: 'v8' has not been declared /usr/local/include/node/node.h:109: error: 'v8' has not been declared /usr/local/include/node/node.h:109: error: 'process' was not declared in this scope /usr/local/include/node/node.h:139: error: 'v8' has not been declared /usr/local/include/node/node.h:139: error: 'v8' has not been declared /usr/local/include/node/node.h:139: error: 'encoding_v' was not declared in this scope /usr/local/include/node/node.h:140: error: expected primary-expression before 'enum' /usr/local/include/node/node.h:140: error: initializer expression list treated as compound expression /usr/local/include/node/node.h:141: error: variable or field 'FatalException' declared void /usr/local/include/node/node.h:141: error: 'v8' has not been declared /usr/local/include/node/node.h:141: error: 'try_catch' was not declared in this scope /usr/local/include/node/node.h:142: error: variable or field 'DisplayExceptionLine' declared void /usr/local/include/node/node.h:142: error: 'v8' has not been declared /usr/local/include/node/node.h:142: error: 'try_catch' was not declared in this scope /usr/local/include/node/node.h:144: error: 'v8' has not been declared /usr/local/include/node/node.h:144: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:148: error: 'v8' has not been declared /usr/local/include/node/node.h:148: error: 'v8' has not been declared /usr/local/include/node/node.h:148: error: expected primary-expression before ',' token /usr/local/include/node/node.h:149: error: expected primary-expression before 'enum' /usr/local/include/node/node.h:149: error: initializer expression list treated as compound expression /usr/local/include/node/node.h:154: error: 'v8' has not been declared /usr/local/include/node/node.h:154: error: expected ',' or '...' before '<' token /usr/local/include/node/node.h:169: error: 'v8' has not been declared /usr/local/include/node/node.h:169: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:179: error: 'v8' has not been declared /usr/local/include/node/node.h:179: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:184: error: 'v8' has not been declared /usr/local/include/node/node.h:184: error: expected initializer before '<' token /usr/local/include/node/node.h:191: error: 'v8' has not been declared /usr/local/include/node/node.h:191: error: expected initializer before '<' token /usr/local/include/node/node.h:198: error: variable or field 'cb_destroy' declared void /usr/local/include/node/node.h:198: error: 'v8' has not been declared /usr/local/include/node/node.h:198: error: 'v8' has not been declared /usr/local/include/node/node.h:198: error: 'cb' was not declared in this scope /usr/local/include/node/node.h:203: error: 'v8' has not been declared /usr/local/include/node/node.h:203: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:208: error: 'v8' has not been declared /usr/local/include/node/node.h:208: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:225: error: 'v8' has not been declared /usr/local/include/node/node.h:225: error: expected ',' or '...' before '<' token /usr/local/include/node/node.h:264: error: variable or field 'MakeCallback' declared void /usr/local/include/node/node.h:264: error: 'v8' has not been declared /usr/local/include/node/node.h:264: error: 'v8' has not been declared /usr/local/include/node/node.h:264: error: 'object' was not declared in this scope /usr/local/include/node/node.h:265: error: expected primary-expression before 'const' /usr/local/include/node/node.h:266: error: expected primary-expression before 'int' /usr/local/include/node/node.h:267: error: 'v8' has not been declared /usr/local/include/node/node.h:267: error: 'v8' has not been declared /usr/local/include/node/node.h:267: error: 'argv' was not declared in this scope /usr/local/include/node/node.h:267: error: expected primary-expression before ']' token In file included from ../lib/node-db/./query.h:7, from ../lib/node-db/query.cc:2: /usr/local/include/node/node_buffer.h:68: error: 'v8' has not been declared /usr/local/include/node/node_buffer.h:68: error: ISO C++ forbids declaration of 'Persistent' with no type /usr/local/include/node/node_buffer.h:68: error: expected ';' before '<' token /usr/local/include/node/node_buffer.h:70: error: 'v8' has not been declared /usr/local/include/node/node_buffer.h:70: error: expected ',' or '...' before '<' token /usr/local/include/node/node_buffer.h:72: error: 'Data' declared as an 'inline' field /usr/local/include/node/node_buffer.h:72: error: expected ';' before '(' token /usr/local/include/node/node_buffer.h:76: error: expected;' before 'static'
/usr/local/include/node/node_buffer.h:80: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:80: error: expected ',' or '...' before '<' token
/usr/local/include/node/node_buffer.h:94: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:94: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:94: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:96: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:96: error: expected ',' or '...' before '<' token
/usr/local/include/node/node_buffer.h:103: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:103: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:103: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:104: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:104: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:104: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:105: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:105: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:105: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:106: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:106: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:106: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:107: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:107: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:107: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:108: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:108: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:108: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:109: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:109: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:109: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:110: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:110: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:110: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:111: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:111: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:111: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:112: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:112: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:112: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:113: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:113: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:113: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:114: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:114: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:114: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:115: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:115: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:115: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:116: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:116: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:116: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:117: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:117: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:117: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:119: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:119: error: expected )' before '<' token /usr/local/include/node/node_buffer.h: In static member function 'static char* node::Buffer::Data(node::Buffer*)': /usr/local/include/node/node_buffer.h:77: error: 'class node::Buffer' has no member named 'handle_' /usr/local/include/node/node_buffer.h: In static member function 'static size_t node::Buffer::Length(int)': /usr/local/include/node/node_buffer.h:81: error: 'obj' was not declared in this scope /usr/local/include/node/node_buffer.h: In static member function 'static size_t node::Buffer::Length(node::Buffer*)': /usr/local/include/node/node_buffer.h:85: error: 'class node::Buffer' has no member named 'handle_' In file included from /usr/local/include/node/node.h:67, from ../lib/./node-db/node_defs.h:5, from ../src/./mysql.h:5, from ../src/mysql.cc:2: /usr/local/include/node/node_object_wrap.h:50: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:50: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:50: error: 'handle' was not declared in this scope /usr/local/include/node/node_object_wrap.h:50: error: 'Unwrap' declared as an 'inline' field /usr/local/include/node/node_object_wrap.h:50: error: template declaration of 'T* node::Unwrap' /usr/local/include/node/node_object_wrap.h:57: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:57: error: ISO C++ forbids declaration of 'Persistent' with no type /usr/local/include/node/node_object_wrap.h:57: error: expected ';' before '<' token /usr/local/include/node/node_object_wrap.h:60: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:60: error: expected ',' or '...' before '<' token /usr/local/include/node/node_object_wrap.h:105: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:105: error: expected ',' or '...' before '<' token /usr/local/include/node/node_object_wrap.h: In destructor 'virtual node::ObjectWrap::~ObjectWrap()': /usr/local/include/node/node_object_wrap.h:39: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h:42: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h: In member function 'void node::ObjectWrap::Wrap(int)': /usr/local/include/node/node_object_wrap.h:61: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h:62: error: 'handle' was not declared in this scope /usr/local/include/node/node_object_wrap.h:63: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:63: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:63: error: '::New' has not been declared /usr/local/include/node/node_object_wrap.h: In member function 'void node::ObjectWrap::MakeWeak()': /usr/local/include/node/node_object_wrap.h:70: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In member function 'virtual void node::ObjectWrap::Ref()': /usr/local/include/node/node_object_wrap.h:79: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In member function 'virtual void node::ObjectWrap::Unref()': /usr/local/include/node/node_object_wrap.h:94: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In static member function 'static void node::ObjectWrap::WeakCallback(int)': /usr/local/include/node/node_object_wrap.h:106: error: 'data' was not declared in this scope /usr/local/include/node/node_object_wrap.h:107: error: 'value' was not declared in this scope /usr/local/include/node/node_object_wrap.h:107: error: 'class node::ObjectWrap' has no member named 'handle_' In file included from ../lib/./node-db/node_defs.h:5, from ../src/./mysql.h:5, from ../src/mysql.cc:2: /usr/local/include/node/node.h: At global scope: /usr/local/include/node/node.h:107: error: 'v8' has not been declared /usr/local/include/node/node.h:107: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:108: error: variable or field 'Load' declared void /usr/local/include/node/node.h:108: error: 'v8' has not been declared /usr/local/include/node/node.h:108: error: 'v8' has not been declared /usr/local/include/node/node.h:108: error: 'process' was not declared in this scope /usr/local/include/node/node.h:109: error: variable or field 'EmitExit' declared void /usr/local/include/node/node.h:109: error: 'v8' has not been declared /usr/local/include/node/node.h:109: error: 'v8' has not been declared /usr/local/include/node/node.h:109: error: 'process' was not declared in this scope /usr/local/include/node/node.h:139: error: 'v8' has not been declared /usr/local/include/node/node.h:139: error: 'v8' has not been declared /usr/local/include/node/node.h:139: error: 'encoding_v' was not declared in this scope /usr/local/include/node/node.h:140: error: expected primary-expression before 'enum' /usr/local/include/node/node.h:140: error: initializer expression list treated as compound expression /usr/local/include/node/node.h:141: error: variable or field 'FatalException' declared void /usr/local/include/node/node.h:141: error: 'v8' has not been declared /usr/local/include/node/node.h:141: error: 'try_catch' was not declared in this scope /usr/local/include/node/node.h:142: error: variable or field 'DisplayExceptionLine' declared void /usr/local/include/node/node.h:142: error: 'v8' has not been declared /usr/local/include/node/node.h:142: error: 'try_catch' was not declared in this scope /usr/local/include/node/node.h:144: error: 'v8' has not been declared /usr/local/include/node/node.h:144: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:148: error: 'v8' has not been declared /usr/local/include/node/node.h:148: error: 'v8' has not been declared /usr/local/include/node/node.h:148: error: expected primary-expression before ',' token /usr/local/include/node/node.h:149: error: expected primary-expression before 'enum' /usr/local/include/node/node.h:149: error: initializer expression list treated as compound expression /usr/local/include/node/node.h:154: error: 'v8' has not been declared /usr/local/include/node/node.h:154: error: expected ',' or '...' before '<' token /usr/local/include/node/node.h:169: error: 'v8' has not been declared /usr/local/include/node/node.h:169: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:179: error: 'v8' has not been declared /usr/local/include/node/node.h:179: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:184: error: 'v8' has not been declared /usr/local/include/node/node.h:184: error: expected initializer before '<' token /usr/local/include/node/node.h:191: error: 'v8' has not been declared /usr/local/include/node/node.h:191: error: expected initializer before '<' token /usr/local/include/node/node.h:198: error: variable or field 'cb_destroy' declared void /usr/local/include/node/node.h:198: error: 'v8' has not been declared /usr/local/include/node/node.h:198: error: 'v8' has not been declared /usr/local/include/node/node.h:198: error: 'cb' was not declared in this scope /usr/local/include/node/node.h:203: error: 'v8' has not been declared /usr/local/include/node/node.h:203: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:208: error: 'v8' has not been declared /usr/local/include/node/node.h:208: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:225: error: 'v8' has not been declared /usr/local/include/node/node.h:225: error: expected ',' or '...' before '<' token /usr/local/include/node/node.h:264: error: variable or field 'MakeCallback' declared void /usr/local/include/node/node.h:264: error: 'v8' has not been declared /usr/local/include/node/node.h:264: error: 'v8' has not been declared /usr/local/include/node/node.h:264: error: 'object' was not declared in this scope /usr/local/include/node/node.h:265: error: expected primary-expression before 'const' /usr/local/include/node/node.h:266: error: expected primary-expression before 'int' /usr/local/include/node/node.h:267: error: 'v8' has not been declared /usr/local/include/node/node.h:267: error: 'v8' has not been declared /usr/local/include/node/node.h:267: error: 'argv' was not declared in this scope /usr/local/include/node/node.h:267: error: expected primary-expression before ']' token In file included from ../lib/node-db/./binding.h:10, from ../lib/node-db/binding.cc:2: ../lib/node-db/././events.h:21: error: 'v8' has not been declared ../lib/node-db/././events.h:21: error: expected ',' or '...' before '<' token In file included from ../lib/node-db/././query.h:7, from ../lib/node-db/./binding.h:12, from ../lib/node-db/binding.cc:2: /usr/local/include/node/node_buffer.h:68: error: 'v8' has not been declared /usr/local/include/node/node_buffer.h:68: error: ISO C++ forbids declaration of 'Persistent' with no type /usr/local/include/node/node_buffer.h:68: error: expected ';' before '<' token /usr/local/include/node/node_buffer.h:70: error: 'v8' has not been declared /usr/local/include/node/node_buffer.h:70: error: expected ',' or '...' before '<' token /usr/local/include/node/node_buffer.h:72: error: 'Data' declared as an 'inline' field /usr/local/include/node/node_buffer.h:72: error: expected ';' before '(' token /usr/local/include/node/node_buffer.h:76: error: expected;' before 'static'
/usr/local/include/node/node_buffer.h:80: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:80: error: expected ',' or '...' before '<' token
/usr/local/include/node/node_buffer.h:94: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:94: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:94: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:96: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:96: error: expected ',' or '...' before '<' token
/usr/local/include/node/node_buffer.h:103: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:103: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:103: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:104: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:104: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:104: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:105: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:105: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:105: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:106: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:106: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:106: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:107: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:107: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:107: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:108: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:108: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:108: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:109: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:109: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:109: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:110: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:110: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:110: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:111: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:111: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:111: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:112: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:112: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:112: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:113: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:113: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:113: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:114: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:114: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:114: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:115: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:115: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:115: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:116: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:116: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:116: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:117: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:117: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:117: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:119: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:119: error: expected )' before '<' token /usr/local/include/node/node_buffer.h: In static member function 'static char* node::Buffer::Data(node::Buffer*)': /usr/local/include/node/node_buffer.h:77: error: 'class node::Buffer' has no member named 'handle_' /usr/local/include/node/node_buffer.h: In static member function 'static size_t node::Buffer::Length(int)': /usr/local/include/node/node_buffer.h:81: error: 'obj' was not declared in this scope /usr/local/include/node/node_buffer.h: In static member function 'static size_t node::Buffer::Length(node::Buffer*)': /usr/local/include/node/node_buffer.h:85: error: 'class node::Buffer' has no member named 'handle_' In file included from /usr/local/include/node/node.h:67, from ../lib/./node-db/binding.h:5, from ../src/mysql_bindings.cc:2: /usr/local/include/node/node_object_wrap.h:50: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:50: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:50: error: 'handle' was not declared in this scope /usr/local/include/node/node_object_wrap.h:50: error: 'Unwrap' declared as an 'inline' field /usr/local/include/node/node_object_wrap.h:50: error: template declaration of 'T* node::Unwrap' /usr/local/include/node/node_object_wrap.h:57: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:57: error: ISO C++ forbids declaration of 'Persistent' with no type /usr/local/include/node/node_object_wrap.h:57: error: expected ';' before '<' token /usr/local/include/node/node_object_wrap.h:60: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:60: error: expected ',' or '...' before '<' token /usr/local/include/node/node_object_wrap.h:105: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:105: error: expected ',' or '...' before '<' token /usr/local/include/node/node_object_wrap.h: In destructor 'virtual node::ObjectWrap::~ObjectWrap()': /usr/local/include/node/node_object_wrap.h:39: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h:42: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h: In member function 'void node::ObjectWrap::Wrap(int)': /usr/local/include/node/node_object_wrap.h:61: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h:62: error: 'handle' was not declared in this scope /usr/local/include/node/node_object_wrap.h:63: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:63: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:63: error: '::New' has not been declared /usr/local/include/node/node_object_wrap.h: In member function 'void node::ObjectWrap::MakeWeak()': /usr/local/include/node/node_object_wrap.h:70: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In member function 'virtual void node::ObjectWrap::Ref()': /usr/local/include/node/node_object_wrap.h:79: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In member function 'virtual void node::ObjectWrap::Unref()': /usr/local/include/node/node_object_wrap.h:94: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In static member function 'static void node::ObjectWrap::WeakCallback(int)': /usr/local/include/node/node_object_wrap.h:106: error: 'data' was not declared in this scope /usr/local/include/node/node_object_wrap.h:107: error: 'value' was not declared in this scope /usr/local/include/node/node_object_wrap.h:107: error: 'class node::ObjectWrap' has no member named 'handle_' In file included from ../lib/./node-db/binding.h:5, from ../src/mysql_bindings.cc:2: /usr/local/include/node/node.h: At global scope: /usr/local/include/node/node.h:107: error: 'v8' has not been declared /usr/local/include/node/node.h:107: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:108: error: variable or field 'Load' declared void /usr/local/include/node/node.h:108: error: 'v8' has not been declared /usr/local/include/node/node.h:108: error: 'v8' has not been declared /usr/local/include/node/node.h:108: error: 'process' was not declared in this scope /usr/local/include/node/node.h:109: error: variable or field 'EmitExit' declared void /usr/local/include/node/node.h:109: error: 'v8' has not been declared /usr/local/include/node/node.h:109: error: 'v8' has not been declared /usr/local/include/node/node.h:109: error: 'process' was not declared in this scope /usr/local/include/node/node.h:139: error: 'v8' has not been declared /usr/local/include/node/node.h:139: error: 'v8' has not been declared /usr/local/include/node/node.h:139: error: 'encoding_v' was not declared in this scope /usr/local/include/node/node.h:140: error: expected primary-expression before 'enum' /usr/local/include/node/node.h:140: error: initializer expression list treated as compound expression /usr/local/include/node/node.h:141: error: variable or field 'FatalException' declared void /usr/local/include/node/node.h:141: error: 'v8' has not been declared /usr/local/include/node/node.h:141: error: 'try_catch' was not declared in this scope /usr/local/include/node/node.h:142: error: variable or field 'DisplayExceptionLine' declared void /usr/local/include/node/node.h:142: error: 'v8' has not been declared /usr/local/include/node/node.h:142: error: 'try_catch' was not declared in this scope /usr/local/include/node/node.h:144: error: 'v8' has not been declared /usr/local/include/node/node.h:144: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:148: error: 'v8' has not been declared /usr/local/include/node/node.h:148: error: 'v8' has not been declared /usr/local/include/node/node.h:148: error: expected primary-expression before ',' token /usr/local/include/node/node.h:149: error: expected primary-expression before 'enum' /usr/local/include/node/node.h:149: error: initializer expression list treated as compound expression /usr/local/include/node/node.h:154: error: 'v8' has not been declared /usr/local/include/node/node.h:154: error: expected ',' or '...' before '<' token /usr/local/include/node/node.h:169: error: 'v8' has not been declared /usr/local/include/node/node.h:169: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:179: error: 'v8' has not been declared /usr/local/include/node/node.h:179: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:184: error: 'v8' has not been declared /usr/local/include/node/node.h:184: error: expected initializer before '<' token /usr/local/include/node/node.h:191: error: 'v8' has not been declared /usr/local/include/node/node.h:191: error: expected initializer before '<' token /usr/local/include/node/node.h:198: error: variable or field 'cb_destroy' declared void /usr/local/include/node/node.h:198: error: 'v8' has not been declared /usr/local/include/node/node.h:198: error: 'v8' has not been declared /usr/local/include/node/node.h:198: error: 'cb' was not declared in this scope /usr/local/include/node/node.h:203: error: 'v8' has not been declared /usr/local/include/node/node.h:203: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:208: error: 'v8' has not been declared /usr/local/include/node/node.h:208: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:225: error: 'v8' has not been declared /usr/local/include/node/node.h:225: error: expected ',' or '...' before '<' token /usr/local/include/node/node.h:264: error: variable or field 'MakeCallback' declared void /usr/local/include/node/node.h:264: error: 'v8' has not been declared /usr/local/include/node/node.h:264: error: 'v8' has not been declared /usr/local/include/node/node.h:264: error: 'object' was not declared in this scope /usr/local/include/node/node.h:265: error: expected primary-expression before 'const' /usr/local/include/node/node.h:266: error: expected primary-expression before 'int' /usr/local/include/node/node.h:267: error: 'v8' has not been declared /usr/local/include/node/node.h:267: error: 'v8' has not been declared /usr/local/include/node/node.h:267: error: 'argv' was not declared in this scope /usr/local/include/node/node.h:267: error: expected primary-expression before ']' token In file included from /usr/local/include/node/node.h:67, from ../lib/./node-db/node_defs.h:5, from ../src/./query.h:5, from ../src/query.cc:2: /usr/local/include/node/node_object_wrap.h:50: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:50: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:50: error: 'handle' was not declared in this scope /usr/local/include/node/node_object_wrap.h:50: error: 'Unwrap' declared as an 'inline' field /usr/local/include/node/node_object_wrap.h:50: error: template declaration of 'T* node::Unwrap' /usr/local/include/node/node_object_wrap.h:57: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:57: error: ISO C++ forbids declaration of 'Persistent' with no type /usr/local/include/node/node_object_wrap.h:57: error: expected ';' before '<' token /usr/local/include/node/node_object_wrap.h:60: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:60: error: expected ',' or '...' before '<' token /usr/local/include/node/node_object_wrap.h:105: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:105: error: expected ',' or '...' before '<' token /usr/local/include/node/node_object_wrap.h: In destructor 'virtual node::ObjectWrap::~ObjectWrap()': /usr/local/include/node/node_object_wrap.h:39: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h:42: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h: In member function 'void node::ObjectWrap::Wrap(int)': /usr/local/include/node/node_object_wrap.h:61: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h:62: error: 'handle' was not declared in this scope /usr/local/include/node/node_object_wrap.h:63: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:63: error: 'v8' has not been declared /usr/local/include/node/node_object_wrap.h:63: error: '::New' has not been declared /usr/local/include/node/node_object_wrap.h: In member function 'void node::ObjectWrap::MakeWeak()': /usr/local/include/node/node_object_wrap.h:70: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In member function 'virtual void node::ObjectWrap::Ref()': /usr/local/include/node/node_object_wrap.h:79: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In member function 'virtual void node::ObjectWrap::Unref()': /usr/local/include/node/node_object_wrap.h:94: error: 'handle_' was not declared in this scope /usr/local/include/node/node_object_wrap.h: In static member function 'static void node::ObjectWrap::WeakCallback(int)': /usr/local/include/node/node_object_wrap.h:106: error: 'data' was not declared in this scope /usr/local/include/node/node_object_wrap.h:107: error: 'value' was not declared in this scope /usr/local/include/node/node_object_wrap.h:107: error: 'class node::ObjectWrap' has no member named 'handle_' In file included from ../lib/./node-db/node_defs.h:5, from ../src/./query.h:5, from ../src/query.cc:2: /usr/local/include/node/node.h: At global scope: /usr/local/include/node/node.h:107: error: 'v8' has not been declared /usr/local/include/node/node.h:107: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:108: error: variable or field 'Load' declared void /usr/local/include/node/node.h:108: error: 'v8' has not been declared /usr/local/include/node/node.h:108: error: 'v8' has not been declared /usr/local/include/node/node.h:108: error: 'process' was not declared in this scope /usr/local/include/node/node.h:109: error: variable or field 'EmitExit' declared void /usr/local/include/node/node.h:109: error: 'v8' has not been declared /usr/local/include/node/node.h:109: error: 'v8' has not been declared /usr/local/include/node/node.h:109: error: 'process' was not declared in this scope /usr/local/include/node/node.h:139: error: 'v8' has not been declared /usr/local/include/node/node.h:139: error: 'v8' has not been declared /usr/local/include/node/node.h:139: error: 'encoding_v' was not declared in this scope /usr/local/include/node/node.h:140: error: expected primary-expression before 'enum' /usr/local/include/node/node.h:140: error: initializer expression list treated as compound expression /usr/local/include/node/node.h:141: error: variable or field 'FatalException' declared void /usr/local/include/node/node.h:141: error: 'v8' has not been declared /usr/local/include/node/node.h:141: error: 'try_catch' was not declared in this scope /usr/local/include/node/node.h:142: error: variable or field 'DisplayExceptionLine' declared void /usr/local/include/node/node.h:142: error: 'v8' has not been declared /usr/local/include/node/node.h:142: error: 'try_catch' was not declared in this scope /usr/local/include/node/node.h:144: error: 'v8' has not been declared /usr/local/include/node/node.h:144: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:148: error: 'v8' has not been declared /usr/local/include/node/node.h:148: error: 'v8' has not been declared /usr/local/include/node/node.h:148: error: expected primary-expression before ',' token /usr/local/include/node/node.h:149: error: expected primary-expression before 'enum' /usr/local/include/node/node.h:149: error: initializer expression list treated as compound expression /usr/local/include/node/node.h:154: error: 'v8' has not been declared /usr/local/include/node/node.h:154: error: expected ',' or '...' before '<' token /usr/local/include/node/node.h:169: error: 'v8' has not been declared /usr/local/include/node/node.h:169: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:179: error: 'v8' has not been declared /usr/local/include/node/node.h:179: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:184: error: 'v8' has not been declared /usr/local/include/node/node.h:184: error: expected initializer before '<' token /usr/local/include/node/node.h:191: error: 'v8' has not been declared /usr/local/include/node/node.h:191: error: expected initializer before '<' token /usr/local/include/node/node.h:198: error: variable or field 'cb_destroy' declared void /usr/local/include/node/node.h:198: error: 'v8' has not been declared /usr/local/include/node/node.h:198: error: 'v8' has not been declared /usr/local/include/node/node.h:198: error: 'cb' was not declared in this scope /usr/local/include/node/node.h:203: error: 'v8' has not been declared /usr/local/include/node/node.h:203: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:208: error: 'v8' has not been declared /usr/local/include/node/node.h:208: error: expected constructor, destructor, or type conversion before '<' token /usr/local/include/node/node.h:225: error: 'v8' has not been declared /usr/local/include/node/node.h:225: error: expected ',' or '...' before '<' token /usr/local/include/node/node.h:264: error: variable or field 'MakeCallback' declared void /usr/local/include/node/node.h:264: error: 'v8' has not been declared /usr/local/include/node/node.h:264: error: 'v8' has not been declared /usr/local/include/node/node.h:264: error: 'object' was not declared in this scope /usr/local/include/node/node.h:265: error: expected primary-expression before 'const' /usr/local/include/node/node.h:266: error: expected primary-expression before 'int' /usr/local/include/node/node.h:267: error: 'v8' has not been declared /usr/local/include/node/node.h:267: error: 'v8' has not been declared /usr/local/include/node/node.h:267: error: 'argv' was not declared in this scope /usr/local/include/node/node.h:267: error: expected primary-expression before ']' token In file included from ../lib/./node-db/query.h:7, from ../src/./query.h:6, from ../src/query.cc:2: /usr/local/include/node/node_buffer.h:68: error: 'v8' has not been declared /usr/local/include/node/node_buffer.h:68: error: ISO C++ forbids declaration of 'Persistent' with no type /usr/local/include/node/node_buffer.h:68: error: expected ';' before '<' token /usr/local/include/node/node_buffer.h:70: error: 'v8' has not been declared /usr/local/include/node/node_buffer.h:70: error: expected ',' or '...' before '<' token /usr/local/include/node/node_buffer.h:72: error: 'Data' declared as an 'inline' field /usr/local/include/node/node_buffer.h:72: error: expected ';' before '(' token /usr/local/include/node/node_buffer.h:76: error: expected;' before 'static'
/usr/local/include/node/node_buffer.h:80: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:80: error: expected ',' or '...' before '<' token
/usr/local/include/node/node_buffer.h:94: error: 'v8' has not been declared
/usr/local/include/node/node_buffer.h:94: error: ISO C++ forbids declaration of 'Handle' with no type
/usr/local/include/node/node_buffer.h:94: error: expected ';' before '<' token
/usr/local/include/node/node_buffer.h:96: error: 'v8' has not been decla

curana commented Jun 18, 2012

Same problem here, FreeBSD 9.0-p3

How did you installed nodejs ? Did you installed it from ports or using a configure make install using the website tartball ? Because it seems you don't have the nodejs dev files (header files). That looks like a port install. Either find nodejs-dev on ports and install it or better, install from tarball.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment