使用autogen生成應用程序遇到問題及解決方法


  從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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM