解决 pcre-8.35 make[2]: *** [aclocal.m4] Error 127

解决:make[2]: *** [aclocal.m4] Error 127

[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 pcre-8.36]# autoreconf -ivf

完了以后再:make && make install

posted @   walkersss  阅读(3000)  评论(0编辑  收藏  举报
编辑推荐:
· 没有源码,如何修改代码逻辑?
· 一个奇形怪状的面试题:Bean中的CHM要不要加volatile?
· [.NET]调用本地 Deepseek 模型
· 一个费力不讨好的项目,让我损失了近一半的绩效!
· .NET Core 托管堆内存泄露/CPU异常的常见思路
阅读排行:
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· DeepSeek “源神”启动!「GitHub 热点速览」
· C# 集成 DeepSeek 模型实现 AI 私有化(本地部署与 API 调用教程)
· DeepSeek R1 简明指南:架构、训练、本地部署及硬件要求
· NetPad:一个.NET开源、跨平台的C#编辑器
点击右上角即可分享
微信分享提示