Skip to contentSkip to conversation

About "make autotools" failure

LTP Mitani 2 participants 3 messages Nov 4, 2010 – Nov 8, 2010

lore
Share & tools
lore

Mitani

author
#0 lore raw

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 <[email protected]>
and Alexandre Duret-Lutz <[email protected]>.
[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

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 70 lines · Mitani

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 <[email protected]>
      and Alexandre Duret-Lutz <[email protected]>. [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 ~]#
------------

Quoted 7 lines

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?

I was trying to get rid of autogenerated files, but unfortunately
I was only half successful. I'll restore the original files if I can't get the whole thing to work tonight (please try installing the libtool package to see if the problem goes away though first). Thanks and sorry for the inconvenience,
-Garrett

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

author
#2 lore raw
Quoted 93 lines

-----Original Message-----
From: Garrett Cooper [mailto:[email protected]]
Sent: Friday, November 05, 2010 10:16 AM
To: Mitani
Cc: [email protected]
Subject: Re: [LTP] About "make autotools" failure

Quoted 8 lines · Mitani

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 >

Quoted 12 lines

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 && \

Quoted 8 lines

       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.

Quoted 20 lines

     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.

Quoted 6 lines

Written by Tom Tromey <[email protected]>
      and Alexandre Duret-Lutz <[email protected]>. [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

Quoted 1 line

the GNU General Public License

<http://www.gnu.org/licenses/gpl.html>.

Quoted 7 lines

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

Quoted 1 line

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR

PURPOSE.

Quoted 8 lines

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

By the way, in today's git "ltp-40be648.tar.gz",

"${LTPROOT}/testcases/

Quoted 6 lines

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?

Quoted 6 lines

I was trying to get rid of autogenerated files, but unfortunately
I was only half successful. I'll restore the original files if I can't get the whole thing to work tonight (please try installing the libtool package to see if the problem goes away though first). Thanks and sorry for the inconvenience,
-Garrett

I'm sorry for late reply.
I succeeded "make autotools" with today's git "ltp-882ad81.tar.gz".

Thank you--

-Tomonori Mitani

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list