Skip to content

Commit

Permalink
INSTALL: Remove outdated requirements
Browse files Browse the repository at this point in the history
* m4 1.4.5 LTP issue was on RHEL 5.2 (RHEL 5.11 was EOL 7 years ago)
* make 3.81 was from 2009.
* autoconf 0.10.2 is even older (not even in autoconf git history nor
downloadable).

The oldest system still being tested is SLE15-SP2 and even this has
newer tooling: m4 1.4.18, make 4.2.1 and autoconf 2.69.

=> these "common issues" have not been common 15 years, thus removed

Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Jul 25, 2024
1 parent d072715 commit 9557e3e
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -197,46 +197,3 @@ LDLIBS - libraries listed after objects during link, e.g. -lc, -lpthread,

For other variables and more info about the build systems see
doc/Build-System.asciidoc.

Common Issues
-------------

Issue: When executing configure it says:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: error: cannot run /bin/sh ./config.sub

Solution: You must upgrade autoconf to 0.10.2+ and m4 to 1.4.7+; config.guess and config.sub aren't necessarily generated with older revisions of the Gnu autotools chain.

Issue: When executing make [all] it says:

" *** No rule to make target `/$*', needed by `pan-all'. Stop."

Solution: You must upgrade to make 3.81. Please see the Requirements section above.

Issue: When executing make [all] it says something like:

# ...
install -m 00644 "/scratch/ltp-dev2/ltp/include/test.h" "/scratch/ltp-install12/include/test.h"
install -m 00644 "/scratch/ltp-dev2/ltp/include/tlibio.h" "/scratch/ltp-install12/include/tlibio.h"
install -m 00644 "/scratch/ltp-dev2/ltp/include/usctest.h" "/scratch/ltp-install12/include/usctest.h"
install -m 00644 "/scratch/ltp-dev2/ltp/include/write_log.h" "/scratch/ltp-install12/include/write_log.h"
make[1]: Leaving directory `/scratch/ltp-dev2/ltp/include'
make -C lib -f "/scratch/ltp-dev2/ltp/lib/Makefile" all
make[1]: Entering directory `/scratch/ltp-dev2/ltp/lib'
" *** No rule to make target `dataascii.o', needed by `libltp.a'. Stop." # <-- the error

Solution: You cannot build LTP with -r / --no-builtin-rules and/or
-R / --no-builtin-variables specified. LTP relies heavily on built-in
implicit rules and variables to function properly.

Issue: When executing make (no target, 3.80), it does the following, and doesn't execute all:

#
make -C testcases/realtime autotools
make[1]: Entering directory `/scratch/ltp/testcases/realtime'
autoheader
make[1]: Leaving directory `/scratch/ltp/testcases/realtime'

0 comments on commit 9557e3e

Please sign in to comment.