编译安装nginx提示./configure: error: C compiler cc is not found

1 编译安装nginx提示如下

  ./configure: error: C compiler cc is not found

2 解决办法

  yum -y install gcc gcc-c++ autoconf automake make

3 注意

  安装nginx前还需安装以下软件解决依赖

  openssl openssl-devel pcre pcre-devel

posted @ 2020-02-23 22:11  執著的蝸牛  阅读(3791)  评论(0编辑  收藏  举报