Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/421.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Libtool安装问题_Javascript_Linux_Makefile_Configure - Fatal编程技术网

Javascript Libtool安装问题

Javascript Libtool安装问题,javascript,linux,makefile,configure,Javascript,Linux,Makefile,Configure,我更改了configure.ac,正如它所说, 但当我转向使用./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/Makef

我更改了configure.ac,正如它所说, 但当我转向使用./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
您需要重新安装它以修复错误,因此请执行以下步骤:

1] 删除当前的libtool(如果已安装):sudo apt get purge libtool

2] 从官方网站下载

3] Untar it:tar-xzvf tar_文件的名称

4] 输入文件夹和类型:./configure&&make

5] 安装:sudomakeinstall


如果您完成了,错误应该被修复

谢谢,这很有帮助。
./configure: line 19537: syntax error near unexpected token `[disable-fast-install'
./configure: line 19537: `LT_INIT#([disable-fast-install)]'