首页 > 其他 > 详细

使用autogen生成应用程序遇到问题及解决方法

时间:2017-10-17 17:56:35      阅读:552      评论:0      收藏:0      [点我收藏+]

  从github上下载的代码,运行autogen.sh的时候,上报错误:

$ ./autogen.sh --prefix=/usr
./autogen.sh: 10: ./autogen.sh: autoreconf: not found

  资料搜索,结果是我的ubuntu系统缺少相应的安装包,解决方式如下:

sudo apt-get install autoconf autogen

  上面问题解决后,接下来上报错误:

configure.ac:163: error: possibly undefined macro: AC_PROG_LIBTOOL

原因也是缺少相应安装包,具体解决思路如下所示:

For centos required to install

yum install libtool

and for ubuntu

apt-get install libtool

使用autogen生成应用程序遇到问题及解决方法

原文:http://www.cnblogs.com/dylancao/p/7682813.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!