aclocal-1.15: command not found

aclocal-1.15: command not found

下载了coreutil 源代码
apt source coreutils

1. 运行./configure 通过

2. 运行make 失败
make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/hjj/source/coreutils-8.30/build-aux/missing aclocal-1.15 -I m4
/home/hjj/source/coreutils-8.30/build-aux/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
Makefile:6034: recipe for target 'aclocal.m4' failed
Makefile:6033: *** [aclocal.m4] Error 127


原因分析: 一般configure 成功, make 失败是比较少见的. 它说aclocal-1.15 命令没有发现
查我的aclolal 版本, 是 aclocal-1.16, 比所要求的1.15 版本高. 所以需要重新生成 configure 文件.

3. 解决办法: 重新生成configure 文件

$ autoreconf -ivf

其中 -i install missing
    -v  verbose
    -f  force, 认为所有文件都过时而重新生成脚本.

然后再重新执行 ./configure 再make 即可通过!

  • 4
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值