Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created March 7, 2012 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save springmeyer/1994428 to your computer and use it in GitHub Desktop.
Save springmeyer/1994428 to your computer and use it in GitHub Desktop.
~/test_sqlite$ node -v
v0.6.11
~/test_sqlite$ npm install -g node-gyp
npm http GET https://registry.npmjs.org/node-gyp
npm http 304 https://registry.npmjs.org/node-gyp
npm http GET https://registry.npmjs.org/ansi
npm http GET https://registry.npmjs.org/fstream
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/tar
npm http GET https://registry.npmjs.org/mkdirp/0.3.0
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/fstream
npm http 304 https://registry.npmjs.org/nopt
npm http 304 https://registry.npmjs.org/ansi
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/which
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/tar
npm http 304 https://registry.npmjs.org/mkdirp/0.3.0
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/block-stream
npm http GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/fast-list
npm http 304 https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/block-stream
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/fast-list
npm http 304 https://registry.npmjs.org/lru-cache
/opt/node-v6/bin/node-gyp -> /opt/node-v6/lib/node_modules/node-gyp/bin/node-gyp.js
node-gyp@0.2.2 /opt/node-v6/lib/node_modules/node-gyp
├── which@1.0.5
├── ansi@0.0.4
├── mkdirp@0.3.0
├── request@2.9.153
├── nopt@1.0.10 (abbrev@1.0.3)
├── minimatch@0.1.5 (lru-cache@1.0.5)
├── tar@0.1.12 (inherits@1.0.0 block-stream@0.0.5)
├── fstream@0.1.13 (inherits@1.0.0 graceful-fs@1.1.5)
├── rimraf@2.0.1 (graceful-fs@1.1.5)
└── glob@3.1.5
~/test_sqlite$ npm install https://github.com/TooTallNate/node-sqlite3/tarball/
gyp
npm http GET https://github.com/TooTallNate/node-sqlite3/tarball/gyp
npm http 200 https://github.com/TooTallNate/node-sqlite3/tarball/gyp
> sqlite3@2.1.1 preinstall /Users/dane/test_sqlite/node_modules/sqlite3
> node-waf clean || (exit 0); node-waf configure build
Nothing to clean (project not configured)
Setting srcdir to : /Users/dane/test_sqlite/node_modules/sqlite3
Setting blddir to : /Users/dane/test_sqlite/node_modules/sqlite3/build
Checking for program g++ or c++ : /Developer/usr/bin/clang++
Checking for program cpp : /Developer/usr/bin/cpp
Checking for program ar : /Developer/usr/bin/ar
Checking for program ranlib : /Developer/usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /Users/dane/projects/node-mapnik/lib
Checking for node prefix : ok /opt/node-v6
Note: will build against internal copy of sqlite3 v3070800
(pass --with-sqlite3=/usr/local to build against an external version)
tar: Error opening archive: Failed to open 'sqlite-autoconf-3070800.tar.gz'
Traceback (most recent call last):
File "/opt/node-v6/bin/node-waf", line 16, in <module>
Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
File "/opt/node-v6/bin/../lib/node/wafadmin/Scripting.py", line 145, in prepare
prepare_impl(t, cwd, ver, wafdir)
File "/opt/node-v6/bin/../lib/node/wafadmin/Scripting.py", line 135, in prepare_impl
main()
File "/opt/node-v6/bin/../lib/node/wafadmin/Scripting.py", line 188, in main
fun(ctx)
File "/opt/node-v6/bin/../lib/node/wafadmin/Scripting.py", line 241, in configure
conf.sub_config([''])
File "/opt/node-v6/bin/../lib/node/wafadmin/Configure.py", line 221, in sub_config
self.recurse(k, name='configure')
File "/opt/node-v6/bin/../lib/node/wafadmin/Utils.py", line 634, in recurse
f(self)
File "/Users/dane/test_sqlite/node_modules/sqlite3/wscript", line 84, in configure
configure_internal_sqlite3(conf)
File "/Users/dane/test_sqlite/node_modules/sqlite3/wscript", line 131, in configure_internal_sqlite3
os.chdir(BUNDLED_SQLITE3)
OSError: [Errno 2] No such file or directory: 'sqlite-autoconf-3070800'
npm ERR! error installing sqlite3@2.1.1
npm ERR! sqlite3@2.1.1 preinstall: `node-waf clean || (exit 0); node-waf configure build`
npm ERR! `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the sqlite3@2.1.1 preinstall script.
npm ERR! This is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf clean || (exit 0); node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls sqlite3
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 11.3.0
npm ERR! command "node" "/opt/node-v6/bin/npm" "install" "https://github.com/TooTallNate/node-sqlite3/tarball/gyp"
npm ERR! cwd /Users/dane/test_sqlite
npm ERR! node -v v0.6.11
npm ERR! npm -v 1.1.1
npm ERR! code ELIFECYCLE
npm ERR! message sqlite3@2.1.1 preinstall: `node-waf clean || (exit 0); node-waf configure build`
npm ERR! message `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/dane/test_sqlite/npm-debug.log
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment