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]#

posted @ 2020-06-16 16:38  骇客黑界  阅读(1304)  评论(0编辑  收藏  举报