使用centos7安装pcre 输入命令 make && make install 出现如下错误
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/BaiduPCS/build-aux/missing aclocal-1.15 -I m4
/root/BaiduPCS/build-aux/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' 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] Error 127
解决方案 :
# 先执行
autoreconf -ivf
# 在执行
make && make install
完美解决
参考: https://blog.youkuaiyun.com/vr7jj/article/details/80438663