zoukankan      html  css  js  c++  java
  • 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]#

  • 相关阅读:
    考研打卡_Day04
    考研打卡_Day03
    考研打卡-Day02
    吾日三省-归隐
    为什么要写博客?
    用C语言写一个Helloworld_实现第一步编译运行
    C语言中的结构体是怎么定义的_怎么使用?
    C语言的常用的数据类型有哪些_所占字节分别是多少
    Vim编辑器中查找关键词命令_查找与替换命令_多窗口命令
    Vim的基本操作命令与光标移动命令
  • 原文地址:https://www.cnblogs.com/blogxu/p/pcre.html
Copyright © 2011-2022 走看看