'make autotools' calls autoheader to generate configure. This isn't necessary as configure is already packaged in the ltp tarball.
This patch fixes the following build error on Ubuntu 11.10. autoheader aclocal.m4:16: warning: this file was generated for autoconf 2.64. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. configure.ac:2: error: m4_divert_push: cannot change diversion to `GROW' inside m4_expand configure.ac:2: the top level autom4te: /usr/bin/m4 failed with exit status: 1 autoheader: '/usr/bin/autom4te' failed with exit status: 1 make: *** [autoheader] Error 1 Signed-off-by: Vinson Lee <[email protected]> --- client/tests/ltp/ltp.py | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/client/tests/ltp/ltp.py b/client/tests/ltp/ltp.py index 833f3ec..8a8fdf3 100644 --- a/client/tests/ltp/ltp.py +++ b/client/tests/ltp/ltp.py @@ -40,7 +40,6 @@ class ltp(test.test): utils.system('patch -p1 < ../ltp_capability.patch') utils.system('cp ../scan.c pan/') # saves having lex installed - utils.make('autotools') utils.configure('--prefix=%s' % ltpbin_dir) utils.make('-j %d all' % utils.count_cpus()) utils.system('yes n | make SKIP_IDCHECK=1 install') -- 1.7.5.4 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
