pcre-8.36/missing:行81: aclocal-1.14: 未找到命令


</pre><pre name="code" class="plain">./configure --disable-shared 
make[2]: 進入目錄“/home/cookie/placeOfConfigure/pcre-8.36”
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/cookie/placeOfConfigure/pcre-8.36/missing aclocal-1.14 -I m4
/home/cookie/placeOfConfigure/pcre-8.36/missing:行81: aclocal-1.14: 未找到命令
WARNING: 'aclocal-1.14' 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[2]: *** [aclocal.m4] 錯誤 127

出現如上報錯,嘗試執行autoreconf -ivf命令。

 

如果上述命令顯示沒有此命令:那么下載:

下載安裝最新autoconf 2.69版本

下載地址 http://ftp.gnu.org/gnu/autoconf/

 

選擇 autoconf-2.69.tar.gz 下載,或者其他你需要的版本。

安裝:

[root@192 xxx]# tar -zxvf autoconf-2.69.tar.gz 
[root@192 xxx]# cd autoconf-2.69
[root@192 autoconf-2.69]# ./configure --prefix=/usr/
[root@192 autoconf-2.69]# make
[root@192 autoconf-2.69]# make install

 

查看當前autoconf版本

 /usr/bin/autoconf -V 或 rpm -qf /usr/bin/autoconf

 

[root@192 autoconf-2.69]#  /usr/bin/autoconf -V
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
[root@192 autoconf-2.69]#


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM