Bei der Installation des Adapters kommen einige Fehler, kann mein Problem daran liegen?
Danke!
$ ./iobroker url "https://github.com/ioBroker/ioBroker.zigbee"
install https://github.com/ioBroker/ioBroker.zigbee/tarball/master
npm install https://github.com/ioBroker/ioBroker.zigbee/tarball/master --production --save --prefix "/opt/iobroker" (System call)
gyp
WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.13.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/authenticate-pam/.node-gyp"
../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden #include <security pam_appl.h="">
^
compilation terminated.
make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1
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: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/authenticate-pamgyp ERR! node -v v6.13.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
prebuild-install
WARN install EACCES: permission denied, access '/root/.npm'
gyp
WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.13.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/iobroker.zigbee/node_modules/serialport/.node-gyp"
../src/serialport.cpp: In function 'void EIO_AfterOpen(uv_work_t*)':../src/serialport.cpp:95:30: warning: 'v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const' is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1:
../../nan/nan.h:1655:3: note: declared here
Call(int argc, v8::Local <v8::value>argv[]) const {
^~~~
../src/serialport.cpp: In function 'void EIO_AfterUpdate(uv_work_t*)':../src/serialport.cpp:150:30: warning: 'v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const' is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1655:3: note: declared here
Call(int argc, v8::Local <v8::value>argv[]) const {
^~~~
../src/serialport.cpp: In function 'void EIO_AfterClose(uv_work_t*)':../src/serialport.cpp:188:30: warning: 'v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const' is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1655:3: note: declared here
Call(int argc, v8::Local <v8::value>argv[]) const {
^~~~
../src/serialport.cpp: In function 'void EIO_AfterFlush(uv_work_t*)':../src/serialport.cpp:231:30: warning: 'v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const' is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1655:3: note: declared here
Call(int argc, v8::Local <v8::value>argv[]) const {
^~~~
../src/serialport.cpp: In function 'void EIO_AfterSet(uv_work_t*)':../src/serialport.cpp:285:30: warning: 'v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const' is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1:
../../nan/nan.h:1655:3: note: declared here
Call(int argc, v8::Local <v8::value>argv[]) const {
^~~~
../src/serialport.cpp: In function 'void EIO_AfterGet(uv_work_t*)':../src/serialport.cpp:336:30: warning: 'v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const' is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1:
../../nan/nan.h:1655:3: note: declared here
Call(int argc, v8::Local <v8::value>argv[]) const {
^~~~
../src/serialport.cpp: In function 'void EIO_AfterGetBaudRate(uv_work_t*)':../src/serialport.cpp:383:30: warning: 'v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const' is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
In file included from ../src/./serialport.h:6:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1655:3: note: declared here
Call(int argc, v8::Local <v8::value>argv[]) const {
^~~~
../src/serialport.cpp: In function 'void EIO_AfterDrain(uv_work_t*)':../src/serialport.cpp:424:30: warning: 'v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const' is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1:
../../nan/nan.h:1655:3: note: declared here
Call(int argc, v8::Local <v8::value>argv[]) const {
^~~~
../src/poller.cpp: In static member function 'static void Poller::onData(uv_poll_t*, int, int)':../src/poller.cpp:69:29: warning: 'v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const' is deprecated [-Wdeprecated-declarations]
obj->callback.Call(2, argv);
^
In file included from ../src/poller.cpp:1:0:../../nan/nan.h:1655:3: note: declared here
Call(int argc, v8::Local <v8::value>argv[]) const {
^~~~
npm
WARN optional
SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):
npm WARN
optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild`npm
WARN
optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
process exited with code 0</v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></security>