2015-10-13 160 views
0
$ autoreconf -fi 
src/Makefile.am:43: Libtool library used but `LIBTOOL' is undefined 
src/Makefile.am:43: src/Makefile.am:43: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' 
src/Makefile.am:43: to `configure.ac' and run `aclocal' and `autoconf' 
again. autoreconf: automake failed with exit status: 1 

我改變了configure.ac,因爲它說, 但是當我轉過身來,用./configure,仍然有幾個誤區:Libtool程序安裝問題

./configure: line 19537: syntax error near unexpected token `[disable-fast-install' 
./configure: line 19537: `LT_INIT#([disable-fast-install)]' 

回答

0

您需要重新安裝它以修復錯誤,請按照下列步驟操作:

1]刪除當前libtool(如果已安裝):sudo apt-get purge libtool

2]從官方網站下載它https://www.gnu.org/software/libtool/

3]其解壓縮:tar -xzvf "name of the tar_file"

4]輸入文件夾,然後鍵入:./configure && make

5]安裝:sudo make install

和你做,錯誤應該被修復!

+0

Thanks.It很有幫助。 –