In both cases the module is automatically built with npm's internal version of `node-gyp`,
and thus your system must meet [node-gyp's requirements](https://github.com/TooTallNate/node-gyp#installation).
You can also make your own build of `sqlite3` from the source (see the next section for details).
# BUILDING
Unless building via `npm install` you will need `node-gyp` installed globally:
Unless building via `npm install`(which uses its own `node-gyp`) you will need `node-gyp` installed globally:
npm install node-gyp -g
The module depends only on libsqlite3. However, by default, an internal/bundled copy of sqlite will be built and statically linked, so an externally installed sqlite3 is not required.
The sqlite3 module depends only on libsqlite3. However, by default, an internal/bundled copy of sqlite will be built and statically linked, so an externally installed sqlite3 is not required.
If you wish to install against an external sqlite then you need to pass the `--sqlite` argument to `node-gyp`, `npm install` or the `configure` wrapper.
...
...
@@ -79,21 +93,13 @@ Note, if building against homebrew-installed sqlite on OS X you can do: