You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Debian 8 x64, nodejs 0.12.9, when doing npm install frida the procedure fails by missing the "frida-core.h":
user@hhvm1:/tmp$ npm install frida
|
> frida@6.0.6 install /tmp/node_modules/frida
> prebuild --download
prebuild WARN install connect ECONNREFUSED
make: Entering directory '/tmp/node_modules/frida/build'
CXX(target) Release/obj.target/frida_binding/src/addon.o
In file included from ../src/runtime.h:4:0,
from ../src/glib_object.h:4,
from ../src/application.h:4,
from ../src/addon.cc:1:
../src/glib_context.h:4:24: fatal error: frida-core.h: No such file or directory
#include <frida-core.h>
^
compilation terminated.
frida_binding.target.mk:114: recipe for target 'Release/obj.target/frida_binding/src/addon.o' failed
make: *** [Release/obj.target/frida_binding/src/addon.o] Error 1
make: Leaving directory '/tmp/node_modules/frida/build'
prebuild ERR! build error
prebuild ERR! stack Error: `make` failed with exit code: 2
prebuild ERR! stack at ChildProcess.onExit (/tmp/node_modules/frida/node_modules/prebuild/node_modules/node-gyp/lib/build.js:276:23)
prebuild ERR! stack at ChildProcess.emit (events.js:110:17)
prebuild ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1075:12)
prebuild ERR! not ok
prebuild ERR! build Error: `make` failed with exit code: 2
prebuild ERR! build at ChildProcess.onExit (/tmp/node_modules/frida/node_modules/prebuild/node_modules/node-gyp/lib/build.js:276:23)
prebuild ERR! build at ChildProcess.emit (events.js:110:17)
prebuild ERR! build at Process.ChildProcess._handle.onexit (child_process.js:1075:12)
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "frida"
npm ERR! node v0.12.9
npm ERR! npm v2.14.9
npm ERR! code ELIFECYCLE
npm ERR! frida@6.0.6 install: `prebuild --download`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the frida@6.0.6 install script 'prebuild --download'.
npm ERR! This is most likely a problem with the frida package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! prebuild --download
npm ERR! You can get their info via:
npm ERR! npm owner ls frida
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/npm-debug.log
Could you please comment whether frida-node bindings can be used this way or they must always be built from full Frida source tree?
The text was updated successfully, but these errors were encountered:
The install step falls back to building from source if there's no prebuilt binary available for your system. We currently only provide binaries for Node.js LTS (currently 4.x) and stable (currently 5.x), so the easiest is to install the latest Node.js 5.x and then try again.
On Debian 8 x64, nodejs 0.12.9, when doing
npm install frida
the procedure fails by missing the "frida-core.h":Could you please comment whether frida-node bindings can be used this way or they must always be built from full Frida source tree?
The text was updated successfully, but these errors were encountered: