-
Notifications
You must be signed in to change notification settings - Fork 29
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
Does Not Build on OS X #4
Comments
I'm seeing the same issue on OS X version 10.5.8 |
Found a fix, in database.h This will change the include from using the standard include path to using the file "sqlite3.h" in the current working directory. Then download the sqlite3 source files from http://www.sqlite.org/download.html and copy the sqlite3.h file into your /node-sqlite/src/ directory and re-run the configure/build command. |
There should be a 'pound' symbol at the start of those include lines - GitHub Markdown turned my pounds into hr's |
Even better, download the source files for sqlite, build and install from source. This will place sqlite in your /bin directory and make the headers available for the node-sqlite build. |
Can't install this extension on Ubuntu Hardy, with same errors. |
Yeah, trying to figure out where SQLite lives on different platforms is an annoying pain in the ass. Soon I will just ship the amalgamated SQLite source with node-sqlite and build it as a dependency. |
On ubuntu, may be you can try to install the package libsqlite3-dev to ensure you have sqlite3.h available. |
It does not build on OS X. I installed the latest Node.js using Homebrew.
Checked
node-sqlite
out of GitHub and ran the following.The text was updated successfully, but these errors were encountered: