-
Notifications
You must be signed in to change notification settings - Fork 256
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
Problem with install Homebridge-Dash #228
Comments
No Idea anyone? |
No Idea? |
Hi
Looks like there is not libpcap installed on your distribution since it
cannot load pcap.h
Cheers,
Thibaut
…On Thu, Jul 27, 2017 at 9:34 PM, jlngnr ***@***.***> wrote:
No Idea?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#228 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APin2j7HnlFfUam93Yb0x4NcCeBM6dVPks5sSOZJgaJpZM4OfZlK>
.
|
No Sorry. I hav libcap installed First as i installed homebridge |
And libpcap-dev?
Le 29 juil. 2017 12:33 PM, "jlngnr" <[email protected]> a écrit :
… No Sorry. I hav libcap installed First as i installed homebridge
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#228 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APin2qTVkeXvu4CYqbJSS8gpGjg4sYPfks5sSwpngaJpZM4OfZlK>
.
|
install libpcap-dev works for me thx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please i need help.
I have a problem with install the Plugin Homebridge-Dash on my Raspberry homebridge.
The log. is:
and it says during the install:
<<pi@raspberrypi:~ $ sudo npm install -g homebridge-dash
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/7.10.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/homebridge-dash/node_modules/socketwatcher/.node-gyp"
make: Entering directory '/usr/lib/node_modules/homebridge-dash/node_modules/socketwatcher/build'
CXX(target) Release/obj.target/socketwatcher/socket_watcher.o
../socket_watcher.cpp: In static member function ‘static void SocketWatcher::New(const Nan::FunctionCallbackInfov8::Value&)’:
../socket_watcher.cpp:104:49: warning: ‘v8::Localv8::Object v8::Function::NewInstance() const’ is deprecated (declared at /usr/lib/node_modules/homebridge-dash/node_modules/socketwatcher/.node-gyp/7.10.1/include/node/v8.h:3662): Use maybe version [-Wdeprecated-declarations]
info.GetReturnValue().Set(cons->NewInstance());
^
SOLINK_MODULE(target) Release/obj.target/socketwatcher.node
COPY Release/socketwatcher.node
make: Leaving directory '/usr/lib/node_modules/homebridge-dash/node_modules/socketwatcher/build'
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/7.10.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/homebridge-dash/node_modules/pcap/.node-gyp"
make: Entering directory '/usr/lib/node_modules/homebridge-dash/node_modules/pcap/build'
CXX(target) Release/obj.target/pcap_binding/pcap_binding.o
../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden
#include <pcap/pcap.h>
^
compilation terminated.
pcap_binding.target.mk:93: recipe for target 'Release/obj.target/pcap_binding/pcap_binding.o' failed
make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1
make: Leaving directory '/usr/lib/node_modules/homebridge-dash/node_modules/pcap/build'
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/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:194:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.9.35-v7+
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/homebridge-dash/node_modules/pcap
gyp ERR! node -v v7.10.1
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
/usr/lib
└── (empty)
npm ERR! Linux 4.9.35-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "homebridge-dash"
npm ERR! node v7.10.1
npm ERR! npm v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
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 pcap 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 information on how to open an issue for this project with:
npm ERR! npm bugs pcap
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls pcap
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/.npm/_logs/2017-07-21T13_10_23_668Z-debug.log
Please when you can answer in german please do it. I stay there
Thanks
The text was updated successfully, but these errors were encountered: