Discussion:
[linux-lvm] lvm2-2.02.150: error running autotools
Timo Gurr
2016-04-14 10:24:26 UTC
Permalink
When running autotools on lvm2-2.02.150 I get the following error:

Using autoconf:2.5
Using automake:1.15
eautoreconf: running in
/var/tmp/paludis/build/sys-fs-lvm2-2.02.150/work/LVM2.2.02.150 ...
aclocal
aclocal-1.15: warning: autoconf input should be named 'configure.ac',
not 'configure.in'
autoconf
configure.in:1527: error: possibly undefined macro: AC_PYTHON_MODULE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
* Failed Running autoconf !

Attached is a full build.log and the error can also be observed on our CI:
https://galileo.mailstation.de/jenkins/job/arbor/6248/console

System is a 64bit Exherbo installation, lvm2-2.02.137
configures/compiles und runs without any problems.
--
Timo Gurr
Zdenek Kabelac
2016-04-18 17:33:56 UTC
Permalink
Post by Timo Gurr
Using autoconf:2.5
Using automake:1.15
eautoreconf: running in
/var/tmp/paludis/build/sys-fs-lvm2-2.02.150/work/LVM2.2.02.150 ...
aclocal
aclocal-1.15: warning: autoconf input should be named 'configure.ac',
not 'configure.in'
autoconf
configure.in:1527: error: possibly undefined macro: AC_PYTHON_MODULE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
* Failed Running autoconf !
https://galileo.mailstation.de/jenkins/job/arbor/6248/console
System is a 64bit Exherbo installation, lvm2-2.02.137
configures/compiles und runs without any problems.
Hi

Well sorry for now - the current state of upstream configure.in file
does require newer version of autotools & autoconf & and few
other devel files installed.

So do not run autoconf and use already generated one - available
in both - git repo & released tar ball.

Once there will be enough time we may possibly fix it and make
it more backward compatible. Until that - use exiting generated
configure script.

Regards

Zdenek
Alasdair G Kergon
2016-04-18 18:16:51 UTC
Permalink
Post by Timo Gurr
configure.in:1527: error: possibly undefined macro: AC_PYTHON_MODULE
If you have a genuine need to run autoconf, then you need this (or a package
that includes it):
http://www.gnu.org/software/autoconf-archive/ax_python_module.html

Alasdair

Loading...