Nodejs Sqlite Module Issue


I have been trying on setting up with nodejs sqlite module https://github.com/grumdrig/node-sqlite (Node-Sqlite) and i am facing an issue as follow when i try to build

node-waf build

it throws me following error

Waf: Entering directory /home/anand/Downloads/node-sqlite/build'
[1/2] cxx: sqlite3_bindings.cc -> build/Release/sqlite3_bindings_1.o
../sqlite3_bindings.cc:19:25: fatal error: node_events.h: No such file or directory
compilation terminated.
Waf: Leaving directory/home/anand/Downloads/node-sqlite/build'
Build failed: -> task failed (err #1): 
{task: cxx sqlite3_bindings.cc -> sqlite3_bindings_1.o}

My platform was ubuntu v11.04 and node v0.6.15

i found an another module to over come this issue https://github.com/developmentseed/node-sqlite3 node-sqlite3

installation can be done pretty simple with npm registry

npm install sqlite3
Advertisements

Tags: , , ,

About anandof86

Work for CSS Corp Labs, Cloud and Tools.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: