安装nginx要先安装那四个依赖 yum -y install gcc gcc-c++ autoconf automake make
CentOS 下 安装 nginx 执行配置命令 ./configure --prefix=/opt/nginx --sbin-path=/usr/bin/nginx
时提示以下错误:
checking for OS
Linux 2.6.32-431.el6.x86_64 x86_64checking for C compiler ... not found
解决:
执行以下命令:
yum -y install gcc gcc-c++ autoconf automake make
总结:安装nginx要先安装那四个依赖!!!!!!!!
无需通知,随意转载https://www.cnblogs.com/wqkeep/p/10705531.html 标签:gcc,make,c++,automake,nginx,安装 From: https://www.cnblogs.com/sunny3158/p/16708761.html