Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
you cold side step the problem with building ozwcp by using the zwaver chrome extension instead –  rob Jul 11 at 12:14

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer
    
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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