安裝grpc總報錯AC_PROG_LIBTOOL未定義

報錯現象一:configure.ac:104: error: possibly undefined macro: AC_PROG_LIBTOOL

報錯現象二:configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

 

原因:libtool未安裝,或者安裝了卻未被aclocal檢測到(可以參考https://blog.csdn.net/xiaoxinyu316/article/details/52578973)

解決辦法:

1.先把系統原來的libtool卸載掉

yum remove libtool

2.下載http://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.gz

3.tar -zxf libtool-2.4.6.tar.gz

4../configure

5.make 

6.make install

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章