Centos7安装pcre报错

原文地址:https://segmentfault.com/a/1190000003036176

环境

1. CentOS 6.5 64bit
2. yum -y install gcc gcc-c++ autoconf automake make libtool openssl openssl-devel

报错

[root@host-10-172-201-32 pcre-8.35]# ./configure --prefix=/opt/webserver/pcre
[root@host-10-172-201-32 pcre-8.35]# make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /usr/local/src/pcre-8.35/missing aclocal-1.14 -I m4
/usr/local/src/pcre-8.35/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: *** [aclocal.m4] 错误 127

解决

[root@host-10-172-201-32 pcre-8.35]# autoreconf -ivf

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值