Comments (7)
and when installing pimatic-hap:
> [email protected] install /home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/curve25519
> node-gyp rebuild
make: Entering directory '/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/curve25519/build'
CXX(target) Release/obj.target/curve/node_curve.o
SOLINK_MODULE(target) Release/obj.target/curve.node
SOLINK_MODULE(target) Release/obj.target/curve.node: Finished
COPY Release/curve.node
make: Leaving directory '/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/curve25519/build'
> [email protected] install /home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/mdns
> node-gyp rebuild
make: Entering directory '/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/mdns/build'
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
In file included from ../src/dns_sd.cpp:1:0:
../src/mdns.hpp:32:20: fatal error: dns_sd.h: No such file or directory
compilation terminated.
dns_sd_bindings.target.mk:131: recipe for target 'Release/obj.target/dns_sd_bindings/src/dns_sd.o' failed
make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1
make: Leaving directory '/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/mdns/build'
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:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Linux 3.18.11-v7+
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/mdns
gyp ERR! node -v v0.10.24
gyp ERR! node-gyp -v v0.12.1
gyp ERR! not ok
> [email protected] install /home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/ed25519
> node-gyp rebuild
node.js:811
var cwd = process.cwd();
^
Error: ENOENT, no such file or directory
at Function.startup.resolveArgv0 (node.js:811:23)
at startup (node.js:58:13)
at node.js:902:3
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 most likely a problem with the mdns 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 their info via:
npm ERR! npm owner ls mdns
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.18.11-v7+
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pimatic-hap"
npm ERR! cwd /home/pi/pimatic-app
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! code ELIFECYCLE
> [email protected] install /home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum
> node-gyp configure build
chdir(): No such file or directory
from pimatic-hap.
My guess would be that the compile error is because the package and with the header dns_sd.h isn't available. Could you try this: http://www.blackmoreops.com/2014/12/13/fixing-error-package-packagename-not-available-referred-another-package-may-mean-package-missing-obsoleted-available-another-source-e-pa/
from pimatic-hap.
Did you solve your problem? If yes, just close this issue. Thanks
from pimatic-hap.
Still no luck.
tried:
root@pimatic-thuis:~# sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y && sudo apt-get install libavahi-compat-libdnssd-dev
and
apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get install libavahi-compat-libdnssd-dev
All the same error.
Error
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libraspberrypi0 : Depends: raspberrypi-bootloader (= 1.20150923-1) but 1.20150421-1 is installed
E: Unmet dependencies. Try using -f.
also tried with -f and got same error.
from pimatic-hap.
Seems you're the only one facing this problem. I must admit, i have no idea what the problem could be. Which raspberry pi distro are you using? Are you using a raspberry pi at all?
from pimatic-hap.
i'm using a RPI 2 with raspbian. But i will reinstall everything since my other pimatic installation (at work) works fine.
from pimatic-hap.
Re-installed raspbian and its working fine now.
from pimatic-hap.
Related Issues (20)
- uncaught exception related to pimatic-hap HOT 1
- Deleting device in Pimatic doesn't seem to delete it also in Homekit HOT 13
- Change garage doors to windows shades HOT 4
- Q: Does pimatic-hap plugin require node.js 4.3 to run? HOT 2
- Q: Does this work on iOS 9 using Eve? HOT 2
- error [pimatic]: A uncaught exception occured: Error: dns service error: unknown HOT 1
- accessories/milight.coffee line 24 contains incorrect method name HOT 1
- Cannot find module 'hap-nodejs/node_modules/debug' HOT 2
- Feature request: Tradfri integration (color change) HOT 5
- uncaught exception HOT 4
- Does not work 100% on iOS 11 HOT 9
- [Feature request] Please support Netatmo rain and wind gauge HOT 1
- Error when pressing TradfriPlug switch in homekit on iPhone HOT 7
- dockerized pimatic HOT 4
- add raspbee lights to the supported template list HOT 25
- promise.then(...).catch(...).done is not a function HOT 10
- v0.12.0 - plugin does not start HOT 6
- Support for RaspBeeMultiDevice (Aqara door/window sensors) HOT 2
- [pimatic] error: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode HOT 1
- Devices allow only service selection of Lightbulb and Switch HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pimatic-hap.