* [linux-lvm] configure fail with option --enable-notivy-dbus
@ 2017-05-11 7:01 Oliver Rath
2017-05-11 7:43 ` Marian Csontos
0 siblings, 1 reply; 6+ messages in thread
From: Oliver Rath @ 2017-05-11 7:01 UTC (permalink / raw)
To: LVM general discussion and development
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
Without the last option, configure runs fine. The git-codebase is from
today, all neede libs shoud be installed, the System is Ubuntu-16.04.
What must I do?
Tfh!
Oliver
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] configure fail with option --enable-notivy-dbus
2017-05-11 7:01 [linux-lvm] configure fail with option --enable-notivy-dbus Oliver Rath
@ 2017-05-11 7:43 ` Marian Csontos
2017-05-11 10:03 ` Bryn M. Reeves
2017-05-11 10:05 ` Oliver Rath
0 siblings, 2 replies; 6+ messages in thread
From: Marian Csontos @ 2017-05-11 7:43 UTC (permalink / raw)
To: LVM general discussion and development, Oliver Rath
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.
Were you configuring lvm2 on the same machine using the same environment?
>
>
> Without the last option, configure runs fine. The git-codebase is from
> today, all neede libs shoud be installed, the System is Ubuntu-16.04.
>
> What must I do?
>
> Tfh!
> Oliver
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] configure fail with option --enable-notivy-dbus
2017-05-11 7:43 ` Marian Csontos
@ 2017-05-11 10:03 ` Bryn M. Reeves
2017-05-11 10:10 ` Oliver Rath
2017-05-11 10:05 ` Oliver Rath
1 sibling, 1 reply; 6+ messages in thread
From: Bryn M. Reeves @ 2017-05-11 10:03 UTC (permalink / raw)
To: LVM general discussion and development; +Cc: Oliver Rath
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] configure fail with option --enable-notivy-dbus
2017-05-11 10:03 ` Bryn M. Reeves
@ 2017-05-11 10:10 ` Oliver Rath
0 siblings, 0 replies; 6+ messages in thread
From: Oliver Rath @ 2017-05-11 10:10 UTC (permalink / raw)
To: linux-lvm
Hi Bryn!
On 11.05.2017 12:03, Bryn M. Reeves wrote:
[..]
>> ################################################################################
>> 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?
My used glibc is:
$ LANG=POSIX dpkg-query -l libc6
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture
Description
+++-==============================-====================-====================-==================================================================
ii libc6:amd64 2.23-0ubuntu7 amd64
GNU C Library: Shared libraries
ii libc6:i386 2.23-0ubuntu7 i386
GNU C Library: Shared libraries
and
$ LANG=POSIX dpkg-query -l libc6-dev
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture
Description
+++-==============================-====================-====================-==================================================================
ii libc6-dev:amd64 2.23-0ubuntu7 amd64
GNU C Library: Development Libraries and Header Files
ii libc6-dev:i386 2.23-0ubuntu7 i386
GNU C Library: Development Libraries and Header Files
oliver@w541:~/gits/lvm2$
Regards,
Oliver
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] configure fail with option --enable-notivy-dbus
2017-05-11 7:43 ` Marian Csontos
2017-05-11 10:03 ` Bryn M. Reeves
@ 2017-05-11 10:05 ` Oliver Rath
2017-05-11 10:12 ` Bryn M. Reeves
1 sibling, 1 reply; 6+ messages in thread
From: Oliver Rath @ 2017-05-11 10:05 UTC (permalink / raw)
To: Marian Csontos, LVM general discussion and development
Hi Marian,
On 11.05.2017 09:43, Marian Csontos wrote:
> On 05/11/2017 09:01 AM, Oliver Rath wrote:
[..]
> ################################################################################
>
> 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.
Ok, that helps. I figured out, that libm is part of libc6, libc6-dev is
installed and has a include file called tgmath.h
$ grep -iR "define log10" /usr/include/
/usr/include/tgmath.h:# define log10(Val) __TGMATH_UNARY_REAL_IMAG (Val,
log10, __clog10)
/usr/include/tgmath.h:# define log10(Val) __TGMATH_UNARY_REAL_ONLY (Val,
log10)
[..]
So it seems all needed files are installed. But the message still remains.
>
> Were you configuring lvm2 on the same machine using the same environment?
Yes. At the moment. If you neede further information, just let me know!
Regards,
Oliver
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] configure fail with option --enable-notivy-dbus
2017-05-11 10:05 ` Oliver Rath
@ 2017-05-11 10:12 ` Bryn M. Reeves
0 siblings, 0 replies; 6+ messages in thread
From: Bryn M. Reeves @ 2017-05-11 10:12 UTC (permalink / raw)
To: LVM general discussion and development; +Cc: Marian Csontos
On Thu, May 11, 2017 at 12:05:34PM +0200, Oliver Rath wrote:
> Hi Marian,
>
>
> On 11.05.2017 09:43, Marian Csontos wrote:
> > On 05/11/2017 09:01 AM, Oliver Rath wrote:
> [..]
> > ################################################################################
> >
> > 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.
>
> Ok, that helps. I figured out, that libm is part of libc6, libc6-dev is
> installed and has a include file called tgmath.h
>
> $ grep -iR "define log10" /usr/include/
> /usr/include/tgmath.h:# define log10(Val) __TGMATH_UNARY_REAL_IMAG (Val,
> log10, __clog10)
> /usr/include/tgmath.h:# define log10(Val) __TGMATH_UNARY_REAL_ONLY (Val,
> log10)
> [..]
That's a macro for complex log operations. You want the floating point
version from bits/math-finite.h (included by math.h).
> So it seems all needed files are installed. But the message still remains.
Try compiling the log10 test autoconf uses yourself. It should be something
simple like:
char log10();
int main(int argc, char **argv)
{
return log10();
}
Then compile it with -lm and note any errors (you may get a warning about
redefining a built-in but this is just to test that the symbol can be
found).
Regards,
Bryn.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-05-11 10:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-11 7:01 [linux-lvm] configure fail with option --enable-notivy-dbus Oliver Rath
2017-05-11 7:43 ` Marian Csontos
2017-05-11 10:03 ` Bryn M. Reeves
2017-05-11 10:10 ` Oliver Rath
2017-05-11 10:05 ` Oliver Rath
2017-05-11 10:12 ` Bryn M. Reeves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).