Hi,
While testing 1.2.12 rc2 on Powerpc, Fedora 21, I hit a bunch of build failures in
absence of dbus-devel :
src/util/virsystemd.c:284:17: note: in expansion of macro 'STREQ_NULLABLE'
if (STREQ_NULLABLE("org.freedesktop.DBus.Error.UnknownMethod",
^
....
src/util/virsystemd.c:288:17: error: implicit declaration of function
'dbus_error_free' [-Werror=implicit-function-declaration]
dbus_error_free(&error);
Found that this was because commit 318df5a05 needs Dbus libraries for compilation, and
configure didnt mark "with_dbus" to be mandatory. In this case, the compilation
itself failed in a much uglier
fashion on my system where dbus-devel was absent.
The following patch introduces a compile error when dbus-devel is absent, so that the
build itself proceeds later without cryptic errors.
This has also been reported on the list :
https://www.redhat.com/archives/libvir-list/2015-January/msg00641.html