Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-waf build Error #40

Open
anandof28 opened this issue Apr 19, 2012 · 7 comments
Open

node-waf build Error #40

anandof28 opened this issue Apr 19, 2012 · 7 comments

Comments

@anandof28
Copy link

I am using Ubuntu 11.10 , node-waf configure has no issue but build throws this 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}

@schteppe
Copy link

The same just happened for me. Did you find any workaround?

@anandof28
Copy link
Author

@schteppe i tired re-installing entire thing, still facing same issue.

@schteppe
Copy link

$ node-waf configure
Checking for program g++ or c++          : /home/steffe/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 program gcc or cc           : /home/steffe/bin/gcc 
Checking for gcc                         : ok  
Checking for node path                   : not found 
Checking for node prefix                 : ok /usr/local 
'configure' finished successfully (0.053s)

Node path not found..? But:

$ echo $NODE_PATH
/usr/lib/node_modules:/home/steffe/git/node:

...should be OK.

@schteppe
Copy link

People seem to have started using this package instead:
https://github.com/developmentseed/node-sqlite3

It is called "sqlite3" in the NPM registry.

@anandof28
Copy link
Author

@schteppe ya thanks ... it works! really thank you so much.

@schteppe
Copy link

No problem! I would suggest @orlandov to put a note in the readme about this to avoid future confusion.

@cleverca22
Copy link

ChangeLog:* #1335 Remove EventEmitter from C++

that object (and include file) was removed from node around v0.5.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants