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

Posted blogxu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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]#

以上是关于pcre-8.36/missing:行81: aclocal-1.14: 未找到命令的主要内容,如果未能解决你的问题,请参考以下文章

FAILURE:构建失败并出现异常。 * 其中:构建文件 'C:\Users\mayev\dev\remplazo\Chronos\android\app\build.gradle' 行:81

81.内存模式实现cgi查询

算法千题案例每日LeetCode打卡——81.最长特殊序列 Ⅰ

算法千题案例每日LeetCode打卡——81.最长特殊序列 Ⅰ

Linux shell 计算两个文件的并集交集差集

如何更新google chrome浏览器插件