使用Git
git blob
对我来说很好。
完成此步骤后,我运行wget http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz
并失败:
./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
请帮忙!
您还需要其他问题吗?
答案 0 :(得分:1)
最有可能的是,您必须降级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/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版本之间不兼容造成的(请参阅this bug)。
答案 1 :(得分:0)
perl-Thread-Queue.noarch
needed;
if your os is centos, try this:
yum install perl-Thread-Queue.noarch