Gekko Forum
Unable to install Sqlite3 on unbuntu Mate - Printable Version

+- Gekko Forum (https://forum.gekko.wizb.it)
+-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html)
+--- Forum: Technical Support (https://forum.gekko.wizb.it/forum-19.html)
+--- Thread: Unable to install Sqlite3 on unbuntu Mate (/thread-57756.html)



Unable to install Sqlite3 on unbuntu Mate - Kris191 - 11-05-2018

Hi all,

I have Ubuntu Mate running on a Pi3, i'm trying to install Sqlite3 but it seeks hanging on install (see code below) can anyone help?

Code:
> sqlite3@3.1.4 install /home/kris/gekko/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp info it worked if it ends with ok
node-pre-gyp verb cli [ '/usr/bin/node',
node-pre-gyp verb cli   '/home/kris/gekko/node_modules/sqlite3/node_modules/.bin/node-pre-gyp',
node-pre-gyp verb cli   'install',
node-pre-gyp verb cli   '--fallback-to-build' ]
node-pre-gyp info using node-pre-gyp@0.6.28
node-pre-gyp info using node@10.13.0 | linux | arm
node-pre-gyp verb command install []
node-pre-gyp info check checked for "/home/kris/gekko/node_modules/sqlite3/lib/binding/node-v64-linux-arm/node_sqlite3.node" (not found)
node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v64-linux-arm.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Tried to download: https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.4 and node@10.13.0 (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v64-linux-arm.tar.gz
node-pre-gyp verb command build [ 'rebuild' ]
node-pre-gyp ERR! Tried to download: https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.4 and node@10.13.0 (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
node-pre-gyp verb command build [ 'rebuild' ]
make: Entering directory '/home/kris/gekko/node_modules/sqlite3/build'
 ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c
make: Entering directory '/home/kris/gekko/node_modules/sqlite3/build'
 ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c
 TOUCH Release/obj.target/deps/action_before_build.stamp
 TOUCH Release/obj.target/deps/action_before_build.stamp
 CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3090100/sqlite3.o
 CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3090100/sqlite3.o

Any help would be great as google searching doesnt bring up an answer.

Thanks


RE: Unable to install Sqlite3 on unbuntu Mate - askmike - 11-06-2018

I don't think it's hanging! It's simply compiling. This might take a few minutes! Check whether your system is busy usying top or htop: as long as there as CPU activity the compilation isn't done.

For most platforms this is not needed as precompiled binaries are used, but in your case these are not available.


RE: Unable to install Sqlite3 on unbuntu Mate - Kris191 - 11-06-2018

Thanks for the reply, i had left it for 10 mins but then it became unresponsive and the CPU out put got stuck. I moved to postgresql now and all is working