-
-
Notifications
You must be signed in to change notification settings - Fork 831
npm install sqlite3 not working on mac os x 10.6.8 #50
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
Comments
that debug log does not show the actual error, so it is not possible to help you. You need to paste the terminal output. If you did not see any then you'd need to download the sources and run:
and then paste the output you see. But, my guess is that you are installing the latest version against an older version of node. The latest version (2.1.x) only works with node v0.6 or greater. If you want node v0.4.x compatible node-sqlite3 then try the 2.0.18 version. |
Thanks for the fast response. I'm using node 0.6.1. The log from the console : |
@morishani, it looks like you don't have the header files of node 0.6 installed which are required for compiling extensions. How did you install node 0.6? |
Via the macintosh installer found here : http://nodejs.org/#download |
@morishani, for the time being, you have to install node manually from source. I recommend using nvm. The installer doesn't ship with the header files required for compiling extensions. |
@morishani: I was running into the same problem, and the Development Seed guys very kindly helped to locate the problem. I had upgraded from NodeJS v0.4.1 to v0.6.7, but still had some of the old version's files and headers in my path. The fix, in three steps:
|
With #61 merged, installation now uses |
npm-debug.log can be found here :
http://cl.ly/121F0P2z1Z0k263b0j3y
Thanks.
The text was updated successfully, but these errors were encountered: