07-12-2018, 10:29 PM
(07-11-2018, 10:47 AM)IPhantom Wrote: Ok i figured something out. For the record and in case someone gets stuck there as well:
- Install entware for your device
- $ opkg install make
- $ opkg install gcc
Talib will install from here on.
Yet tulip seems to be in need of an update:
Code:admin@VAULT:/volume1/.@plugins/AppCentral/gekko $ npm install tulind
> tulind@0.8.10 install /volume1/.@plugins/AppCentral/gekko/node_modules/tulind
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(404): https://tulipnode.s3.amazonaws.com/tulind/v0.8.10/Release/tulind-v0.8.10-node-v48-lin ux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for tulind@0.8.10 and node@6.9.1 (node-v48 ABI, unknown) (falling back to source compile with node-gyp)
make: Entering directory '/volume1/.@plugins/AppCentral/gekko/node_modules/tulind/build'
CXX(target) Release/obj.target/tulind/tulind.o
../tulind.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE startbyindex(Nan::NAN_METHOD_ARGS_TYPE)':
../tulind.cpp:72:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ind->options != options->Length()) {
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../tulind.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE callbyindex(Nan::NAN_METHOD_ARGS_TYPE)':
../tulind.cpp:127:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ind->inputs != inputs->Length()) {
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
../tulind.cpp:134:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ind->options != options->Length()) {
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../tulind.cpp:236:85: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8: :Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(Nan::GetCurrentContext()->Global(), callbackHandle, 2, cb_argv);
^
In file included from ../tulind.cpp:25:0:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CC(target) Release/obj.target/tulind/external/tiamalgamation.o
make: cc: Command not found
make: *** [tulind.target.mk:95: Release/obj.target/tulind/external/tiamalgamation.o] Error 127
make: Leaving directory '/volume1/.@plugins/AppCentral/gekko/node_modules/tulind/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/node_modules/node-gyp/lib/ build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.4.24
gyp ERR! command "/volume1/.@plugins/AppCentral/nodejs/bin/node" "/volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/nod e_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/volume1/.@plugins/AppCentral/gekko/node_modules/tu lind/lib/binding/Release/node-v48-linux-x64/tulind.node" "--module_name=tulind" "--module_path=/volume1/.@plugins/AppCentral/ge kko/node_modules/tulind/lib/binding/Release/node-v48-linux-x64" "--node_abi_napi=node-v48"
gyp ERR! cwd /volume1/.@plugins/AppCentral/gekko/node_modules/tulind
gyp ERR! node -v v6.9.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/volume1/.@plugins/AppCentral/nodejs/bin/node /volume1/.@plugins/AppCentral/n odejs/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/volume1/.@plugins/AppCentr al/gekko/node_modules/tulind/lib/binding/Release/node-v48-linux-x64/tulind.node --module_name=tulind --module_path=/volume1/.@p lugins/AppCentral/gekko/node_modules/tulind/lib/binding/Release/node-v48-linux-x64 --node_abi_napi=node-v48' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/volume1/.@plugins/AppCentral/gekko/node_modules/node-pre-gyp/lib/util /compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:877:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR! System Linux 4.4.24
node-pre-gyp ERR! command "/volume1/.@plugins/AppCentral/nodejs/bin/node" "/volume1/.@plugins/AppCentral/gekko/node_modules/.bi n/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /volume1/.@plugins/AppCentral/gekko/node_modules/tulind
node-pre-gyp ERR! node -v v6.9.1
node-pre-gyp ERR! node-pre-gyp -v v0.9.1
node-pre-gyp ERR! not ok
Failed to execute '/volume1/.@plugins/AppCentral/nodejs/bin/node /volume1/.@plugins/AppCentral/nodejs/lib/node_modules/npm/node _modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/volume1/.@plugins/AppCentral/gekko/node_modules/tulind/li b/binding/Release/node-v48-linux-x64/tulind.node --module_name=tulind --module_path=/volume1/.@plugins/AppCentral/gekko/node_mo dules/tulind/lib/binding/Release/node-v48-linux-x64 --node_abi_napi=node-v48' (1)
npm ERR! Linux 4.4.24
npm ERR! argv "/volume1/.@plugins/AppCentral/nodejs/bin/node" "/usr/local/bin/npm" "install" "tulind"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! tulind@0.8.10 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tulind@0.8.10 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the tulind 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 information on how to open an issue for this project with:
npm ERR! npm bugs tulind
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls tulind
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /volume1/.@plugins/AppCentral/gekko/npm-debug.log
Note the 404 error and the use of cc instead of gcc.
I tried your fix and still getting error now its saying talib is not enabled. I might have to do a complete reinstall