NEWS
Amazon Dashbutton
-
Hallo Leute,
ich versuche verzweifelt den Amazon Dashbutton zu installieren.
Den Adapter habe ich installiert, aber ich kriege keine Instanz installiert.
Logfile:
$ ./iobroker add amazon-dash –host raspberry-iobroker
NPM version: 3.10.10
npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call)
npm
WARN lifecycle iobroker.amazon-dash@0.2.9~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.9 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include <pcap pcap.h="">^
compilation terminated.
make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Fehler 1
gyp
ERR! build error
gyp ERR! stack Error:
makefailed 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:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 4.9.59-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/pcap
gyp ERR! node -v v6.12.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm
WARN
babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
npm
WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
npm ERR! Linux 4.9.59-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "–production" "--save" "--prefix" "/opt/iobroker"
npm ERR! node v6.12.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! pcap@2.1.0 install:
node-gyp rebuildnpm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pcap@2.1.0 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! /npm-debug.log
host.raspberry-iobroker install adapter amazon-dash
NPM version: 3.10.10
npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call)
npm
WARN lifecycle iobroker.amazon-dash@0.2.9~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.9 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include <pcap pcap.h="">^
compilation terminated.
make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Fehler 1gyp
ERR!
build error
gyp
ERR!
stack Error:
makefailed with exit code: 2gypERR!
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:191:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 4.9.59-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/pcap
gyp ERR! node -v v6.12.3gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm
WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
npm ERR! Linux 4.9.59-v7+
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "–production" "--save" "--prefix" "/opt/iobroker"npm ERR! node v6.12.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! pcap@2.1.0 install:
node-gyp rebuildnpm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pcap@2.1.0 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! /npm-debug.log
host.raspberry-iobroker install adapter amazon-dash
NPM version: 3.10.10
npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call)
npm
WARN lifecycle iobroker.amazon-dash@0.2.9~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.9 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include <pcap pcap.h="">^
compilation terminated.
make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Fehler 1gyp ERR! build error
gyp
ERR! stack
Error:
makefailed 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:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 4.9.59-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/pcap
gyp ERR! node -v v6.12.3
gyp ERR! node-gyp -v v3.4.0gyp ERR! not ok
npm
WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
npm ERR! Linux 4.9.59-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "–production" "--save" "--prefix" "/opt/iobroker"
npm ERR! node v6.12.3
npm ERR!
npm v3.10.10npm ERR! code ELIFECYCLE
npm ERR! pcap@2.1.0 install:
node-gyp rebuildnpm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pcap@2.1.0 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! /npm-debug.log
host.raspberry-iobroker install adapter amazon-dash
ERROR: host.raspberry-iobroker Cannot install amazon-dash
ERROR: process exited with code 13
Ich hoffe jemand kann damit etwas anfangen.
Gruß
hofmannha</pcap></pcap></pcap>
-
Install libpcap-dev
sudo apt-get install libpcap-dev
-
Das kommt bei der Installation heraus:
Linux raspberry-iobroker 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7 l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Oct 25 11:49:01 2018 from 192.168.178.35
root@raspberry-iobroker:~# iobroker stop
Stopping iobroker controller daemon…
iobroker controller daemon stopped.
Exit code for "killall.sh": 123
root@raspberry-iobroker:~# sudo apt-get install libpcap-dev
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
The following additional packages will be installed:
libpcap0.8 libpcap0.8-dev
Die folgenden NEUEN Pakete werden installiert:
libpcap-dev libpcap0.8 libpcap0.8-dev
0 aktualisiert, 3 neu installiert, 0 zu entfernen und 151 nicht aktualisiert.
Es müssen noch 0 B von 369 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 916 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
dpkg: Fehler: Dateitrigger-Datensatz erwähnt ungültigen Paketnamen »systemd/noaw▒a/etc/i~i4.d systemd/noawait« (für Interesse an Datei »/usr/lib/▒ystemd/catq|og«): ungültiger Paketname in Spezifizierer »systemd/noaw▒a/etc/i~i4.d systemd/noawait«: Zeichen »/« nicht erlaubt (nur Buchstaben, Ziffern und die Zeichen »-+._«)
E: Sub-process /usr/bin/dpkg returned an error code (2)
root@raspberry-iobroker:~#
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden