Error installing mbtiles #2884

Closed
user996015 opened this Issue Oct 15, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@user996015

When executing npm install mbtiles

I get this error:

> sqlite3@2.1.5 install /Users/user/Projects/myproject/node_modules/mbtiles/node_modules/sqlite3
> node-gyp rebuild

  CC(target) Release/obj.target/sqlite3/deps/sqlite3/sqlite3.o
../deps/sqlite3/sqlite3.c: In function ‘porter_stemmer’:
../deps/sqlite3/sqlite3.c:121290: warning: value computed is not used
../deps/sqlite3/sqlite3.c:121294: warning: value computed is not used
../deps/sqlite3/sqlite3.c:121307: warning: value computed is not used
../deps/sqlite3/sqlite3.c:121312: warning: value computed is not used
../deps/sqlite3/sqlite3.c:121318: warning: value computed is not used
../deps/sqlite3/sqlite3.c:121323: warning: value computed is not used
../deps/sqlite3/sqlite3.c:121332: warning: value computed is not used
../deps/sqlite3/sqlite3.c:121339: warning: value computed is not used
../deps/sqlite3/sqlite3.c:121382: warning: value computed is not used
../deps/sqlite3/sqlite3.c:121402: warning: value computed is not used
  LIBTOOL-STATIC Release/sqlite3.node
libtool: unrecognized option `-static'
libtool: Try `libtool --help' for more information.
  CXX(target) Release/obj.target/node_sqlite3/src/database.o
  CXX(target) Release/obj.target/node_sqlite3/src/node_sqlite3.o
  CXX(target) Release/obj.target/node_sqlite3/src/statement.o
  SOLINK_MODULE(target) Release/node_sqlite3.node
i686-apple-darwin11-llvm-g++-4.2: Release/sqlite3.node: No such file or directory
make: *** [Release/node_sqlite3.node] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:96:17)
gyp ERR! stack     at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Darwin 11.4.2
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/user/Projects/myproject/node_modules/mbtiles/node_modules/sqlite3
gyp ERR! node -v v0.8.11
gyp ERR! node-gyp -v v0.6.11
gyp ERR! not ok 
npm ERR! sqlite3@2.1.5 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR! 
npm ERR! Failed at the sqlite3@2.1.5 install 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-gyp rebuild
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! System Darwin 11.4.2
npm ERR! command "node" "/usr/local/bin/npm" "install" "mbtiles"
npm ERR! cwd /Users/user/Projects/myproject
npm ERR! node -v v0.8.11
npm ERR! npm -v 1.1.62
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/user/Projects/myproject/npm-debug.log
npm ERR! not ok code 0

Any help would be greatly appreciated. Thanks

@mfncooper

This comment has been minimized.

Show comment Hide comment
@mfncooper

mfncooper Jan 6, 2013

Contributor

This is not an npm issue. Please note the following in the log:

npm ERR! Failed at the sqlite3@2.1.5 install 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-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls sqlite3
Contributor

mfncooper commented Jan 6, 2013

This is not an npm issue. Please note the following in the log:

npm ERR! Failed at the sqlite3@2.1.5 install 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-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls sqlite3

@mfncooper mfncooper closed this Jan 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment