NEWS
[Problem] fehler bei der installation?
-
MOD-Edit by eric2905; 12.05.2017 / 10;53; Betreff geändert und Code-Tags gesetzt
Moin,
ich hatte ja probleme mit der cloud und dem Osram lightify adapter.
Nachdem alles nix gebracht hat, habe ich jessi lite neu installiert und alles so installiert wie auf der iobroker seite beschrieben.
nun wollte ich mit der IP und 8081 auf IObroker drauf. nur leider baut er die seite nicht auf.
ist evtl bei der installation was schiefgelaufen?
hier ein ausschnitt.
! ````
root@raspberrypi:/home/pi# node -v
v4.8.3
root@raspberrypi:/home/pi# sudo mkdir /opt/iobroker
root@raspberrypi:/home/pi# sudo chmod 777 /opt/iobroker
root@raspberrypi:/home/pi# cd /opt/iobroker
root@raspberrypi:/opt/iobroker# sudo npm install iobroker --unsafe-perm
iobroker@0.9.0 install /opt/iobroker/node_modules/iobroker
node lib/setup.js
! npm install iobroker.js-controller --production --prefix /opt/iobroker
npm install iobroker.admin --production --prefix /opt/iobroker
npm install iobroker.discovery --production --prefix /opt/iobroker
In file included from ../src/dns_sd.cpp:1:0:
../src/mdns.hpp:32:20: fatal error: dns_sd.h: Datei oder Verzeichnis nicht gefun den
#include <dns_sd.h>
^
compilation terminated.
make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1
gyp ERR! build error
gyp ERR! stack Error:make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_module s/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces s.js:211:12)
gyp ERR! System Linux 4.9.24-v7+
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node- gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/iobroker.discovery/node_modules/mdns
gyp ERR! node -v v4.8.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN optional dep failed, continuing mdns@2.3.3
node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyA dvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v46-linux -arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@4.8 .3 (node-v46 ABI) (falling back to source compile with node-gyp)
Write "./iobroker start" to start the ioBroker
: Datei oder Verzeichnis nicht gefunden
Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable aut o-start
iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
iobroker@0.9.0 node_modules/iobroker
└── yargs@7.1.0 (get-caller-file@1.0.2, decamelize@1.2.0, y18n@3.2.1, camelcase@ 3.0.0, set-blocking@2.0.0, which-module@1.0.0, yargs-parser@5.0.0, require-main- filename@1.0.1, require-directory@2.1.1, os-locale@1.4.0, cliui@3.2.0, string-wi dth@1.0.2, read-pkg-up@1.0.1)</dns_sd.h> -
Dir fehlt die dns_sd.h
Versuch mal````
apt-get install libavahi-compat-libdnssd-dev avahi-daemon libnss-mdns -
ich danke .
hab es in der zeit aber nocheinmal mit dem fertigen image versucht. es läuft. nur nicht so wie ich das möcht.
aber weshlab ich das überhaupt gemacht habe ist
dieser Beitrag von mir.