使用wget http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz安装了automake
./configure --prefix=$HOME/local对我来说工作得很好。
在这一步之后,我运行了make,它失败了:
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我不知道该怎么做!
另一件事是我尝试运行bin/aclocal,它显示:
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.请帮帮我!
你还需要其他的问题吗?
发布于 2017-11-02 00:55:10
最有可能的是,您必须降级您的Perl版本,或者更新您试图构建的automake版本:
help2man程序尝试运行automake-1.15 --help。如果此操作失败,您将看到上面的错误。在我的例子中,最初的失败是这样的:
$ ./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/user/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版本之间不兼容造成的(参见this bug)。
发布于 2016-09-01 14:10:37
需要perl-Thread-Queue.noarch;
如果你的操作系统是centos,试试这个:
yum install perl-Thread-Queue.noarchhttps://stackoverflow.com/questions/39141038
复制相似问题