[linux-lvm] configure fail with option --enable-notivy-dbus
Bryn M. Reeves
bmr at redhat.com
Thu May 11 10:03:38 UTC 2017
On Thu, May 11, 2017 at 09:43:56AM +0200, Marian Csontos wrote:
> On 05/11/2017 09:01 AM, Oliver Rath wrote:
> > Hi list,
> >
> > configuring lvm2 failed with --enable-notify-dbus option, but
> > unfortunatly without no konkrete error-message:
> >
> > $ ./configure --enable-lvmetad --enable-lvmpolld --enable-udev_sync
> > --enable-udev_rules --enable-applib --enable-cmdlib
> > --enable-dbus-service --enable-dmfilemapd --enable-python3_bindings
> > --enable-notify-dbus
> >
> > [..]
> > checking whether to install fsadm... yes
> > checking whether to install blkdeactivate... yes
> > checking whether to use dmeventd...
> > checking for getline in -lc... no
> > checking for canonicalize_file_name in -lc... no
> > checking for dlopen in -ldl... no
> > checking for log10 in -lm... no
> > configure: error: bailing out
>
> ################################################################################
> AC_CHECK_LIB(m, log10,
> [M_LIBS="-lm"], hard_bailout)
>
>
>
>
> This is because of missing log10 function from m library (wherever that
> comes from) and has nothing to do with dbus. So enabling or disabling it
> should have absolutely no effect.
Similarly canonicalize_file_name, dlopen, and getline - the first is a
GNUism, and we really should have a fallback if it is not found (there
is a usable gnulib version), but dlopen and getline?
Those are both standard calls now - dlopen is part of POSIX.1-2001 and
getline was added in POSIX.1-2008.
Are you compiling with an old or non-GNU libc?
Regards,
Bryn.
More information about the linux-lvm
mailing list