0

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?

  • you cold side step the problem with building ozwcp by using the zwaver chrome extension instead – user304563 Jul 11 '14 at 12:14
2

For the libmicrohttpd folder you need to run autoreconf -fi

You'll need to have autoconf, libtool and texinfo installed as well before running autoreconf -fi.

This should generate a correct configure file

However "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.

  • Thanks! Actually I had to find another version of libmicrohttpd, since the original version didn't contain files needed (probably, usage of libtool and texinfo would help to generate them). – LA_ Sep 5 '11 at 15:39
1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.