Sickboy
Müßiggänger
Hallo allerseits,
da Mosquitto nicht in pkgsrc enthalten ist, möchte ich es per Hand bauen (Sources). Laut Dokumentation ist CMake nur für Windows und Mac erforderlich; versuche ich aber direkt mit make zu bauen, wird die Konfiguration moniert:
Also probiere ich es mit CMake:
Wenn ich nun mit make bauen will, wird mir der Fehler angezeigt, dass ares.h aus net/libcares nicht vorhanden sei, obwohl ich die Bibliothek installiert hatte:
Der Fehler wird auch angezeigt, wenn ich c-ares als Build-Option deaktiviere:
Nun habe ich keine Ideen mehr. Advices, anyone?
da Mosquitto nicht in pkgsrc enthalten ist, möchte ich es per Hand bauen (Sources). Laut Dokumentation ist CMake nur für Windows und Mac erforderlich; versuche ich aber direkt mit make zu bauen, wird die Konfiguration moniert:
Code:
$ cd mosquitto-1.4.10
$ make
make: "/tmp/mosquitto-1.4.10/config.mk" line 101: Missing dependency operator
make: "/tmp/mosquitto-1.4.10/config.mk" line 107: Need an operator
make: "/tmp/mosquitto-1.4.10/config.mk" line 109: Need an operator
make: "/tmp/mosquitto-1.4.10/config.mk" line 118: Missing dependency operator
make: "/tmp/mosquitto-1.4.10/config.mk" line 120: Need an operator
make: "/tmp/mosquitto-1.4.10/config.mk" line 122: Need an operator
make: "/tmp/mosquitto-1.4.10/config.mk" line 126: Missing dependency operator
make: "/tmp/mosquitto-1.4.10/config.mk" line 127: warning: duplicate script for target "ifeq" ignored
make: "/tmp/mosquitto-1.4.10/config.mk" line 106: warning: using previous script for "ifeq" defined here
make: "/tmp/mosquitto-1.4.10/config.mk" line 128: warning: duplicate script for target "ifeq" ignored
make: "/tmp/mosquitto-1.4.10/config.mk" line 106: warning: using previous script for "ifeq" defined here
make: "/tmp/mosquitto-1.4.10/config.mk" line 129: Need an operator
[...]
Code:
$ cmake .
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenSSL: /usr/lib/libssl.so;/lib/libcrypto.so (found version "1.0.1t")
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/mosquitto-1.4.10
Code:
$ make
Scanning dependencies of target libmosquitto
[ 1%] Building C object lib/CMakeFiles/libmosquitto.dir/logging_mosq.c.o
In file included from /tmp/mosquitto-1.4.10/lib/logging_mosq.c:21:0:
/tmp/mosquitto-1.4.10/lib/mosquitto_internal.h:40:20: fatal error: ares.h: No such file or directory
# include <ares.h>
^
[...]
Code:
$ make WITH_SRV=no
Nun habe ich keine Ideen mehr. Advices, anyone?