1、具體錯誤報錯資訊:
line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make: *** [Makefile:579: aclocal.m4] Error 127
-e error code=2!
2、解決方法
首先獲取來源:
$ wget https://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz
解壓檔案:
$ tar -xzvf automake-1.15.tar.gz
構建并安裝:
$ cd automake-1.15
$ ./configure --prefix=/opt/aclocal-1.15
$ make
$ sudo mkdir -p /opt
$ sudo make install
添加環境變數:
$ export PATH=/opt/aclocal-1.15/bin:$PATH
$ aclocal --version
aclocal(GNU automake)1.15
現在,當呼叫aclocal時,您將獲得正確的版本,
如果出現版本還是不對可以去將/usr/bin目錄下建立軟鏈接
$ cd /usr/bin
$ rm aclocal
$ ln -s /opt/aclocal-1.15/bin/aclocal-1.15 aclocal
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/278923.html
標籤:區塊鏈
上一篇:挖礦工具-Gminer 配置引數
下一篇:laravel遇到的問題
