Kbeesnees
(Ken Larsen)
February 13, 2017, 9:22pm
1
Starting this thread for anyone else who is experiencing this issue as well. I’ve raised an issue on the tracker.
https://github.com/home-assistant/home-assistant/issues/5968
If anyone has advice it’ll be very much appreciated.
Mentioning @xpress142 and @Tinkerer because there was a discussion started on an old thread.
Ramon
(Ramon)
February 13, 2017, 9:28pm
2
Thx. I’m to late: I’ve opened also a tread.
fabaff
(Fabian Affolter)
February 13, 2017, 9:46pm
3
xpress142
(Xpress142)
February 15, 2017, 8:11pm
4
Roddie saved the day!!! TY!
Ok, I suspect I know how to fix it for your instance, but it’s not really the right fix for the AiO package, which should have all of this done already.
If you’re interested in trying, do:
sudo apt-get update
sudo apt-get install libgnutls28-dev libgnutlsxx28
sudo make
1 Like
Kbeesnees
(Ken Larsen)
February 15, 2017, 8:55pm
5
Thanks for posting this here. Wouldn’t have seen it otherwise.
Following the tutorial after
Open the Makefile and find the following line:
OPENZWAVE := ../
LIBMICROHTTPD := -lmicrohttpd
Change it to:
OPENZWAVE := ../open-zwave
LIBMICROHTTPD := /usr/local/lib/libmicrohttpd.a
Build ozwcp
make
I get this
pi@raspberrypi:~/open-zwave-control-panel $ make
g++ -c -Wall -Wno-unknown-pragmas -Wno-inline -Wno-format -g -DDEBUG -ggdb -O0 -I ../open-zwave//cpp/src -I ../open-zwave//cpp/src/command_classes/ -I ../open-zwave//cpp/src/value_classes/ -I ../open-zwave//cpp/src/platform/ -I ../open-zwave//cpp/src/platform/unix -I ../open-zwave//cpp/tinyxml/ -I /usr/local/include/ -o ozwcp.o ozwcp.cpp
g++ -c -Wall -Wno-unknown-pragmas -Wno-inline -Wno-format -g -DDEBUG -ggdb -O0 -I ../open-zwave//cpp/src -I ../open-zwave//cpp/src/command_classes/ -I ../open-zwave//cpp/src/value_classes/ -I ../open-zwave//cpp/src/platform/ -I ../open-zwave//cpp/src/platform/unix -I ../open-zwave//cpp/tinyxml/ -I /usr/local/include/ -o webserver.o webserver.cpp
g++ -c -Wall -Wno-unknown-pragmas -Wno-inline -Wno-format -g -DDEBUG -ggdb -O0 -I ../open-zwave//cpp/src -I ../open-zwave//cpp/src/command_classes/ -I ../open-zwave//cpp/src/value_classes/ -I ../open-zwave//cpp/src/platform/ -I ../open-zwave//cpp/src/platform/unix -I ../open-zwave//cpp/tinyxml/ -I /usr/local/include/ -o zwavelib.o zwavelib.cpp
g++ -o ozwcp -g ozwcp.o webserver.o zwavelib.o ../open-zwave//libopenzwave.a /usr/local/lib/libmicrohttpd.a -pthread -framework IOKit -framework CoreFoundation -lresolv
g++: error: IOKit: No such file or directory
g++: error: CoreFoundation: No such file or directory
g++: error: unrecognized command line option ‘-framework’
g++: error: unrecognized command line option ‘-framework’
Makefile:71: recipe for target 'ozwcp' failed
make: *** [ozwcp] Error 1