在安装nginx之前安装pcre

结果提示了:

make: *** No rule to make target build', needed by default'. Stop.

尝试安装了一下 openssl以及ncurses组件


yum install -y openssl*

yum install -y ncurses-devel

安装成功之后,结果make发现还是不行,于是我往上排查一步

尴尬的发现是机器的C语言环境没有安装,导致./configure失败。

configure: error: You need a C++ compiler for C++ support.

[root@bogon pcre-8.35]# yum install -y gcc gcc-c++

之后就可以了

标签: 安装, nginx, yum, install, make, configure, pcre

相关文章推荐

添加新评论,含*的栏目为必填