Skip to content

Instantly share code, notes, and snippets.

@phpwutz
Created May 30, 2011 18:15
Show Gist options
  • Save phpwutz/999243 to your computer and use it in GitHub Desktop.
Save phpwutz/999243 to your computer and use it in GitHub Desktop.
error message on trying to build node-sqlite3 with npm
npm install sqlite3
npm info it worked if it ends with ok
npm info using npm@0.3.18
npm info using node@v0.4.5
npm info preinstall sqlite3@2.0.12
Nothing to clean (project not configured)
Setting srcdir to : /home/node/.node_libraries/.npm/sqlite3/2.0.12/package
Setting blddir to : /home/node/.node_libraries/.npm/sqlite3/2.0.12/package/build
Checking for program g++ or c++ : /home/node/local/bin/g++
Checking for program cpp : /home/node/local/bin/cpp
Checking for program ar : /opt/local/bin/ar
Checking for program ranlib : /opt/local/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /opt/nodejs/v0.4.5
Checking for library sqlite3 : yes
'configure' finished successfully (0.115s)
Waf: Entering directory `/home/node/.node_libraries/.npm/sqlite3/2.0.12/package/build'
[1/4] cxx: src/sqlite3.cc -> build/default/src/sqlite3_1.o
[2/4] cxx: src/database.cc -> build/default/src/database_1.o
g++: [3/4] cxx: src/statement.cc -> build/default/src/statement_1.o
unrecognized option `-pthread'
g++: unrecognized option `-pthread'
g++: unrecognized option `-pthread'
../src/sqlite3.cc:5:21: sqlite3.h: No such file or directory
In file included from ../src/statement.cc:9:
../src/database.h:11:21: sqlite3.h: No such file or directory
In file included from ../src/statement.cc:9:
../src/database.h:83: error: `sqlite3_int64' does not name a type
../src/database.h:90: error: `sqlite3_int64' does not name a type
../src/database.h:157: error: `sqlite3_uint64' has not been declared
../src/database.h:157: error: ISO C++ forbids declaration of `nsecs' with no type
../src/database.h:161: error: `sqlite3_int64' has not been declared
../src/database.h:161: error: ISO C++ forbids declaration of `rowid' with no type
../src/database.h:173: error: ISO C++ forbids declaration of `sqlite3' with no type
../src/database.h:173: error: expected `;' before '*' token
../src/database.h: In constructor `node_sqlite3::Database::Baton::Baton(node_sqlite3::Database*, v8::Handle<v8::Function>)':
../src/database.h:40: error: `SQLITE_OK' was not declared in this scope
../src/database.h:40: warning: unused variable 'SQLITE_OK'
../src/database.h: In constructor `node_sqlite3::Database::Database()':
../src/database.h:104: error: class `node_sqlite3::Database' does not have any field named `handle'
../src/database.h: In destructor `virtual node_sqlite3::Database::~Database()':
../src/database.h:115: error: `handle' was not declared in this scope
../src/database.h:115: warning: unused variable 'handle'
In file included from ../src/statement.cc:10:
../src/statement.h: At global scope:
../src/statement.h:25: error: `SQLITE_NULL' was not declared in this scope
../src/statement.h:27: error: `SQLITE_NULL' was not declared in this scope
../src/statement.h: In constructor `node_sqlite3::Values::Integer::Integer(T, int64_t)':
../src/statement.h:37: error: `SQLITE_INTEGER' was not declared in this scope
../src/statement.h: In constructor `node_sqlite3::Values::Float::Float(T, double)':
../src/statement.h:43: error: `SQLITE_FLOAT' was not declared in this scope
../src/statement.h: In constructor `node_sqlite3::Values::Text::Text(T, size_t, const char*)':
../src/statement.h:49: error: `SQLITE_TEXT' was not declared in this scope
../src/statement.h: In constructor `node_sqlite3::Values::Blob::Blob(T, size_t, const void*)':
../src/statement.h:55: error: `SQLITE_BLOB' was not declared in this scope
../src/statement.h: At global scope:
../src/statement.h:112: error: `sqlite3_int64' does not name a type
../src/statement.h:222: error: `sqlite3_stmt' has not been declared
../src/statement.h:222: error: ISO C++ forbids declaration of `stmt' with no type
../src/statement.h:232: error: ISO C++ forbids declaration of `sqlite3_stmt' with no type
../src/statement.h:232: error: expected `;' before '*' token
In file included from ../src/sqlite3.cc:8:
../src/database.h:83: error: `sqlite3_int64' does not name a type
../src/statement.h: In destructor `node_sqlite3::Statement::Baton::~Baton()':
../src/statement.h:95: error: `SQLITE_INTEGER' was not declared in this scope
../src/database.h:90: error: `sqlite3_int64' does not name a type
../src/statement.h:95: error: `SQLITE_FLOAT' was not declared in this scope
../src/statement.h:95: error: `SQLITE_TEXT' was not declared in this scope
../src/statement.h:95: error: `SQLITE_BLOB' was not declared in this scope
../src/statement.h:95: error: `SQLITE_NULL' was not declared in this scope
../src/statement.h:95: warning: unused variable 'SQLITE_INTEGER'
../src/statement.h:95: warning: unused variable 'SQLITE_FLOAT'
../src/statement.h:95: warning: unused variable 'SQLITE_TEXT'
../src/statement.h:95: warning: unused variable 'SQLITE_BLOB'
../src/statement.h:95: warning: unused variable 'SQLITE_NULL'
../src/database.h:157: error: `sqlite3_uint64' has not been declared
../src/database.h:157: error: ISO C++ forbids declaration of `nsecs' with no type
../src/database.h:161: error: `sqlite3_int64' has not been declared
../src/database.h:161: error: ISO C++ forbids declaration of `rowid' with no type
../src/database.h:173: error: ISO C++ forbids declaration of `sqlite3' with no type
../src/database.h:173: error: expected `;' before '*' token
../src/statement.h: In constructor `node_sqlite3::Statement::RunBaton::RunBaton(node_sqlite3::Statement*, v8::Handle<v8::Function>)':
../src/statement.h:111: error: class `node_sqlite3::Statement::RunBaton' does not have any field named `inserted_id'
../src/database.h: In constructor `node_sqlite3::Database::Baton::Baton(node_sqlite3::Database*, v8::Handle<v8::Function>)':
../src/database.h:40: error: `SQLITE_OK' was not declared in this scope
../src/database.h:40: warning: unused variable 'SQLITE_OK'
../src/statement.h: In constructor `node_sqlite3::Statement::Statement(node_sqlite3::Database*)':
../src/statement.h:188: error: class `node_sqlite3::Statement' does not have any field named `handle'
../src/statement.h:189: error: `SQLITE_OK' was not declared in this scope
../src/statement.h:189: warning: unused variable 'SQLITE_OK'
../src/database.h: In constructor `node_sqlite3::Database::Database()':
../src/database.h:104: error: class `node_sqlite3::Database' does not have any field named `handle'
../src/database.h: In destructor `virtual node_sqlite3::Database::~Database()':
../src/database.h:115: error: `handle' was not declared in this scope
In file included from ../src/database.cc:7:
../src/database.h:11:21: sqlite3.h: No such file or directory
../src/database.h:115: warning: unused variable 'handle'
In file included from ../src/database.cc:7:
../src/database.h:83: error: `sqlite3_int64' does not name a type
../src/database.h:90: error: `sqlite3_int64' does not name a type
In file included from ../src/sqlite3.cc:9:
../src/statement.h: At global scope:
../src/statement.h:25: error: `SQLITE_NULL' was not declared in this scope
../src/statement.h:27: error: `SQLITE_NULL' was not declared in this scope
../src/database.h:157: error: `sqlite3_uint64' has not been declared
../src/database.h:157: error: ISO C++ forbids declaration of `nsecs' with no type
../src/database.h:161: error: `sqlite3_int64' has not been declared
../src/database.h:161: error: ISO C++ forbids declaration of `rowid' with no type
../src/database.h:173: error: ISO C++ forbids declaration of `sqlite3' with no type
../src/database.h:173: error: expected `;' before '*' token
../src/statement.h: In constructor `node_sqlite3::Values::Integer::Integer(T, int64_t)':
../src/statement.h:37: error: `SQLITE_INTEGER' was not declared in this scope
../src/statement.h: In constructor `node_sqlite3::Values::Float::Float(T, double)':
../src/statement.h:43: error: `SQLITE_FLOAT' was not declared in this scope
../src/statement.h: In constructor `node_sqlite3::Values::Text::Text(T, size_t, const char*)':
../src/statement.h:49: error: `SQLITE_TEXT' was not declared in this scope
../src/statement.h: In constructor `node_sqlite3::Values::Blob::Blob(T, size_t, const void*)':
../src/statement.h:55: error: `SQLITE_BLOB' was not declared in this scope
../src/statement.cc: In static member function `static int node_sqlite3::Statement::EIO_Prepare(eio_req*)':
../src/statement.cc:126: error: `sqlite3_mutex' was not declared in this scope
../src/statement.cc:126: error: `mtx' was not declared in this scope
../src/statement.cc:126: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/statement.cc:126: error: `sqlite3_db_mutex' was not declared in this scope
../src/statement.cc:127: error: `sqlite3_mutex_enter' was not declared in this scope
../src/statement.cc:130: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/statement.cc:133: error: 'class node_sqlite3::Statement' has no member named 'handle'
../src/statement.cc:135: error: `sqlite3_prepare_v2' was not declared in this scope
../src/statement.cc:137: error: `SQLITE_OK' was not declared in this scope
../src/statement.cc:138: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/statement.cc:138: error: `sqlite3_errmsg' was not declared in this scope
../src/statement.cc:139: error: 'class node_sqlite3::Statement' has no member named 'handle'
../src/statement.cc:138: warning: unused variable 'sqlite3_errmsg'
../src/statement.cc:137: warning: unused variable 'SQLITE_OK'
../src/statement.cc:142: error: `sqlite3_mutex_leave' was not declared in this scope
../src/statement.cc:126: warning: unused variable 'sqlite3_mutex'
../src/statement.cc:126: warning: unused variable 'sqlite3_db_mutex'
../src/statement.cc:127: warning: unused variable 'sqlite3_mutex_enter'
../src/statement.cc:135: warning: unused variable 'sqlite3_prepare_v2'
../src/statement.cc:142: warning: unused variable 'sqlite3_mutex_leave'
../src/statement.cc: In static member function `static int node_sqlite3::Statement::EIO_AfterPrepare(eio_req*)':
../src/statement.cc:151: error: `SQLITE_OK' was not declared in this scope
../src/database.h: In constructor `node_sqlite3::Database::Baton::Baton(node_sqlite3::Database*, v8::Handle<v8::Function>)':
../src/database.h:40: error: `SQLITE_OK' was not declared in this scope
../src/statement.h: At global scope:
../src/statement.h:112: error: `sqlite3_int64' does not name a type
../src/database.h:40: warning: unused variable 'SQLITE_OK'
../src/statement.cc:151: warning: unused variable 'SQLITE_OK'
../src/statement.cc: In member function `bool node_sqlite3::Statement::Bind(node_sqlite3::Parameters)':
../src/statement.cc:261: error: `handle' was not declared in this scope
../src/statement.cc:261: error: `sqlite3_reset' was not declared in this scope
../src/statement.cc:262: error: `sqlite3_clear_bindings' was not declared in this scope
../src/statement.cc:276: error: `sqlite3_bind_parameter_index' was not declared in this scope
../src/statement.cc:276: warning: unused variable 'sqlite3_bind_parameter_index'
../src/statement.cc:280: error: `SQLITE_INTEGER' was not declared in this scope
../src/statement.cc:282: error: `sqlite3_bind_int' was not declared in this scope
../src/statement.cc:282: warning: unused variable 'sqlite3_bind_int'
../src/statement.cc:284: error: `SQLITE_FLOAT' was not declared in this scope
../src/statement.cc:286: error: `sqlite3_bind_double' was not declared in this scope
../src/statement.cc:286: warning: unused variable 'sqlite3_bind_double'
../src/statement.cc:288: error: `SQLITE_TEXT' was not declared in this scope
../src/statement.cc:291: error: `SQLITE_TRANSIENT' was not declared in this scope
../src/statement.cc:291: error: `sqlite3_bind_text' was not declared in this scope
../src/statement.h:222: error: `sqlite3_stmt' has not been declared../src/statement.cc:291: warning: unused variable 'SQLITE_TRANSIENT'
../src/statement.cc:291: warning: unused variable 'sqlite3_bind_text'
../src/statement.cc:293: error: `SQLITE_BLOB' was not declared in this scope
../src/statement.h:222: error: ISO C++ forbids declaration of `stmt' with no type
../src/statement.cc:296: error: `SQLITE_TRANSIENT' was not declared in this scope
../src/statement.cc:296: error: `sqlite3_bind_blob' was not declared in this scope
../src/statement.cc:296: warning: unused variable 'SQLITE_TRANSIENT'
../src/statement.cc:296: warning: unused variable 'sqlite3_bind_blob'
../src/statement.cc:298: error: `SQLITE_NULL' was not declared in this scope
../src/statement.cc:299: error: `sqlite3_bind_null' was not declared in this scope
../src/statement.cc:299: warning: unused variable 'sqlite3_bind_null'
../src/statement.h:232: error: ISO C++ forbids declaration of `sqlite3_stmt' with no type
../src/statement.cc:280: warning: unused variable 'SQLITE_INTEGER'../src/statement.h:232: error: expected `;' before '*' token
../src/statement.cc:284: warning: unused variable 'SQLITE_FLOAT'
../src/statement.cc:288: warning: unused variable 'SQLITE_TEXT'
../src/statement.cc:293: warning: unused variable 'SQLITE_BLOB'
../src/statement.cc:298: warning: unused variable 'SQLITE_NULL'
../src/statement.cc:304: error: `SQLITE_OK' was not declared in this scope
../src/statement.cc:305: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/statement.cc:305: error: `sqlite3_errmsg' was not declared in this scope
../src/statement.cc:305: warning: unused variable 'sqlite3_errmsg'
../src/statement.cc:304: warning: unused variable 'SQLITE_OK'
../src/statement.cc:261: warning: unused variable 'sqlite3_reset'
../src/statement.cc:262: warning: unused variable 'sqlite3_clear_bindings'
../src/database.h: In constructor `node_sqlite3::Database::Database()':
../src/database.h:104: error: class `node_sqlite3::Database' does not have any field named `handle'
../src/database.h: In destructor `virtual node_sqlite3::Database::~Database()':
../src/database.h:115: error: `handle' was not declared in this scope
../src/statement.cc: In static member function `static int node_sqlite3::Statement::EIO_Bind(eio_req*)':
../src/statement.cc:334: error: `sqlite3_mutex' was not declared in this scope
../src/statement.cc:334: error: `mtx' was not declared in this scope
../src/statement.cc:334: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/statement.cc:334: error: `sqlite3_db_mutex' was not declared in this scope
../src/statement.cc:335: error: `sqlite3_mutex_enter' was not declared in this scope
../src/statement.cc:337: error: `sqlite3_mutex_leave' was not declared in this scope
../src/statement.cc:334: warning: unused variable 'sqlite3_mutex'
../src/statement.cc:334: warning: unused variable 'sqlite3_db_mutex'
../src/statement.cc:335: warning: unused variable 'sqlite3_mutex_enter'
../src/statement.cc:337: warning: unused variable 'sqlite3_mutex_leave'
../src/statement.cc: In static member function `static int node_sqlite3::Statement::EIO_AfterBind(eio_req*)':
../src/statement.cc:346: error: `SQLITE_OK' was not declared in this scope
../src/statement.cc:346: warning: unused variable 'SQLITE_OK'
../src/statement.h: In destructor `node_sqlite3::Statement::Baton::~Baton()':
../src/statement.h:95: error: `SQLITE_INTEGER' was not declared in this scope
../src/statement.h:95: error: `SQLITE_FLOAT' was not declared in this scope
../src/database.h:115: warning: unused variable 'handle'
../src/statement.h:95: error: `SQLITE_TEXT' was not declared in this scope
../src/statement.h:95: error: `SQLITE_BLOB' was not declared in this scope
../src/statement.h:95: error: `SQLITE_NULL' was not declared in this scope
../src/statement.h:95: warning: unused variable 'SQLITE_INTEGER'
../src/statement.h:95: warning: unused variable 'SQLITE_FLOAT'
../src/statement.h:95: warning: unused variable 'SQLITE_TEXT'
../src/statement.h:95: warning: unused variable 'SQLITE_BLOB'
../src/statement.h:95: warning: unused variable 'SQLITE_NULL'
In file included from ../src/database.cc:8:
../src/statement.h: At global scope:
../src/statement.h:25: error: `SQLITE_NULL' was not declared in this scope
../src/statement.h:27: error: `SQLITE_NULL' was not declared in this scope
../src/statement.h: In constructor `node_sqlite3::Values::Integer::Integer(T, int64_t)':
../src/statement.h:37: error: `SQLITE_INTEGER' was not declared in this scope
../src/statement.cc: In static member function `static int node_sqlite3::Statement::EIO_Get(eio_req*)':
../src/statement.cc:384: error: `SQLITE_DONE' was not declared in this scope
../src/statement.cc:385: error: `sqlite3_mutex' was not declared in this scope
../src/statement.cc:385: error: `mtx' was not declared in this scope
../src/statement.cc:385: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/statement.h: In constructor `node_sqlite3::Statement::RunBaton::RunBaton(node_sqlite3::Statement*, v8::Handle<v8::Function>)':
../src/statement.h:111: error: class `node_sqlite3::Statement::RunBaton' does not have any field named `inserted_id'../src/statement.cc:385: error: `sqlite3_db_mutex' was not declared in this scope
../src/statement.h: In constructor `node_sqlite3::Values::Float::Float(T, double)':
../src/statement.h:43: error: `SQLITE_FLOAT' was not declared in this scope
../src/statement.cc:386: error: `sqlite3_mutex_enter' was not declared in this scope
../src/statement.cc:389: error: 'class node_sqlite3::Statement' has no member named 'handle'
../src/statement.cc:389: error: `sqlite3_step' was not declared in this scope
../src/statement.cc:391: error: `SQLITE_ROW' was not declared in this scope
../src/statement.cc:392: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/statement.h: In constructor `node_sqlite3::Values::Text::Text(T, size_t, const char*)':
../src/statement.h:49: error: `SQLITE_TEXT' was not declared in this scope../src/statement.cc:392: error: `sqlite3_errmsg' was not declared in this scope
../src/statement.cc:392: warning: unused variable 'sqlite3_errmsg'
../src/statement.cc:391: warning: unused variable 'SQLITE_ROW'
../src/statement.cc:389: warning: unused variable 'sqlite3_step'
../src/statement.cc:396: error: `sqlite3_mutex_leave' was not declared in this scope
../src/statement.cc:398: error: `SQLITE_ROW' was not declared in this scope
../src/statement.cc:400: error: 'class node_sqlite3::Statement' has no member named 'handle'
../src/statement.cc:398: warning: unused variable 'SQLITE_ROW'
../src/statement.cc:385: warning: unused variable 'sqlite3_mutex'
../src/statement.cc:385: warning: unused variable 'sqlite3_db_mutex'
../src/statement.cc:386: warning: unused variable 'sqlite3_mutex_enter'
../src/statement.cc:396: warning: unused variable 'sqlite3_mutex_leave'
../src/statement.h: In constructor `node_sqlite3::Values::Blob::Blob(T, size_t, const void*)':
../src/statement.h:55: error: `SQLITE_BLOB' was not declared in this scope
../src/statement.cc: In static member function `static int node_sqlite3::Statement::EIO_AfterGet(eio_req*)':
../src/statement.cc:411: error: `SQLITE_ROW' was not declared in this scope
../src/statement.cc:411: error: `SQLITE_DONE' was not declared in this scope
../src/statement.cc:411: warning: unused variable 'SQLITE_DONE'
../src/statement.h: At global scope:
../src/statement.h:112: error: `sqlite3_int64' does not name a type
../src/statement.cc: In static member function `static int node_sqlite3::Statement::EIO_Run(eio_req*)':
../src/statement.cc:454: error: `sqlite3_mutex' was not declared in this scope
../src/statement.cc:454: error: `mtx' was not declared in this scope
../src/statement.cc:454: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/statement.cc:454: error: `sqlite3_db_mutex' was not declared in this scope
../src/statement.cc:455: error: `sqlite3_mutex_enter' was not declared in this scope
../src/statement.h: In constructor `node_sqlite3::Statement::Statement(node_sqlite3::Database*)':
../src/statement.h:188: error: class `node_sqlite3::Statement' does not have any field named `handle'../src/statement.cc:459: error: 'class node_sqlite3::Statement' has no member named 'handle'
../src/statement.cc:459: error: `sqlite3_reset' was not declared in this scope../src/statement.h:189: error: `SQLITE_OK' was not declared in this scope
../src/statement.cc:459: warning: unused variable 'sqlite3_reset'
../src/statement.cc:463: error: 'class node_sqlite3::Statement' has no member named 'handle'
../src/statement.cc:463: error: `sqlite3_step' was not declared in this scope
../src/statement.cc:465: error: `SQLITE_ROW' was not declared in this scope
../src/statement.cc:465: error: `SQLITE_DONE' was not declared in this scope
../src/statement.cc:466: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/statement.cc:466: error: `sqlite3_errmsg' was not declared in this scope
../src/statement.cc:466: warning: unused variable 'sqlite3_errmsg'
../src/statement.cc:469: error: 'struct node_sqlite3::Statement::RunBaton' has no member named 'inserted_id'
../src/statement.cc:469: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/statement.cc:469: error: `sqlite3_last_insert_rowid' was not declared in this scope
../src/statement.cc:470: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/statement.cc:470: error: `sqlite3_changes' was not declared in this scope
../src/statement.cc:469: warning: unused variable 'sqlite3_last_insert_rowid'
../src/statement.cc:470: warning: unused variable 'sqlite3_changes'
../src/statement.cc:465: warning: unused variable 'SQLITE_ROW'
../src/statement.cc:465: warning: unused variable 'SQLITE_DONE'
../src/statement.cc:463: warning: unused variable 'sqlite3_step'
../src/statement.cc:474: error: `sqlite3_mutex_leave' was not declared in this scope
../src/statement.h:222: error: `sqlite3_stmt' has not been declared
../src/statement.cc:454: warning: unused variable 'sqlite3_mutex'
../src/statement.h:222: error: ISO C++ forbids declaration of `stmt' with no type../src/statement.cc:454: warning: unused variable 'sqlite3_db_mutex'
../src/statement.cc:455: warning: unused variable 'sqlite3_mutex_enter'
../src/statement.cc:474: warning: unused variable 'sqlite3_mutex_leave'
../src/statement.h:189: warning: unused variable 'SQLITE_OK'
../src/statement.h:232: error: ISO C++ forbids declaration of `sqlite3_stmt' with no type
../src/statement.h:232: error: expected `;' before '*' token
../src/statement.cc: In static member function `static int node_sqlite3::Statement::EIO_AfterRun(eio_req*)':
../src/statement.cc:483: error: `SQLITE_ROW' was not declared in this scope
../src/statement.cc:483: error: `SQLITE_DONE' was not declared in this scope
../src/statement.cc:489: error: 'struct node_sqlite3::Statement::RunBaton' has no member named 'inserted_id'
../src/statement.cc:483: warning: unused variable 'SQLITE_ROW'
../src/statement.cc:483: warning: unused variable 'SQLITE_DONE'
../src/sqlite3.cc: In function `void init(v8::Handle<v8::Object>)':
../src/sqlite3.cc:17: error: `SQLITE_OPEN_READONLY' was not declared in this scope
../src/sqlite3.cc:18: error: `SQLITE_OPEN_READWRITE' was not declared in this scope
../src/sqlite3.cc:19: error: `SQLITE_OPEN_CREATE' was not declared in this scope
../src/sqlite3.cc:20: error: `SQLITE_VERSION' was not declared in this scope
../src/sqlite3.cc:24: error: `SQLITE_VERSION_NUMBER' was not declared in this scope
../src/sqlite3.cc:26: error: `SQLITE_OK' was not declared in this scope
../src/sqlite3.cc:27: error: `SQLITE_ERROR' was not declared in this scope
../src/sqlite3.cc:28: error: `SQLITE_INTERNAL' was not declared in this scope
../src/sqlite3.cc:29: error: `SQLITE_PERM' was not declared in this scope
../src/sqlite3.cc:30: error: `SQLITE_ABORT' was not declared in this scope
../src/sqlite3.cc:31: error: `SQLITE_BUSY' was not declared in this scope
../src/sqlite3.cc:32: error: `SQLITE_LOCKED' was not declared in this scope
../src/sqlite3.cc:33: error: `SQLITE_NOMEM' was not declared in this scope
../src/sqlite3.cc:34: error: `SQLITE_READONLY' was not declared in this scope
../src/sqlite3.cc:35: error: `SQLITE_INTERRUPT' was not declared in this scope
../src/sqlite3.cc:36: error: `SQLITE_IOERR' was not declared in this scope
../src/sqlite3.cc:37: error: `SQLITE_CORRUPT' was not declared in this scope
../src/sqlite3.cc:38: error: `SQLITE_NOTFOUND' was not declared in this scope
../src/sqlite3.cc:39: error: `SQLITE_FULL' was not declared in this scope
../src/sqlite3.cc:40: error: `SQLITE_CANTOPEN' was not declared in this scope
../src/sqlite3.cc:41: error: `SQLITE_PROTOCOL' was not declared in this scope
../src/sqlite3.cc:42: error: `SQLITE_EMPTY' was not declared in this scope
../src/sqlite3.cc:43: error: `SQLITE_SCHEMA' was not declared in this scope
../src/sqlite3.cc:44: error: `SQLITE_TOOBIG' was not declared in this scope
../src/statement.h: In destructor `node_sqlite3::Statement::Baton::~Baton()':
../src/statement.h:95: error: `SQLITE_INTEGER' was not declared in this scope
../src/sqlite3.cc:45: error: `SQLITE_CONSTRAINT' was not declared in this scope
../src/sqlite3.cc:46: error: `SQLITE_MISMATCH' was not declared in this scope
../src/statement.h:95: error: `SQLITE_FLOAT' was not declared in this scope
../src/sqlite3.cc:47: error: `SQLITE_MISUSE' was not declared in this scope
../src/sqlite3.cc:48: error: `SQLITE_NOLFS' was not declared in this scope
../src/sqlite3.cc:49: error: `SQLITE_AUTH' was not declared in this scope
../src/statement.h:95: error: `SQLITE_TEXT' was not declared in this scope
../src/sqlite3.cc:50: error: `SQLITE_FORMAT' was not declared in this scope
../src/sqlite3.cc:51: error: `SQLITE_RANGE' was not declared in this scope
../src/sqlite3.cc:52: error: `SQLITE_NOTADB' was not declared in this scope
../src/sqlite3.cc:17: warning: unused variable 'SQLITE_OPEN_READONLY'
../src/sqlite3.cc:18: warning: unused variable 'SQLITE_OPEN_READWRITE'
../src/sqlite3.cc:19: warning: unused variable 'SQLITE_OPEN_CREATE'
../src/sqlite3.cc:20: warning: unused variable 'SQLITE_VERSION'
../src/sqlite3.cc:24: warning: unused variable 'SQLITE_VERSION_NUMBER'
../src/sqlite3.cc:26: warning: unused variable 'SQLITE_OK'
../src/sqlite3.cc:27: warning: unused variable 'SQLITE_ERROR'
../src/sqlite3.cc:28: warning: unused variable 'SQLITE_INTERNAL'
../src/sqlite3.cc:29: warning: unused variable 'SQLITE_PERM'
../src/statement.cc: In static member function `static int node_sqlite3::Statement::EIO_All(eio_req*)':
../src/statement.cc:522: error: `sqlite3_mutex' was not declared in this scope
../src/sqlite3.cc:30: warning: unused variable 'SQLITE_ABORT'../src/statement.cc:522: error: `mtx' was not declared in this scope
../src/sqlite3.cc:31: warning: unused variable 'SQLITE_BUSY'
../src/statement.h:95: error: `SQLITE_BLOB' was not declared in this scope
../src/sqlite3.cc:32: warning: unused variable 'SQLITE_LOCKED'
../src/statement.cc:522: error: 'class node_sqlite3::Database' has no member named 'handle'../src/sqlite3.cc:33: warning: unused variable 'SQLITE_NOMEM'
../src/statement.cc:522: error: `sqlite3_db_mutex' was not declared in this scope
../src/statement.cc:523: error: `sqlite3_mutex_enter' was not declared in this scope../src/sqlite3.cc:34: warning: unused variable 'SQLITE_READONLY'
../src/sqlite3.cc:35: warning: unused variable 'SQLITE_INTERRUPT'
../src/sqlite3.cc:36: warning: unused variable 'SQLITE_IOERR'
../src/sqlite3.cc:37: warning: unused variable 'SQLITE_CORRUPT'../src/statement.h:95: error: `SQLITE_NULL' was not declared in this scope
../src/sqlite3.cc:38: warning: unused variable 'SQLITE_NOTFOUND'
../src/sqlite3.cc:39: warning: unused variable 'SQLITE_FULL'../src/statement.cc:527: error: 'class node_sqlite3::Statement' has no member named 'handle'
../src/sqlite3.cc:40: warning: unused variable 'SQLITE_CANTOPEN'../src/statement.cc:527: error: `sqlite3_reset' was not declared in this scope
../src/sqlite3.cc:41: warning: unused variable 'SQLITE_PROTOCOL'
../src/statement.cc:527: warning: unused variable 'sqlite3_reset'
../src/sqlite3.cc:42: warning: unused variable 'SQLITE_EMPTY'
../src/sqlite3.cc:43: warning: unused variable 'SQLITE_SCHEMA'
../src/sqlite3.cc:44: warning: unused variable 'SQLITE_TOOBIG'
../src/sqlite3.cc:45: warning: unused variable 'SQLITE_CONSTRAINT'
../src/sqlite3.cc:46: warning: unused variable 'SQLITE_MISMATCH'
../src/sqlite3.cc:47: warning: unused variable 'SQLITE_MISUSE'
../src/sqlite3.cc:48: warning: unused variable 'SQLITE_NOLFS'../src/statement.cc:531: error: 'class node_sqlite3::Statement' has no member named 'handle'
../src/statement.h:95: warning: unused variable 'SQLITE_INTEGER'../src/sqlite3.cc:49: warning: unused variable 'SQLITE_AUTH'
../src/sqlite3.cc:50: warning: unused variable 'SQLITE_FORMAT'
../src/statement.cc:531: error: `sqlite3_step' was not declared in this scope
../src/sqlite3.cc:51: warning: unused variable 'SQLITE_RANGE'
../src/statement.h:95: warning: unused variable 'SQLITE_FLOAT'../src/statement.cc:531: error: `SQLITE_ROW' was not declared in this scope
../src/sqlite3.cc:52: warning: unused variable 'SQLITE_NOTADB'
../src/statement.h:95: warning: unused variable 'SQLITE_TEXT'
../src/statement.h:95: warning: unused variable 'SQLITE_BLOB'
../src/statement.h:95: warning: unused variable 'SQLITE_NULL'
../src/statement.cc:533: error: 'class node_sqlite3::Statement' has no member named 'handle'
../src/statement.cc:531: warning: unused variable 'sqlite3_step'
../src/statement.cc:531: warning: unused variable 'SQLITE_ROW'
../src/statement.cc:537: error: `SQLITE_DONE' was not declared in this scope
../src/statement.cc:538: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/statement.cc:538: error: `sqlite3_errmsg' was not declared in this scope
../src/statement.cc:538: warning: unused variable 'sqlite3_errmsg'
../src/statement.cc:537: warning: unused variable 'SQLITE_DONE'
../src/statement.cc:542: error: `sqlite3_mutex_leave' was not declared in this scope
../src/statement.cc:522: warning: unused variable 'sqlite3_mutex'
../src/statement.cc:522: warning: unused variable 'sqlite3_db_mutex'../src/sqlite3.cc: In function `const char* sqlite_code_string(int)':
../src/sqlite3.cc:57: error: `SQLITE_OK' was not declared in this scope
../src/statement.cc:523: warning: unused variable 'sqlite3_mutex_enter'
../src/statement.cc:542: warning: unused variable 'sqlite3_mutex_leave'
../src/sqlite3.cc:58: error: `SQLITE_ERROR' was not declared in this scope
../src/sqlite3.cc:59: error: `SQLITE_INTERNAL' was not declared in this scope
../src/sqlite3.cc:60: error: `SQLITE_PERM' was not declared in this scope
../src/sqlite3.cc:61: error: `SQLITE_ABORT' was not declared in this scope
../src/sqlite3.cc:62: error: `SQLITE_BUSY' was not declared in this scope
../src/sqlite3.cc:63: error: `SQLITE_LOCKED' was not declared in this scope
../src/sqlite3.cc:64: error: `SQLITE_NOMEM' was not declared in this scope
../src/sqlite3.cc:65: error: `SQLITE_READONLY' was not declared in this scope
../src/sqlite3.cc:66: error: `SQLITE_INTERRUPT' was not declared in this scope
../src/sqlite3.cc:67: error: `SQLITE_IOERR' was not declared in this scope
../src/sqlite3.cc:68: error: `SQLITE_CORRUPT' was not declared in this scope
../src/sqlite3.cc:69: error: `SQLITE_NOTFOUND' was not declared in this scope
../src/sqlite3.cc:70: error: `SQLITE_FULL' was not declared in this scope
../src/sqlite3.cc:71: error: `SQLITE_CANTOPEN' was not declared in this scope
../src/sqlite3.cc:72: error: `SQLITE_PROTOCOL' was not declared in this scope
../src/sqlite3.cc:73: error: `SQLITE_EMPTY' was not declared in this scope
../src/sqlite3.cc:74: error: `SQLITE_SCHEMA' was not declared in this scope
../src/sqlite3.cc:75: error: `SQLITE_TOOBIG' was not declared in this scope../src/statement.cc: In static member function `static int node_sqlite3::Statement::EIO_AfterAll(eio_req*)':
../src/statement.cc:551: error: `SQLITE_DONE' was not declared in this scope
../src/sqlite3.cc:76: error: `SQLITE_CONSTRAINT' was not declared in this scope
../src/sqlite3.cc:77: error: `SQLITE_MISMATCH' was not declared in this scope
../src/sqlite3.cc:78: error: `SQLITE_MISUSE' was not declared in this scope
../src/sqlite3.cc:79: error: `SQLITE_NOLFS' was not declared in this scope
../src/sqlite3.cc:80: error: `SQLITE_AUTH' was not declared in this scope
../src/sqlite3.cc:81: error: `SQLITE_FORMAT' was not declared in this scope
../src/sqlite3.cc:82: error: `SQLITE_RANGE' was not declared in this scope
../src/sqlite3.cc:83: error: `SQLITE_NOTADB' was not declared in this scope
../src/sqlite3.cc:84: error: `SQLITE_ROW' was not declared in this scope
../src/sqlite3.cc:85: error: `SQLITE_DONE' was not declared in this scope
../src/sqlite3.cc:57: warning: unused variable 'SQLITE_OK'
../src/sqlite3.cc:58: warning: unused variable 'SQLITE_ERROR'
../src/sqlite3.cc:59: warning: unused variable 'SQLITE_INTERNAL'
../src/sqlite3.cc:60: warning: unused variable 'SQLITE_PERM'
../src/sqlite3.cc:61: warning: unused variable 'SQLITE_ABORT'
../src/sqlite3.cc:62: warning: unused variable 'SQLITE_BUSY'
../src/sqlite3.cc:63: warning: unused variable 'SQLITE_LOCKED'
../src/sqlite3.cc:64: warning: unused variable 'SQLITE_NOMEM'
../src/sqlite3.cc:65: warning: unused variable 'SQLITE_READONLY'
../src/sqlite3.cc:66: warning: unused variable 'SQLITE_INTERRUPT'
../src/sqlite3.cc:67: warning: unused variable 'SQLITE_IOERR'
../src/sqlite3.cc:68: warning: unused variable 'SQLITE_CORRUPT'
../src/sqlite3.cc:69: warning: unused variable 'SQLITE_NOTFOUND'
../src/sqlite3.cc:70: warning: unused variable 'SQLITE_FULL'
../src/sqlite3.cc:71: warning: unused variable 'SQLITE_CANTOPEN'
../src/sqlite3.cc:72: warning: unused variable 'SQLITE_PROTOCOL'
../src/sqlite3.cc:73: warning: unused variable 'SQLITE_EMPTY'
../src/sqlite3.cc:74: warning: unused variable 'SQLITE_SCHEMA'
../src/sqlite3.cc:75: warning: unused variable 'SQLITE_TOOBIG'
../src/sqlite3.cc:76: warning: unused variable 'SQLITE_CONSTRAINT'
../src/sqlite3.cc:77: warning: unused variable 'SQLITE_MISMATCH'
../src/sqlite3.cc:78: warning: unused variable 'SQLITE_MISUSE'
../src/sqlite3.cc:79: warning: unused variable 'SQLITE_NOLFS'
../src/sqlite3.cc:80: warning: unused variable 'SQLITE_AUTH'
../src/sqlite3.cc:81: warning: unused variable 'SQLITE_FORMAT'
../src/sqlite3.cc:82: warning: unused variable 'SQLITE_RANGE'
../src/sqlite3.cc:83: warning: unused variable 'SQLITE_NOTADB'
../src/sqlite3.cc:84: warning: unused variable 'SQLITE_ROW'
../src/sqlite3.cc:85: warning: unused variable 'SQLITE_DONE'
../src/statement.h: In constructor `node_sqlite3::Statement::RunBaton::RunBaton(node_sqlite3::Statement*, v8::Handle<v8::Function>)':
../src/statement.h:111: error: class `node_sqlite3::Statement::RunBaton' does not have any field named `inserted_id'
../src/sqlite3.cc: In function `const char* sqlite_authorizer_string(int)':
../src/sqlite3.cc:92: error: `SQLITE_INSERT' was not declared in this scope
../src/sqlite3.cc:93: error: `SQLITE_UPDATE' was not declared in this scope
../src/sqlite3.cc:94: error: `SQLITE_DELETE' was not declared in this scope
../src/sqlite3.cc:92: warning: unused variable 'SQLITE_INSERT'
../src/sqlite3.cc:93: warning: unused variable 'SQLITE_UPDATE'
../src/sqlite3.cc:94: warning: unused variable 'SQLITE_DELETE'
../src/statement.cc:551: warning: unused variable 'SQLITE_DONE'
../src/statement.h: In constructor `node_sqlite3::Statement::Statement(node_sqlite3::Database*)':
../src/statement.h:188: error: class `node_sqlite3::Statement' does not have any field named `handle'
../src/statement.h:189: error: `SQLITE_OK' was not declared in this scope
../src/statement.h:189: warning: unused variable 'SQLITE_OK'
../src/statement.cc: In static member function `static int node_sqlite3::Statement::EIO_Each(eio_req*)':
../src/statement.cc:616: error: `sqlite3_mutex' was not declared in this scope
../src/statement.cc:616: error: `mtx' was not declared in this scope
../src/statement.cc:616: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/statement.cc:616: error: `sqlite3_db_mutex' was not declared in this scope
../src/statement.cc:622: error: 'class node_sqlite3::Statement' has no member named 'handle'
../src/statement.cc:622: error: `sqlite3_reset' was not declared in this scope
../src/statement.cc:622: warning: unused variable 'sqlite3_reset'
../src/statement.cc:627: error: `sqlite3_mutex_enter' was not declared in this scope
../src/statement.cc:628: error: 'class node_sqlite3::Statement' has no member named 'handle'
../src/statement.cc:628: error: `sqlite3_step' was not declared in this scope
../src/statement.cc:629: error: `SQLITE_ROW' was not declared in this scope
../src/statement.cc:630: error: `sqlite3_mutex_leave' was not declared in this scope
../src/statement.cc:632: error: 'class node_sqlite3::Statement' has no member named 'handle'
../src/statement.cc:630: warning: unused variable 'sqlite3_mutex_leave'
../src/statement.cc:642: error: `SQLITE_DONE' was not declared in this scope
../src/statement.cc:643: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/statement.cc:643: error: `sqlite3_errmsg' was not declared in this scope
../src/statement.cc:643: warning: unused variable 'sqlite3_errmsg'
../src/statement.cc:642: warning: unused variable 'SQLITE_DONE'
../src/statement.cc:645: error: `sqlite3_mutex_leave' was not declared in this scope
../src/statement.cc:645: warning: unused variable 'sqlite3_mutex_leave'
../src/statement.cc:629: warning: unused variable 'SQLITE_ROW'
../src/statement.cc:627: warning: unused variable 'sqlite3_mutex_enter'
../src/statement.cc:628: warning: unused variable 'sqlite3_step'
../src/statement.cc:616: warning: unused variable 'sqlite3_mutex'
../src/statement.cc:616: warning: unused variable 'sqlite3_db_mutex'
../src/statement.cc: In static member function `static int node_sqlite3::Statement::EIO_AfterEach(eio_req*)':
../src/statement.cc:705: error: `SQLITE_DONE' was not declared in this scope
../src/statement.cc:705: warning: unused variable 'SQLITE_DONE'
../src/statement.cc: In static member function `static int node_sqlite3::Statement::EIO_Reset(eio_req*)':
../src/statement.cc:732: error: 'class node_sqlite3::Statement' has no member named 'handle'
../src/statement.cc:732: error: `sqlite3_reset' was not declared in this scope
../src/statement.cc:733: error: `SQLITE_OK' was not declared in this scope
../src/statement.cc:732: warning: unused variable 'sqlite3_reset'
../src/statement.cc:733: warning: unused variable 'SQLITE_OK'
../src/database.cc: In member function `void node_sqlite3::Database::Process()':
../src/database.cc:39: error: `SQLITE_MISUSE' was not declared in this scope
../src/statement.cc: In static member function `static v8::Local<v8::Object> node_sqlite3::Statement::RowToJS(node_sqlite3::Row*)':
../src/statement.cc:763: error: `SQLITE_INTEGER' was not declared in this scope
../src/statement.cc:766: error: `SQLITE_FLOAT' was not declared in this scope
../src/statement.cc:769: error: `SQLITE_TEXT' was not declared in this scope
../src/statement.cc:772: error: `SQLITE_BLOB' was not declared in this scope
../src/statement.cc:781: error: `SQLITE_NULL' was not declared in this scope
../src/statement.cc:763: warning: unused variable 'SQLITE_INTEGER'
../src/statement.cc:766: warning: unused variable 'SQLITE_FLOAT'
../src/statement.cc:769: warning: unused variable 'SQLITE_TEXT'
../src/statement.cc:772: warning: unused variable 'SQLITE_BLOB'
../src/statement.cc:781: warning: unused variable 'SQLITE_NULL'
../src/statement.cc:788: error: `SQLITE_INTEGER' was not declared in this scope
../src/statement.cc:788: error: `SQLITE_FLOAT' was not declared in this scope
../src/statement.cc:788: error: `SQLITE_TEXT' was not declared in this scope
../src/statement.cc:788: error: `SQLITE_BLOB' was not declared in this scope
../src/statement.cc:788: error: `SQLITE_NULL' was not declared in this scope
../src/statement.cc:788: warning: unused variable 'SQLITE_INTEGER'
../src/statement.cc:788: warning: unused variable 'SQLITE_FLOAT'
../src/statement.cc:788: warning: unused variable 'SQLITE_TEXT'
../src/statement.cc:788: warning: unused variable 'SQLITE_BLOB'
../src/statement.cc:788: warning: unused variable 'SQLITE_NULL'
../src/database.cc: In member function `void node_sqlite3::Database::Schedule(void (*)(node_sqlite3::Database::Baton*), node_sqlite3::Database::Baton*, bool)':
../src/database.cc:84: error: `SQLITE_MISUSE' was not declared in this scope
../src/statement.cc: At global scope:
../src/statement.cc:794: error: `sqlite3_stmt' has not been declared
../src/statement.cc:794: error: ISO C++ forbids declaration of `stmt' with no type
../src/statement.cc: In static member function `static void node_sqlite3::Statement::GetRow(node_sqlite3::Row*, int*)':
../src/statement.cc:795: error: `sqlite3_column_count' was not declared in this scope
../src/statement.cc:798: error: `sqlite3_column_type' was not declared in this scope
../src/statement.cc:799: error: `sqlite3_column_name' was not declared in this scope
../src/statement.cc:801: error: `SQLITE_INTEGER' was not declared in this scope
../src/statement.cc:802: error: `sqlite3_column_int64' was not declared in this scope
../src/statement.cc:802: warning: unused variable 'sqlite3_column_int64'
../src/statement.cc:804: error: `SQLITE_FLOAT' was not declared in this scope
../src/statement.cc:805: error: `sqlite3_column_double' was not declared in this scope
../src/statement.cc:805: warning: unused variable 'sqlite3_column_double'
../src/statement.cc:807: error: `SQLITE_TEXT' was not declared in this scope
../src/statement.cc:808: error: `sqlite3_column_text' was not declared in this scope
../src/statement.cc:809: error: `sqlite3_column_bytes' was not declared in this scope
../src/statement.cc:808: warning: unused variable 'sqlite3_column_text'
../src/statement.cc:809: warning: unused variable 'sqlite3_column_bytes'
../src/statement.cc:812: error: `SQLITE_BLOB' was not declared in this scope
../src/statement.cc:813: error: `sqlite3_column_blob' was not declared in this scope
../src/statement.cc:814: error: `sqlite3_column_bytes' was not declared in this scope
../src/statement.cc:813: warning: unused variable 'sqlite3_column_blob'
../src/statement.cc:814: warning: unused variable 'sqlite3_column_bytes'
../src/statement.cc:817: error: `SQLITE_NULL' was not declared in this scope
../src/statement.cc:801: warning: unused variable 'SQLITE_INTEGER'
../src/statement.cc:804: warning: unused variable 'SQLITE_FLOAT'
../src/statement.cc:807: warning: unused variable 'SQLITE_TEXT'
../src/statement.cc:812: warning: unused variable 'SQLITE_BLOB'
../src/statement.cc:817: warning: unused variable 'SQLITE_NULL'
../src/statement.cc:798: warning: unused variable 'sqlite3_column_type'
../src/statement.cc:799: warning: unused variable 'sqlite3_column_name'
../src/statement.cc:795: warning: unused variable 'sqlite3_column_count'
../src/database.cc: In static member function `static v8::Handle<v8::Value> node_sqlite3::Database::New(const v8::Arguments&)':
../src/database.cc:117: error: `SQLITE_OPEN_READWRITE' was not declared in this scope
../src/database.cc:117: error: `SQLITE_OPEN_CREATE' was not declared in this scope
../src/database.cc:134: error: `SQLITE_OPEN_FULLMUTEX' was not declared in this scope
../src/database.cc:117: warning: unused variable 'SQLITE_OPEN_READWRITE'
../src/database.cc:117: warning: unused variable 'SQLITE_OPEN_CREATE'
../src/database.cc:134: warning: unused variable 'SQLITE_OPEN_FULLMUTEX'
../src/statement.cc: In member function `void node_sqlite3::Statement::Finalize()':
../src/statement.cc:854: error: `handle' was not declared in this scope
../src/statement.cc:854: error: `sqlite3_finalize' was not declared in this scope
../src/statement.cc:854: warning: unused variable 'sqlite3_finalize'
../src/statement.cc: In member function `void node_sqlite3::Statement::CleanQueue()':
../src/statement.cc:863: error: `SQLITE_MISUSE' was not declared in this scope
../src/database.cc: In static member function `static int node_sqlite3::Database::EIO_Open(eio_req*)':
../src/database.cc:150: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:153: error: `sqlite3_open_v2' was not declared in this scope
../src/database.cc:155: error: `SQLITE_OK' was not declared in this scope
../src/database.cc:156: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:156: error: `sqlite3_errmsg' was not declared in this scope
../src/database.cc:157: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:157: error: `sqlite3_close' was not declared in this scope
../src/database.cc:158: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:156: warning: unused variable 'sqlite3_errmsg'
../src/database.cc:157: warning: unused variable 'sqlite3_close'
../src/database.cc:155: warning: unused variable 'SQLITE_OK'
../src/database.cc:153: warning: unused variable 'sqlite3_open_v2'
../src/database.cc: In static member function `static int node_sqlite3::Database::EIO_AfterOpen(eio_req*)':
../src/database.cc:170: error: `SQLITE_OK' was not declared in this scope
../src/database.cc:170: warning: unused variable 'SQLITE_OK'
../src/database.cc: In static member function `static void node_sqlite3::Database::EIO_BeginClose(node_sqlite3::Database::Baton*)':
../src/database.cc:217: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc: In static member function `static int node_sqlite3::Database::EIO_Close(eio_req*)':
../src/database.cc:228: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:228: error: `sqlite3_close' was not declared in this scope
../src/database.cc:230: error: `SQLITE_OK' was not declared in this scope
../src/database.cc:231: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:231: error: `sqlite3_errmsg' was not declared in this scope
../src/database.cc:231: warning: unused variable 'sqlite3_errmsg'
../src/database.cc:234: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:230: warning: unused variable 'SQLITE_OK'
../src/database.cc:228: warning: unused variable 'sqlite3_close'
../src/database.cc: In static member function `static int node_sqlite3::Database::EIO_AfterClose(eio_req*)':
../src/database.cc:245: error: `SQLITE_OK' was not declared in this scope
../src/database.cc:245: warning: unused variable 'SQLITE_OK'
../src/database.cc: In static member function `static void node_sqlite3::Database::RegisterTraceCallback(node_sqlite3::Database::Baton*)':
../src/database.cc:341: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:347: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:347: error: `sqlite3_trace' was not declared in this scope
../src/database.cc:347: warning: unused variable 'sqlite3_trace'
../src/database.cc:351: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:351: error: `sqlite3_trace' was not declared in this scope
../src/database.cc:351: warning: unused variable 'sqlite3_trace'
../src/database.cc: In static member function `static void node_sqlite3::Database::RegisterProfileCallback(node_sqlite3::Database::Baton*)':
../src/database.cc:378: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:384: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:384: error: `sqlite3_profile' was not declared in this scope
../src/database.cc:384: warning: unused variable 'sqlite3_profile'
../src/database.cc:388: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:388: error: `sqlite3_profile' was not declared in this scope
../src/database.cc:388: warning: unused variable 'sqlite3_profile'
../src/database.cc: At global scope:
../src/database.cc:396: error: `sqlite3_uint64' has not been declared
../src/database.cc:396: error: ISO C++ forbids declaration of `nsecs' with no type
../src/database.cc: In static member function `static void node_sqlite3::Database::ProfileCallback(void*, const char*, int)':
../src/database.cc:401: error: 'struct node_sqlite3::Database::ProfileInfo' has no member named 'nsecs'
../src/database.cc: In static member function `static void node_sqlite3::Database::ProfileCallback(node_sqlite3::Database*, node_sqlite3::Database::ProfileInfo*)':
../src/database.cc:410: error: 'struct node_sqlite3::Database::ProfileInfo' has no member named 'nsecs'
../src/database.cc: In static member function `static void node_sqlite3::Database::RegisterUpdateCallback(node_sqlite3::Database::Baton*)':
../src/database.cc:418: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:424: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:424: error: `sqlite3_update_hook' was not declared in this scope
../src/database.cc:424: warning: unused variable 'sqlite3_update_hook'
../src/database.cc:428: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:428: error: `sqlite3_update_hook' was not declared in this scope
../src/database.cc:428: warning: unused variable 'sqlite3_update_hook'
../src/database.cc: At global scope:
../src/database.cc:437: error: `sqlite3_int64' has not been declared
../src/database.cc:437: error: ISO C++ forbids declaration of `rowid' with no type
../src/database.cc: In static member function `static void node_sqlite3::Database::UpdateCallback(void*, int, const char*, const char*, int)':
../src/database.cc:444: error: 'struct node_sqlite3::Database::UpdateInfo' has no member named 'rowid'
../src/database.cc: In static member function `static void node_sqlite3::Database::UpdateCallback(node_sqlite3::Database*, node_sqlite3::Database::UpdateInfo*)':
../src/database.cc:455: error: 'struct node_sqlite3::Database::UpdateInfo' has no member named 'rowid'
../src/database.cc: In static member function `static void node_sqlite3::Database::EIO_BeginExec(node_sqlite3::Database::Baton*)':
../src/database.cc:477: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc: In static member function `static int node_sqlite3::Database::EIO_Exec(eio_req*)':
../src/database.cc:487: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:492: error: `sqlite3_exec' was not declared in this scope
../src/database.cc:494: error: `SQLITE_OK' was not declared in this scope
../src/database.cc:496: error: `sqlite3_free' was not declared in this scope
../src/database.cc:496: warning: unused variable 'sqlite3_free'
../src/database.cc:494: warning: unused variable 'SQLITE_OK'
../src/database.cc:492: warning: unused variable 'sqlite3_exec'
../src/database.cc: In static member function `static int node_sqlite3::Database::EIO_AfterExec(eio_req*)':
../src/database.cc:508: error: `SQLITE_OK' was not declared in this scope
../src/database.cc:508: warning: unused variable 'SQLITE_OK'
../src/database.cc: In static member function `static void node_sqlite3::Database::EIO_BeginLoadExtension(node_sqlite3::Database::Baton*)':
../src/database.cc:547: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc: In static member function `static int node_sqlite3::Database::EIO_LoadExtension(eio_req*)':
../src/database.cc:555: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:555: error: `sqlite3_enable_load_extension' was not declared in this scope
../src/database.cc:559: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:563: error: `sqlite3_load_extension' was not declared in this scope
../src/database.cc:565: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:567: error: `SQLITE_OK' was not declared in this scope
../src/database.cc:569: error: `sqlite3_free' was not declared in this scope
../src/database.cc:569: warning: unused variable 'sqlite3_free'
../src/database.cc:567: warning: unused variable 'SQLITE_OK'
../src/database.cc:563: warning: unused variable 'sqlite3_load_extension'
../src/database.cc: In static member function `static int node_sqlite3::Database::EIO_AfterLoadExtension(eio_req*)':
../src/database.cc:580: error: `SQLITE_OK' was not declared in this scope
../src/database.cc:580: warning: unused variable 'SQLITE_OK'
../src/database.cc: In static member function `static void node_sqlite3::Database::Destruct(v8::Persistent<v8::Value>, void*)':
../src/database.cc:642: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc: In static member function `static int node_sqlite3::Database::EIO_Destruct(eio_req*)':
../src/database.cc:654: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:654: error: `sqlite3_close' was not declared in this scope
../src/database.cc:655: error: 'class node_sqlite3::Database' has no member named 'handle'
../src/database.cc:654: warning: unused variable 'sqlite3_close'
Waf: Leaving directory `/home/node/.node_libraries/.npm/sqlite3/2.0.12/package/build'
Build failed:
-> task failed (err #1):
{task: cxx sqlite3.cc -> sqlite3_1.o}
-> task failed (err #1):
{task: cxx statement.cc -> statement_1.o}
-> task failed (err #1):
{task: cxx database.cc -> database_1.o}
npm info sqlite3@2.0.12 Failed to exec preinstall script
npm ERR! install failed Error: sqlite3@2.0.12 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! install failed `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! install failed at ChildProcess.<anonymous> (/opt/nodejs/node_modules/.npm/npm/0.3.18/package/lib/utils/exec.js:49:20)
npm ERR! install failed at ChildProcess.emit (events.js:67:17)
npm ERR! install failed at ChildProcess.onexit (child_process.js:192:12)
npm info install failed rollback
npm info uninstall [ 'sqlite3@2.0.12' ]
npm info preuninstall sqlite3@2.0.12
npm info uninstall sqlite3@2.0.12
npm info auto-deactive not symlink
npm info postuninstall sqlite3@2.0.12
npm info uninstall sqlite3@2.0.12 complete
npm info install failed rolled back
npm ERR! Error: sqlite3@2.0.12 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! at ChildProcess.<anonymous> (/opt/nodejs/node_modules/.npm/npm/0.3.18/package/lib/utils/exec.js:49:20)
npm ERR! at ChildProcess.emit (events.js:67:17)
npm ERR! at ChildProcess.onexit (child_process.js:192:12)
npm ERR!
npm ERR! Failed at the sqlite3@2.0.12 preinstall script.
npm ERR! This is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf clean || true; node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls sqlite3
npm ERR! There is likely additional logging output above.
npm ERR! System SunOS 5.11
npm ERR! argv { remain: [ 'sqlite3' ],
npm ERR! argv cooked: [ 'install', 'sqlite3' ],
npm ERR! argv original: [ 'install', 'sqlite3' ] }
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment