zoukankan      html  css  js  c++  java
  • 解决nginx make 报错aclocal-1.14: command not found

    [root@node01 nginx-1.7.7]# make
    make -f objs/Makefile
    make[1]: Entering directory `/root/nginx-1.7.7'
    cd /software/pcre_install/pcre-8.36 
    	&& if [ -f Makefile ]; then make distclean; fi 
    	&& CC="cc" CFLAGS="-O2 -fomit-frame-pointer -pipe " 
    	./configure --disable-shared 
    make[2]: Entering directory `/software/pcre_install/pcre-8.36'
    CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /software/pcre_install/pcre-8.36/missing aclocal-1.14 -I m4
    /software/pcre_install/pcre-8.36/missing: line 81: aclocal-1.14: command not found
    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] Error 127
    make[2]: Leaving directory `/software/pcre_install/pcre-8.36'
    make[1]: *** [/software/pcre_install/pcre-8.36/Makefile] Error 2
    make[1]: Leaving directory `/root/nginx-1.7.7'
    make: *** [build] Error 2
    [root@node01 nginx-1.7.7]# 
    
    解决:
    [root@node01 nginx-1.5.1]# cd  /software/pcre_install/pcre-8.36/
    [root@node01 pcre-8.36]#  autoreconf -ivf 
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force -I m4
    autoreconf: configure.ac: tracing
    autoreconf: running: libtoolize --copy --force
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
    libtoolize: copying file `m4/libtool.m4'
    libtoolize: copying file `m4/ltoptions.m4'
    libtoolize: copying file `m4/ltsugar.m4'
    libtoolize: copying file `m4/ltversion.m4'
    libtoolize: copying file `m4/lt~obsolete.m4'
    autoreconf: running: /usr/bin/autoconf --force
    autoreconf: running: /usr/bin/autoheader --force
    autoreconf: running: automake --add-missing --copy --force-missing
    autoreconf: Leaving directory `.'
    [root@node01 pcre-8.36]# 
  • 相关阅读:
    课堂作业02
    模仿JavaAppArguments.java示例,编写一个程序,此程序从命令行接收多个数字,求和之后输出结果。
    Feign使用Hystrix无效原因及解决方法
    解决Spring Boot 使用RedisTemplate 存储键值出现乱码 xacxedx00x05tx00
    consul怎么在windows下安装
    java运行jar命令提示没有主清单属性
    Maven parent.relativePath
    Maven的pom.xml文件结构之基本配置packaging和多模块聚合结构(微服务)
    redis开启远程访问
    kibana使用
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13349032.html
Copyright © 2011-2022 走看看