[LTP] About "make autotools" failure

Mitani
2010-11-04T10:22:49Z

Hi,

I tried to build LTP with today's git "ltp-40be648.tar.gz".
But "make autotools" failed in my all systems.

------------
sed -n '1{s:LTP-:m4_define([LTP_VERSION],[:;s:$:]):;p;q}' ChangeLog >
m4/ltp-version.m4
aclocal -I m4
autoconf
autoheader
automake -c -a
configure.ac:18: installing `./config.guess'
configure.ac:18: installing `./config.sub'
configure.ac:4: installing `./install-sh'
configure.ac:4: installing `./missing'
set -x; \
cd testcases/kernel/syscalls/pcllib && \
aclocal && \
autoconf && \
autoheader && \
automake --add-missing
+ cd testcases/kernel/syscalls/pcllib
+ aclocal
+ autoconf
configure.in:11: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
make: *** [testcases/kernel/syscalls/pcllib/configure] Error 1
------------

The environments of my systems are as follows:
- RHEL4.8 (kernel version 2.6.9-89) --- (x86, x86_64, ia64)
- RHEL5.5 (kernel version 2.6.18-194) --- (x86, x86_64, ia64)

I use "automake", "autoconf" and "m4" whose versions are same as
written in "INSTALL" file:
------------
[root@RHEL55-64-LTP ~]# automake --version
automake (GNU automake) 1.10.2
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
and Alexandre Duret-Lutz <adl@gnu.org>.
[root@RHEL55-64-LTP ~]# autoconf --version
autoconf (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
[root@RHEL55-64-LTP ~]# m4 --version
GNU M4 1.4.7
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by Rene' Seindal.
[root@RHEL55-64-LTP ~]#
------------

By the way, in today's git "ltp-40be648.tar.gz", "${LTPROOT}/testcases/
kernel/syscalls/pcllib/aclocal.m4" is overwritten after failure of
"make autotools" command.
But, in older gits "ltp-7e2cbbd", "${LTPROOT}/testcases/kernel/
syscalls/pcllib/aclocal.m4" is not overwritten after success of
"make autotools" command.
Why?

Regards--

-Tomonori Mitani