Libtool安装问题

时间:2015-10-13 08:18:28

标签: javascript linux makefile configure

$ 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时,仍然存在一些错误:

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

1 个答案:

答案 0 :(得分: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

你完成了,错误应该修复!