码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-10-17 18:57:48      阅读:278      评论:0      收藏:0      [点我收藏+]

标签:运行   required   and   prefix   figure   possibly   for   def   搜索   

  从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生成应用程序遇到问题及解决方法

标签:运行   required   and   prefix   figure   possibly   for   def   搜索   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!