[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] build xen-4.5.0-rc1 on Debian 8 (Jessie) with systemd
On Tue, Dec 02, 2014 at 11:42:36AM +0000, Ian Campbell wrote: > On Tue, 2014-12-02 at 11:34 +0000, Ian Campbell wrote: > > > Our build system appears to be using pkg-config, so I think the > > intention is that this should work without needing libsystemd-daemon.so. > > This (from m4/systemd.m4) seems odd: > AC_DEFUN([AX_CHECK_SYSTEMD_LIBS], [ > AC_CHECK_HEADER([systemd/sd-daemon.h], [ > AC_CHECK_LIB([systemd-daemon], [sd_listen_fds], > [libsystemddaemon="y"]) > ]) > AS_IF([test "x$libsystemddaemon" = x], [ > AC_MSG_ERROR([Unable to find a suitable libsystemd-daemon > library]) > ]) > > PKG_CHECK_MODULES([SYSTEMD], [libsystemd-daemon]) > > IOW we check explicitly for libsystemd-daemon first and then ask > pkg-config about how to compile/link with it. This seems redundant to > me. I think the AC_CHECK_HEADER, AC_CHECK_LIB and the following AS_IF > +AC_MSG_ERROR can all be dropped. Dropping those worked, at least ./configure passed without problem. checking systemd/sd-daemon.h usability... yes checking systemd/sd-daemon.h presence... yes checking for systemd/sd-daemon.h... yes checking for sd_listen_fds in -lsystemd-daemon... no checking for SYSTEMD... yes configure: creating ./config.status config.status: creating ../config/Tools.mk config.status: creating hotplug/FreeBSD/rc.d/xencommons config.status: creating hotplug/Linux/init.d/sysconfig.xencommons config.status: creating hotplug/Linux/init.d/xen-watchdog config.status: creating hotplug/Linux/init.d/xencommons config.status: creating hotplug/Linux/init.d/xendomains config.status: creating hotplug/Linux/systemd/proc-xen.mount config.status: creating hotplug/Linux/systemd/var-lib-xenstored.mount config.status: creating hotplug/Linux/systemd/xen-init-dom0.service config.status: creating hotplug/Linux/systemd/xen-qemu-dom0-disk-backend.service config.status: creating hotplug/Linux/systemd/xen-watchdog.service config.status: creating hotplug/Linux/systemd/xenconsoled.service config.status: creating hotplug/Linux/systemd/xendomains.service config.status: creating hotplug/Linux/systemd/xenstored.service config.status: creating hotplug/Linux/systemd/xenstored.socket config.status: creating hotplug/Linux/systemd/xenstored_ro.socket config.status: creating hotplug/Linux/vif-setup config.status: creating hotplug/Linux/xen-backend.rules config.status: creating hotplug/Linux/xen-hotplug-common.sh config.status: creating hotplug/Linux/xendomains config.status: creating hotplug/NetBSD/rc.d/xencommons config.status: creating config.h Wei. > > Ian. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |