初次学习nginx时,安装在进行解压步骤后继续进行./configure时出现错误。
1》解决方法:首先想到百度,查找关键字
2》 错误的截图
3》错误报告
configure: error: no acceptable C compiler found in $PATHSee `config.log’ for more details
4》解决方法
安装gcc组件
在root用户下进行,如果是root用户登录省去sudo。
sudo yum install gcc
5》继续进行./configure即可
6》继续进行make && make install
7》查看版本信息
pcre-config --version