Build error on debian squeeze
rickard2 opened this issue · 2 comments
rickard2 commented
Hi
I tried to build this module today and got this error:
rickard@mirkkhaxx:~/src/node-sqlite$ node-waf build Waf: Entering directory `/home/rickard/src/node-sqlite/build' [1/2] cxx: sqlite3_bindings.cc -> build/default/sqlite3_bindings_1.o ../sqlite3_bindings.cc: In static member function âstatic int Sqlite3Db::CommitHook(void*)â: ../sqlite3_bindings.cc:145: error: no matching function for call to âSqlite3Db::Emit(const char [7], int, NULL)â /usr/include/node/node_events.h:15: note: candidates are: bool node::EventEmitter::Emit(v8::Handle, int, v8::Handle*) ../sqlite3_bindings.cc: In static member function âstatic void Sqlite3Db::RollbackHook(void*)â: ../sqlite3_bindings.cc:153: error: no matching function for call to âSqlite3Db::Emit(const char [9], int, NULL)â /usr/include/node/node_events.h:15: note: candidates are: bool node::EventEmitter::Emit(v8::Handle, int, v8::Handle*) ../sqlite3_bindings.cc: In static member function âstatic void Sqlite3Db::UpdateHook(void*, int, const char*, const char*, sqlite_int64)â: ../sqlite3_bindings.cc:162: error: no matching function for call to âSqlite3Db::Emit(const char [7], int, v8::Local [4])â /usr/include/node/node_events.h:15: note: candidates are: bool node::EventEmitter::Emit(v8::Handle, int, v8::Handle*) Waf: Leaving directory `/home/rickard/src/node-sqlite/build' Build failed: -> task failed (err #1): {task: cxx sqlite3_bindings.cc -> sqlite3_bindings_1.o}
I'm running version 3.7.3 of sqlite on debian 6.0/squeeze:
rickard@mirkkhaxx:~/src/node-sqlite$ dpkg -l | grep sqlite3 ii libdbd-sqlite3-perl 1.29-3 Perl DBI driver with a self-contained RDBMS ii libsqlite3-0 3.7.3-1 SQLite 3 shared library ii libsqlite3-dev 3.7.3-1 SQLite 3 development files ii sqlite3 3.7.3-1 A command line interface for SQLite 3
rickard2 commented
Just went back and tried this again and found out that the code from the googlecode repo didn't compile, however the code from github does. Sorry for reporting..
grumdrig commented
No sweat - thanks rickard.