【ubuntu_bug记录】安装libconfig时出现./configure: No such file or directory解决方案

安装libconfig时出现./configure: No such file or directory解决方案

由于最近复现部分代码时需要安装libconfig ,就分别在windows和ubuntu下配置了一下,发现ubuntu配置时出现了./configure: No such file or directory,查询博客解决方案发现大部分都是复制粘贴的安装过程,并没有人指出此问题。
后来查看文件中的install安装说明,发现此文件夹确实缺少configure文件,这里需要用GNU的autotools生成,解决方案如下:

cd libconfig-1.7.2;
aclocal
autoconf
automake --add-missing
./configure 

生成makefile,但是一输入make,就发生错误:WARNING: makeinfo’ is missing on your system. You should only need it if you modified a .texi’ or .texinfo’ file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy make’ (AIX,
DU, IRIX). You might want to install the Texinfo’ package or the GNU make’ package. Grab either from any GNU archive site.

说我缺少makeinfo,这玩意在texinfo肚子里
于是我给它装上吧!!!淦!!!

sudo apt-get install texinfo

然后就是make check ,sudo make install ,OK!

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值