Hallo Zusammen,
ich war mit der Installationsanleitung bisher ganz erfolgreich - nun hänge ich aber an einem Punkt: Und zwar am Schritt "Homebridge installieren"
Nachdem ich den Befehl (wie angeschrieben, nur ohne sudo) ausgeführt habe, erscheint folgender Fehlertext:
Code
root@fo1vmsrm15:~#
root@fo1vmsrm15:~#
root@fo1vmsrm15:~#
root@fo1vmsrm15:~# npm install -g --unsafe-perm homebridge
/usr/local/bin/homebridge -> /usr/local/lib/node_modules/homebridge/bin/homebrid ge
> [email protected] install /usr/local/lib/node_modules/homebridge/node_modules /curve25519-n
> node-gyp rebuild
make: Verzeichnis „/usr/local/lib/node_modules/homebridge/node_modules/curve25519-n/build“ wird betreten
CXX(target) Release/obj.target/curve/node_curve.o
make: g++: Kommando nicht gefunden
curve.target.mk:101: die Regel für Ziel „Release/obj.target/curve/node_curve.o“ scheiterte
make: *** [Release/obj.target/curve/node_curve.o] Fehler 127
make: Verzeichnis „/usr/local/lib/node_modules/homebridge/node_modules/curve25519-n/build“ wird verlassen
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:189:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Linux 4.9.0-7-amd64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge/node_modules/curve25519-n
gyp ERR! node -v v11.4.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
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.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-12-14T21_50_51_274Z-debug.log
root@fo1vmsrm15:~#
Alles anzeigen
Hatte jemand von Euch auch schon mal diesen Fehler und kennt evtl. eine Möglichkeit, doch noch Homebridge zu installieren?
PS: Ich muss dazu sagen, dass ich es nicht auf einem Raspberry betreibe, sondern auf einer VM mit Debian 9.5 (Stretch)
Danke im Voraus.
VG
Frank