./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中。