Unable to build GNU automake

Installed machine using wget http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz

./configure --prefix=$HOME/local works great for me.

After this step, I ran makeand it fails:

  GEN      bin/automake
  GEN      bin/aclocal
  GEN      t/ax/shell-no-trail-bslash
  GEN      t/ax/cc-no-c-o
  GEN      runtest
  GEN      lib/Automake/Config.pm
  GEN      doc/aclocal-1.15.1
  GEN      doc/automake-1.15.1
help2man: can't get `--help' info from automake-1.15
Try `--no-discard-stderr' if option outputs to stderr
make: *** [doc/automake-1.15.1] Error 2

I do not know how to act!

Another thing, I'm trying to run bin/aclocal, and he says:

Can't locate Automake/Config.pm in @INC (@INC contains: /home/v/varun/local/share/automake-1.15 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at bin/aclocal line 37.
BEGIN failed--compilation aborted at bin/aclocal line 37.

Please, help!

Need more questions?

+4
source share
2 answers

Most likely, you should either downgrade Perlor upgrade the version automakeyou are trying to build:

The program is help2mantrying to run automake-1.15 --help. If this fails, you will see the error above. In my case, the initial failure looked like this:

$ ./1.15-r0/build/t/wrap/automake-1.15 --help
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /home/arost/proj/yocto/test/build/tmp/work/x86_64-linux/automake-native/1.15-r0/build/bin/automake line 3939.
Compilation failed in require at ./1.15-r0/build/t/wrap/automake-1.15 line 27.

automake 1.15 Perl (. ).

+1

perl-Thread-Queue.noarch ;

os , :

yum install perl-Thread-Queue.noarch
0

Source: https://habr.com/ru/post/1652433/


All Articles