-
-
Notifications
You must be signed in to change notification settings - Fork 830
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
Unable to build sqlite for building for node-webkit #329
Comments
It was decided that If you need It has the following reason: the |
P. S. Sorry for the late reply. |
Can someone build sqlite3 module for nodewebkit 0.8.6 and share me. I am totally stuck at this position. Tried to build from source but getting error on top of error. Please build it and share to arunk2005@gmail.com Node version : 0.10.29 |
Replied at #328 (comment) |
same issue here..
|
@Karlheinzniebuhr Have there been any errors while running |
this is the output I got
|
Now it seems to work, many thanks @Mithgol |
I'm using
ubuntu 14.04
node-webkit v0.9.2
node.js v0.11.9
Chromium 32.0.1700.107
sudo npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=x64 --target=$NODE_WEBKIT_VERSION6
npm WARN deprecated set-immediate@0.1.1: Use
setimmediate
insteadgyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 407 status code downloading tarball
gyp ERR! stack at Request. (/usr/lib/node_modules/nw-gyp/lib/install.js:234:14)
gyp ERR! stack at Request.EventEmitter.emit (events.js:117:20)
gyp ERR! stack at Request.onResponse (/usr/lib/node_modules/nw-gyp/node_modules/request/request.js:986:10)
gyp ERR! stack at ClientRequest.g (events.js:180:16)
gyp ERR! stack at ClientRequest.EventEmitter.emit (events.js:95:17)
gyp ERR! stack at HTTPParser.parserOnIncomingClient (http.js:1688:21)
gyp ERR! stack at HTTPParser.parserOnHeadersComplete as onHeadersComplete
gyp ERR! stack at Socket.socketOnData (http.js:1583:20)
gyp ERR! stack at TCP.onread (net.js:525:27)
gyp ERR! System Linux 3.13.0-32-generic
gyp ERR! command "node" "/usr/bin/nw-gyp" "rebuild" "--name=sqlite3" "--configuration=Release" "--module_name=node_sqlite3" "--version=2.2.7" "--major=2" "--minor=2" "--patch=7" "--runtime=node-webkit" "--node_abi=node-webkit-v11" "--platform=linux" "--target_platform=linux" "--arch=x64" "--target_arch=x64" "--module_main=./lib/sqlite3" "--host=https://mapbox-node-binary.s3.amazonaws.com/" "--module_path=/tmp/sqlite/node_modules/sqlite3/lib/binding/node-webkit-v11-linux-x64" "--remote_path=./sqlite3/v2.2.7/" "--package_name=node-webkit-v11-linux-x64.tar.gz" "--staged_tarball=build/stage/sqlite3/v2.2.7/node-webkit-v11-linux-x64.tar.gz" "--hosted_path=https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v2.2.7/" "--hosted_tarball=https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v2.2.7/node-webkit-v11-linux-x64.tar.gz"
gyp ERR! cwd /tmp/sqlite/node_modules/sqlite3
gyp ERR! node -v v0.10.25
gyp ERR! nw-gyp -v v0.12.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'nw-gyp rebuild --name=sqlite3 --configuration=Release --module_name=node_sqlite3 --version=2.2.7 --major=2 --minor=2 --patch=7 --runtime=node-webkit --node_abi=node-webkit-v11 --platform=linux --target_platform=linux --arch=x64 --target_arch=x64 --module_main=./lib/sqlite3 --host=https://mapbox-node-binary.s3.amazonaws.com/ --module_path=/tmp/sqlite/node_modules/sqlite3/lib/binding/node-webkit-v11-linux-x64 --remote_path=./sqlite3/v2.2.7/ --package_name=node-webkit-v11-linux-x64.tar.gz --staged_tarball=build/stage/sqlite3/v2.2.7/node-webkit-v11-linux-x64.tar.gz --hosted_path=https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v2.2.7/ --hosted_tarball=https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v2.2.7/node-webkit-v11-linux-x64.tar.gz' (1)
node-pre-gyp ERR! stack at ChildProcess. (/tmp/sqlite/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/compile.js:76:29)
node-pre-gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
node-pre-gyp ERR! stack at maybeClose (child_process.js:743:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:5)
node-pre-gyp ERR! System Linux 3.13.0-32-generic
node-pre-gyp ERR! command "node" "/tmp/sqlite/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /tmp/sqlite/node_modules/sqlite3
node-pre-gyp ERR! node -v v0.10.25
node-pre-gyp ERR! node-pre-gyp -v v0.5.22
node-pre-gyp ERR! not ok
Failed to execute 'nw-gyp rebuild --name=sqlite3 --configuration=Release --module_name=node_sqlite3 --version=2.2.7 --major=2 --minor=2 --patch=7 --runtime=node-webkit --node_abi=node-webkit-v11 --platform=linux --target_platform=linux --arch=x64 --target_arch=x64 --module_main=./lib/sqlite3 --host=https://mapbox-node-binary.s3.amazonaws.com/ --module_path=/tmp/sqlite/node_modules/sqlite3/lib/binding/node-webkit-v11-linux-x64 --remote_path=./sqlite3/v2.2.7/ --package_name=node-webkit-v11-linux-x64.tar.gz --staged_tarball=build/stage/sqlite3/v2.2.7/node-webkit-v11-linux-x64.tar.gz --hosted_path=https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v2.2.7/ --hosted_tarball=https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v2.2.7/node-webkit-v11-linux-x64.tar.gz' (1)
npm ERR! sqlite3@2.2.7 install:
node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@2.2.7 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-pre-gyp install --fallback-to-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! System Linux 3.13.0-32-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "sqlite3" "--build-from-source" "--runtime=node-webkit" "--target_arch=x64" "--target="
npm ERR! cwd /tmp/sqlite
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.23
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/sqlite/npm-debug.log
npm ERR! not ok code 0
The text was updated successfully, but these errors were encountered: