Trying to compile openzwave-control-panel. But getting the following error:
user@ubuntu1004desktop:~/openzwave-control-panel$ make
g++ -o ozwcp -g ozwcp.o webserver.o zwavelib.o ../libmicrohttpd/src/daemon/.libs/libmicrohttpd.a -pthread -framework IOKit -framework CoreFoundation
g++: ../libmicrohttpd/src/daemon/.libs/libmicrohttpd.a: No such file or directory
g++: IOKit: No such file or directory
g++: CoreFoundation: No such file or directory
make: *** [ozwcp] Error 1
(yes, I have libmicrohttpd, but there is no .libs folder)
Also, I can not configure the sources:
user@ubuntu1004desktop:~/libmicrohttpd$ ./configure
bash: ./configure: No such file or directory
How to compile that?
For the libmicrohttpd folder you need to run
autoreconf -fi
You'll need to have
autoconf
,libtool
andtexinfo
installed as well before runningautoreconf -fi
.This should generate a correct
configure
fileHowever "IOKit" and "CoreFoundation" are specific MacOS libraries. My suggestion is to look at the Makefile - you will probably find that you have to comment out specific MacOS lines and uncomment out lines to allow you to compile for Linux.
There is a section in the Makefile that says uncomment out the next five lines if you are using a Mac. If you aren't using a Mac, make sure those five lines are commented out. That worked for me.