关于 WARNING: 'automake-1.15' is missing on your system.的解决

编译jffs2_tool时报错

WARNING: 'automake-1.15' is missing on your system.

本以为下载了对应的源码包装上就行了,没想到后面牵涉了好多问题,总结一下。

1.automake -v一下   版本太旧了, apt-get autoremove automake 删除

 automake -v
The program 'automake' can be found in the following packages:
 * automake
 * automake1.10
 * automake1.11
 * automake1.4
 * automake1.9
Try: apt-get install <selected package>

然后根据报错下载automake-1.15源码包,我下载的是automake-1.15.1.tar.gz下载地址是 :https://lists.gnu.org/archive/html/info-gnu/2017-06/msg00007.html   ;下载后解压 tar -zxvf automake-1.15.1.tar.gz    然后   ./configure  接着就有出错了

 configure: error: Autoconf 2.65 or better is required.

2.查询资料后知道了autoconf版本太低  autoconf  -v 

 autoconf -v
The program 'autoconf' can be found in the following packages:
 * autoconf
 * autoconf2.13
Try: apt-get install <selected package>

依然是太低了,可以下一个autoconf-2.65  我这里下载的autoconf-2.68  原因很简单版本高一点,有备无患。这个是地址: http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz

继续./configure 

configure: error: no acceptable m4 could be found in $PATH.

oh my god 又来!!!!

3.继续查资料,缺少 m4 ,   下载m4-1.4.9.tar.gz    地址为:http://ftp.gnu.org/gnu/m4/m4-1.4.9.tar.gz

然后解压  进入首目录 ./configure  ;make ;make install  顺利通过

然后安装 autoconf  ./configure  ;make ;make install  顺利通过

最后安装automake  ./configure  ;make ;make install  依然顺利通过

接着就可以进行其他编译了

以上操作安装路径均没有指定。

  • 4
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

怀想天空2011

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值