Skip to content

Instantly share code, notes, and snippets.

@geekinthesticks
Created March 17, 2013 08:59
Show Gist options
  • Save geekinthesticks/5180735 to your computer and use it in GitHub Desktop.
Save geekinthesticks/5180735 to your computer and use it in GitHub Desktop.
npm sqlite3 Install Error on ArchLinux.
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', 'sqlite3' ]
2 info using npm@1.2.14
3 info using node@v0.10.0
4 verbose read json /home/ian/Dropbox/src/PiThermServer/package.json
5 verbose read json /home/ian/Dropbox/src/PiThermServer/package.json
6 verbose cache add [ 'sqlite3', null ]
7 verbose cache add name=undefined spec="sqlite3" args=["sqlite3",null]
8 verbose parsed url { protocol: null,
8 verbose parsed url slashes: null,
8 verbose parsed url auth: null,
8 verbose parsed url host: null,
8 verbose parsed url port: null,
8 verbose parsed url hostname: null,
8 verbose parsed url hash: null,
8 verbose parsed url search: null,
8 verbose parsed url query: null,
8 verbose parsed url pathname: 'sqlite3',
8 verbose parsed url path: 'sqlite3',
8 verbose parsed url href: 'sqlite3' }
9 silly lockFile b54e393c-sqlite3 sqlite3
10 verbose lock sqlite3 /root/.npm/b54e393c-sqlite3.lock
11 silly lockFile b54e393c-sqlite3 sqlite3
12 silly lockFile b54e393c-sqlite3 sqlite3
13 verbose addNamed [ 'sqlite3', '' ]
14 verbose addNamed [ null, '' ]
15 silly lockFile b9879749-sqlite3 sqlite3@
16 verbose lock sqlite3@ /root/.npm/b9879749-sqlite3.lock
17 silly addNameRange { name: 'sqlite3', range: '', hasData: false }
18 verbose url raw sqlite3
19 verbose url resolving [ 'https://registry.npmjs.org/', './sqlite3' ]
20 verbose url resolved https://registry.npmjs.org/sqlite3
21 info trying registry request attempt 1 at 10:24:31
22 verbose etag "AQO1MN9ZJS6QWH4YN8JBSXV0U"
23 http GET https://registry.npmjs.org/sqlite3
24 http 304 https://registry.npmjs.org/sqlite3
25 silly registry.get cb [ 304,
25 silly registry.get { server: 'CouchDB/1.2.1 (Erlang OTP/R15B03)',
25 silly registry.get etag: '"AQO1MN9ZJS6QWH4YN8JBSXV0U"',
25 silly registry.get date: 'Sat, 16 Mar 2013 10:24:32 GMT',
25 silly registry.get 'content-length': '0' } ]
26 verbose etag sqlite3 from cache
27 silly addNameRange number 2 { name: 'sqlite3', range: '', hasData: true }
28 silly addNameRange versions [ 'sqlite3',
28 silly addNameRange [ '2.0.0',
28 silly addNameRange '2.0.1',
28 silly addNameRange '2.0.2',
28 silly addNameRange '2.0.3',
28 silly addNameRange '2.0.4',
28 silly addNameRange '2.0.5',
28 silly addNameRange '2.0.6',
28 silly addNameRange '2.0.7',
28 silly addNameRange '2.0.8',
28 silly addNameRange '2.0.9',
28 silly addNameRange '2.0.10',
28 silly addNameRange '2.0.11',
28 silly addNameRange '2.0.12',
28 silly addNameRange '2.0.13',
28 silly addNameRange '2.0.14',
28 silly addNameRange '2.0.15',
28 silly addNameRange '2.0.16',
28 silly addNameRange '2.0.17',
28 silly addNameRange '2.0.18',
28 silly addNameRange '2.1.0',
28 silly addNameRange '2.1.1',
28 silly addNameRange '2.1.2',
28 silly addNameRange '2.1.3',
28 silly addNameRange '2.1.4',
28 silly addNameRange '2.1.5' ] ]
29 verbose addNamed [ 'sqlite3', '2.1.5' ]
30 verbose addNamed [ '2.1.5', '2.1.5' ]
31 silly lockFile cdee03cf-sqlite3-2-1-5 sqlite3@2.1.5
32 verbose lock sqlite3@2.1.5 /root/.npm/cdee03cf-sqlite3-2-1-5.lock
33 verbose read json /root/.npm/sqlite3/2.1.5/package/package.json
34 silly lockFile cdee03cf-sqlite3-2-1-5 sqlite3@2.1.5
35 silly lockFile cdee03cf-sqlite3-2-1-5 sqlite3@2.1.5
36 silly lockFile b9879749-sqlite3 sqlite3@
37 silly lockFile b9879749-sqlite3 sqlite3@
38 silly resolved [ { name: 'sqlite3',
38 silly resolved description: 'Asynchronous, non-blocking SQLite3 bindings',
38 silly resolved version: '2.1.5',
38 silly resolved homepage: 'http://github.com/developmentseed/node-sqlite3',
38 silly resolved author:
38 silly resolved { name: 'Development Seed',
38 silly resolved email: 'info@developmentseed.org',
38 silly resolved url: 'http://developmentseed.org/' },
38 silly resolved contributors:
38 silly resolved [ [Object],
38 silly resolved [Object],
38 silly resolved [Object],
38 silly resolved [Object],
38 silly resolved [Object],
38 silly resolved [Object],
38 silly resolved [Object],
38 silly resolved [Object],
38 silly resolved [Object],
38 silly resolved [Object],
38 silly resolved [Object],
38 silly resolved [Object],
38 silly resolved [Object] ],
38 silly resolved repository:
38 silly resolved { type: 'git',
38 silly resolved url: 'git://github.com/developmentseed/node-sqlite3.git' },
38 silly resolved devDependencies: { step: '0.0.4', expresso: '*' },
38 silly resolved engines: { node: '>= 0.6.13 && < 0.9.0' },
38 silly resolved scripts:
38 silly resolved { test: 'expresso -I lib test/*.test.js',
38 silly resolved install: 'node-gyp rebuild' },
38 silly resolved licenses: [ [Object] ],
38 silly resolved main: './lib/sqlite3',
38 silly resolved gypfile: true,
38 silly resolved readme: '# NAME\n\nnode-sqlite3 - Asynchronous, non-blocking [SQLite3](http://sqlite.org/) bindings for [node.js](https://github.com/joyent/node) 0.2-0.4 (versions 2.0.x), **0.6.13+ and 0.8.x** (versions 2.1.x).\n\n\n\n# USAGE\n\nInstall with `npm install sqlite3`.\n\n``` js\nvar sqlite3 = require(\'sqlite3\').verbose();\nvar db = new sqlite3.Database(\':memory:\');\n\ndb.serialize(function() {\n db.run("CREATE TABLE lorem (info TEXT)");\n\n var stmt = db.prepare("INSERT INTO lorem VALUES (?)");\n for (var i = 0; i < 10; i++) {\n stmt.run("Ipsum " + i);\n }\n stmt.finalize();\n\n db.each("SELECT rowid AS id, info FROM lorem", function(err, row) {\n console.log(row.id + ": " + row.info);\n });\n});\n\ndb.close();\n```\n\n\n\n# FEATURES\n\n* Straightforward query and parameter binding interface\n* Full Buffer/Blob support\n* Extensive [debugging support](https://github.com/developmentseed/node-sqlite3/wiki/Debugging)\n* [Query serialization](https://github.com/developmentseed/node-sqlite3/wiki/Control-Flow) API\n* [Extension support](https://github.com/developmentseed/node-sqlite3/wiki/Extensions)\n* Big test suite\n* Written in modern C++ and tested for memory leaks\n\n\n\n# API\n\nSee the [API documentation](https://github.com/developmentseed/node-sqlite3/wiki) in the wiki.\n\n\n# BUILDING\n\nMake sure you have the sources for `sqlite3` installed. Mac OS X ships with these by default. If you don\'t have them installed, install the `-dev` package with your package manager, e.g. `apt-get install libsqlite3-dev` for Debian/Ubuntu. Make sure that you have at least `libsqlite3` >= 3.6.\n\nTo obtain and build the bindings:\n\n git clone git://github.com/developmentseed/node-sqlite3.git\n cd node-sqlite3\n ./configure\n make\n\nYou can also use [`npm`](https://github.com/isaacs/npm) to download and install them:\n\n npm install sqlite3\n\n\n\n# TESTS\n\n[expresso](https://github.com/visionmedia/expresso) is required to run unit tests.\n\n npm install expresso\n make test\n\n\n\n# CONTRIBUTORS\n\n* [Konstantin Käfer](https://github.com/kkaefer)\n* [Dane Springmeyer](https://github.com/springmeyer)\n* [Will White](https://github.com/willwhite)\n* [Orlando Vazquez](https://github.com/orlandov)\n* [Artem Kustikov](https://github.com/artiz)\n* [Eric Fredricksen](https://github.com/grumdrig)\n* [John Wright](https://github.com/mrjjwright)\n* [Ryan Dahl](https://github.com/ry)\n* [Tom MacWright](https://github.com/tmcw)\n* [Carter Thaxton](https://github.com/carter-thaxton)\n* [Audrius Kažukauskas](https://github.com/audriusk)\n* [Johannes Schauer](https://github.com/pyneo)\n\n\n\n# ACKNOWLEDGEMENTS\n\nThanks to [Orlando Vazquez](https://github.com/orlandov),\n[Eric Fredricksen](https://github.com/grumdrig) and\n[Ryan Dahl](https://github.com/ry) for their SQLite bindings for node, and to mraleph on Freenode\'s #v8 for answering questions.\n\nDevelopment of this module is sponsored by [Development Seed](http://developmentseed.org/).\n\n\n# LICENSE\n\n`node-sqlite3` is [BSD licensed](https://github.com/developmentseed/node-sqlite3/raw/master/LICENSE).\n',
38 silly resolved readmeFilename: 'README.md',
38 silly resolved _id: 'sqlite3@2.1.5',
38 silly resolved _from: 'sqlite3@' } ]
39 info install sqlite3@2.1.5 into /home/ian/Dropbox/src/PiThermServer
40 info installOne sqlite3@2.1.5
41 warn engine sqlite3@2.1.5: wanted: {"node":">= 0.6.13 && < 0.9.0"} (current: {"node":"v0.10.0","npm":"1.2.14"})
42 verbose from cache /root/.npm/sqlite3/2.1.5/package/package.json
43 info /home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3 unbuild
44 verbose read json /home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3/package.json
45 verbose tar unpack /root/.npm/sqlite3/2.1.5/package.tgz
46 silly lockFile d988ac8e-ThermServer-node-modules-sqlite3 /home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3
47 verbose lock /home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3 /root/.npm/d988ac8e-ThermServer-node-modules-sqlite3.lock
48 silly lockFile fe68b8ed-ot-npm-sqlite3-2-1-5-package-tgz /root/.npm/sqlite3/2.1.5/package.tgz
49 verbose lock /root/.npm/sqlite3/2.1.5/package.tgz /root/.npm/fe68b8ed-ot-npm-sqlite3-2-1-5-package-tgz.lock
50 silly gunzTarPerm modes [ '755', '644' ]
51 silly gunzTarPerm extractEntry package.json
52 silly gunzTarPerm extractEntry .npmignore
53 silly gunzTarPerm extractEntry README.md
54 silly gunzTarPerm extractEntry LICENSE
55 silly gunzTarPerm extractEntry sqlite3.js
56 silly gunzTarPerm extractEntry binding.gyp
57 silly gunzTarPerm extractEntry configure
58 silly gunzTarPerm extractEntry Makefile
59 silly gunzTarPerm extractEntry examples/simple-chaining.js
60 silly gunzTarPerm extractEntry lib/index.js
61 silly gunzTarPerm extractEntry lib/sqlite3.js
62 silly gunzTarPerm extractEntry lib/trace.js
63 silly gunzTarPerm extractEntry test/affected.test.js
64 silly gunzTarPerm extractEntry test/extension.test.js
65 silly gunzTarPerm extractEntry test/map.test.js
66 silly gunzTarPerm extractEntry test/named_columns.test.js
67 silly gunzTarPerm extractEntry test/named_params.test.js
68 silly gunzTarPerm extractEntry test/exec.test.js
69 silly gunzTarPerm extractEntry test/open_close.test.js
70 silly gunzTarPerm extractEntry test/other_objects.test.js
71 silly gunzTarPerm extractEntry test/parallel_insert.test.js
72 silly gunzTarPerm extractEntry test/prepare.test.js
73 silly gunzTarPerm extractEntry test/profile.test.js
74 silly gunzTarPerm extractEntry test/each.test.js
75 silly gunzTarPerm extractEntry test/rerun.test.js
76 silly gunzTarPerm extractEntry test/database_fail.test.js
77 silly gunzTarPerm extractEntry test/scheduling.test.js
78 silly gunzTarPerm extractEntry test/constants.test.js
79 silly gunzTarPerm extractEntry test/serialization.test.js
80 silly gunzTarPerm extractEntry test/cache.test.js
81 silly gunzTarPerm extractEntry test/trace.test.js
82 silly gunzTarPerm extractEntry test/blob.test.js
83 silly gunzTarPerm extractEntry test/unicode.test.js
84 silly gunzTarPerm extractEntry test/null_error.test.js
85 silly gunzTarPerm extractEntry test/support/createdb.js
86 silly gunzTarPerm extractEntry test/support/helper.js
87 silly gunzTarPerm extractEntry test/support/elmo.png
88 silly gunzTarPerm extractEntry test/support/prepare.db
89 silly gunzTarPerm extractEntry test/support/script.sql
90 silly gunzTarPerm extractEntry benchmark/insert.js
91 silly gunzTarPerm extractEntry benchmark/insert-transaction.sql
92 silly gunzTarPerm extractEntry src/async.h
93 silly gunzTarPerm extractEntry src/database.cc
94 silly gunzTarPerm extractEntry src/database.h
95 silly gunzTarPerm extractEntry src/macros.h
96 silly gunzTarPerm extractEntry src/node_sqlite3.cc
97 silly gunzTarPerm extractEntry src/statement.cc
98 silly gunzTarPerm extractEntry src/statement.h
99 silly gunzTarPerm extractEntry src/threading.h
100 silly gunzTarPerm extractEntry deps/sqlite3/README
101 silly gunzTarPerm extractEntry deps/sqlite3/install-sh
102 silly gunzTarPerm extractEntry deps/sqlite3/Makefile.in
103 silly gunzTarPerm extractEntry deps/sqlite3/INSTALL
104 silly gunzTarPerm extractEntry deps/sqlite3/aclocal.m4
105 silly gunzTarPerm extractEntry deps/sqlite3/binding.gyp
106 silly gunzTarPerm extractEntry deps/sqlite3/config.guess
107 silly gunzTarPerm extractEntry deps/sqlite3/config.sub
108 silly gunzTarPerm extractEntry deps/sqlite3/configure
109 silly gunzTarPerm extractEntry deps/sqlite3/configure.ac
110 silly gunzTarPerm extractEntry deps/sqlite3/depcomp
111 silly gunzTarPerm extractEntry deps/sqlite3/Makefile.am
112 silly gunzTarPerm extractEntry deps/sqlite3/ltmain.sh
113 silly gunzTarPerm extractEntry deps/sqlite3/missing
114 silly gunzTarPerm extractEntry deps/sqlite3/shell.c
115 silly gunzTarPerm extractEntry deps/sqlite3/sqlite3.1
116 silly gunzTarPerm extractEntry deps/sqlite3/sqlite3.c
117 silly gunzTarPerm extractEntry deps/sqlite3/sqlite3.h
118 silly gunzTarPerm extractEntry deps/sqlite3/sqlite3.pc
119 silly gunzTarPerm extractEntry deps/sqlite3/sqlite3.pc.in
120 silly gunzTarPerm extractEntry deps/sqlite3/sqlite3ext.h
121 silly gunzTarPerm extractEntry deps/sqlite3/tea/README
122 silly gunzTarPerm extractEntry deps/sqlite3/tea/doc/sqlite3.n
123 silly gunzTarPerm extractEntry deps/sqlite3/tea/aclocal.m4
124 silly gunzTarPerm extractEntry deps/sqlite3/tea/configure
125 silly gunzTarPerm extractEntry deps/sqlite3/tea/configure.in
126 silly gunzTarPerm extractEntry deps/sqlite3/tea/Makefile.in
127 silly gunzTarPerm extractEntry deps/sqlite3/tea/generic/tclsqlite3.c
128 silly gunzTarPerm extractEntry deps/sqlite3/tea/license.terms
129 silly gunzTarPerm extractEntry deps/sqlite3/tea/pkgIndex.tcl.in
130 silly gunzTarPerm extractEntry deps/sqlite3/tea/tclconfig/install-sh
131 silly gunzTarPerm extractEntry deps/sqlite3/tea/tclconfig/tcl.m4
132 silly gunzTarPerm extractEntry deps/sqlite3/tea/win/makefile.vc
133 silly gunzTarPerm extractEntry deps/sqlite3/tea/win/nmakehlp.c
134 silly gunzTarPerm extractEntry deps/sqlite3/tea/win/rules.vc
135 verbose read json /home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3/package.json
136 silly lockFile d988ac8e-ThermServer-node-modules-sqlite3 /home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3
137 silly lockFile d988ac8e-ThermServer-node-modules-sqlite3 /home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3
138 silly lockFile fe68b8ed-ot-npm-sqlite3-2-1-5-package-tgz /root/.npm/sqlite3/2.1.5/package.tgz
139 silly lockFile fe68b8ed-ot-npm-sqlite3-2-1-5-package-tgz /root/.npm/sqlite3/2.1.5/package.tgz
140 info preinstall sqlite3@2.1.5
141 verbose from cache /home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3/package.json
142 verbose readDependencies using package.json deps
143 verbose from cache /home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3/package.json
144 verbose readDependencies using package.json deps
145 silly resolved []
146 verbose about to build /home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3
147 info build /home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3
148 verbose from cache /home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3/package.json
149 verbose linkStuff [ false,
149 verbose linkStuff false,
149 verbose linkStuff false,
149 verbose linkStuff '/home/ian/Dropbox/src/PiThermServer/node_modules' ]
150 info linkStuff sqlite3@2.1.5
151 verbose linkBins sqlite3@2.1.5
152 verbose linkMans sqlite3@2.1.5
153 verbose rebuildBundles sqlite3@2.1.5
154 info install sqlite3@2.1.5
155 verbose unsafe-perm in lifecycle false
156 verbose set uid from=0 to=1000
157 silly exec sh "-c" "node-gyp rebuild"
158 silly sh,-c,node-gyp rebuild,/home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3 spawning
159 info sqlite3@2.1.5 Failed to exec install script
160 info /home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3 unbuild
161 verbose from cache /home/ian/Dropbox/src/PiThermServer/node_modules/sqlite3/package.json
162 info preuninstall sqlite3@2.1.5
163 info uninstall sqlite3@2.1.5
164 verbose true,/home/ian/Dropbox/src/PiThermServer/node_modules,/home/ian/Dropbox/src/PiThermServer/node_modules unbuild sqlite3@2.1.5
165 info postuninstall sqlite3@2.1.5
166 error sqlite3@2.1.5 install: `node-gyp rebuild`
166 error `sh "-c" "node-gyp rebuild"` failed with 1
167 error Failed at the sqlite3@2.1.5 install script.
167 error This is most likely a problem with the sqlite3 package,
167 error not with npm itself.
167 error Tell the author that this fails on your system:
167 error node-gyp rebuild
167 error You can get their info via:
167 error npm owner ls sqlite3
167 error There is likely additional logging output above.
168 error System Linux 3.7.10-1-ARCH
169 error command "/usr/bin/node" "/usr/bin/npm" "install" "sqlite3"
170 error cwd /home/ian/Dropbox/src/PiThermServer
171 error node -v v0.10.0
172 error npm -v 1.2.14
173 error code ELIFECYCLE
174 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment