[LTP] Apparent trouble with HEAD of LTP

Joseph Beckenbach
2014-07-17T18:35:58Z

Greetings, Cyril, all!

I just pulled down LTP source (source-forge link to ltp-master.zip) and unpacked to start some testing.
However, I cannot get past ./configure ... since crafting ./configure failed to expand LTP_CHECK_FORTIFY_SOURCE (and all the LTP_CHECK_*)
which appear in m4/ltp-*.m4 files. Compilations fail because this then provokes lots of '@foo@' expansions to not occur in include/mk/config.mk and include/mk/features.mk.

The most recent commit was "configure.ac: Add AC_CONFIG_MACRO_DIR" which I think is causing my trouble.

This is on (several instances of) a Debian 7.6 system. All tools cited in ./INSTALL are present and at least as recent as called out in that documentation.
Googling provides a year-old thread on autoconf / autoconfigure.ac mentioning AC_CONFIG_MACRO_DIR [0]
which suggests libtool needs to figure in somehow -- and libtool package / executable libtoolize are *not* present on this system.
Given it appears this project's configuration sequence runs through ./aclocal.m4,
recent autoconf documentation [1] suggests to me that this macro does not justify dropping "-I m4"
(given we have no top-level Makefile.am involved).

And indeed, manually backing out just the include/mk/automake.mk one-line change done by commit "edbae29d774e30967bee74463ad505ff9a81f87d" unblocks me.

Am I missing something? Is the documentation missing something? Is the `make autotools` step missing something?
Color me "confused but able to progress".
Thanks!

Joseph
Joseph Beckenbach, senior QA engineer : Automation

[0] https://bbs.archlinux.org/viewtopic.php?pid=1258673

[1] https://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/Input.html