牛骨文教育服务平台(让学习变的简单)
博文笔记

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

创建时间:2016-12-11 投稿人: 浏览次数:3064
</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命令。


调用sudo 命令的时候环境变量PATH会被重置,所以如果某命令需要sudo 权限最好将此命令的软连接放到/usr/sbin中。

声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。