日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 综合教程 >内容正文

综合教程

【Nginx疑难解析】安装Nginx时,执行configure命令的报错

發布時間:2023/12/13 综合教程 29 生活家
生活随笔 收集整理的這篇文章主要介紹了 【Nginx疑难解析】安装Nginx时,执行configure命令的报错 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

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

[root@php01 nginx-1.18.0]# ./configure --user=nginx --group=nginx --prefix=/data/nginx --with-http_stub_status_module --with-http_ssl_module
checking for OS
 + Linux 2.6.32-642.el6.x86_64 x86_64
checking for C compiler ... not found

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

這是缺少 gcc-c++ 依賴包。

解決辦法:

執行如下命令:

[root@php01 nginx-1.18.0]# yum install gcc-c++ -y

./configure: error: the HTTP rewrite module requires the PCRE library.

[root@php01 nginx-1.18.0]# ./configure --user=nginx --group=nginx --prefix=/data/nginx --with-http_stub_status_module --with-http_ssl_module
......
......
checking for PCRE library in /usr/include/pcre/ ... not found
checking for PCRE library in /usr/pkg/ ... not found
checking for PCRE library in /opt/local/ ... not found

./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.

解決方法:

[root@php01 nginx-1.18.0]# rpm -qa|grep pcre
pcre-7.8-7.el6.x86_64
[root@php01 nginx-1.18.0]# yum install pcre-devel -y
[root@php01 nginx-1.18.0]# rpm -qa|grep pcre
pcre-devel-7.8-7.el6.x86_64
pcre-7.8-7.el6.x86_64

./configure: error: SSL modules require the OpenSSL library.

[root@php01 nginx-1.18.0]# ./configure --user=nginx --group=nginx --prefix=/data/nginx --with-http_stub_status_module --with-http_ssl_module
......
checking for PCRE library ... found
checking for PCRE JIT support ... not found
checking for OpenSSL library ... not found
checking for OpenSSL library in /usr/local/ ... not found
checking for OpenSSL library in /usr/pkg/ ... not found
checking for OpenSSL library in /opt/local/ ... not found

./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl=<path> option.

解決辦法:

執行如下命令:

[root@php01 nginx-1.18.0]# yum install openssl openssl-devel -y

總結

以上是生活随笔為你收集整理的【Nginx疑难解析】安装Nginx时,执行configure命令的报错的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 操人视频在线观看 | 亚洲欧美一区二区三区 | av中文字幕一区二区 | 久久99国产精品久久99 | av一级在线观看 | 在线免费观看污网站 | 免费在线观看黄色 | 黄黄视频在线观看 | 国产成人免费电影 | 精品人妻一区二区三区久久夜夜嗨 | 日韩女同强女同hd | 欧美丝袜脚交 | 精品国产999久久久免费 | 97色伦影院 | 懂色aⅴ一区二区三区免费 国产精品99在线观看 | 九九超碰| 爱情岛av永久入口 | 欧美做爰爽爽爽爽爽爽 | 象人高潮调教丨vk | 激情五月在线观看 | 国产人妖在线播放 | 草逼国产 | 亚洲欧洲自拍偷拍 | 日韩激情网址 | 香蕉亚洲 | 天堂av.com| 粗口调教gay2022.com | 亚洲aaaaa特级 | 香蕉性视频| 国产美女视频一区二区 | 欧美一区二区三区视频在线 | 夜夜操导航 | 国产精品自拍视频 | 亚洲国产精品无码久久久久高潮 | 97人人看| 欧美日韩一区二区三区在线 | 丰满多毛的大隂户视频 | 久久国内视频 | 热99这里只有精品 | 亚洲综合色网 | 国产精品久久久久久久久久久久久久久久 | 日本特黄视频 | 久久尤物| 国产精品7 | 日韩123区 | 6090伦理| 手机av中文字幕 | 日本中文字幕二区 | 高清视频一区二区三区 | 色婷婷电影网 | 国产 日韩 欧美 综合 | 国内特级毛片 | 亚洲av成人无码一二三在线观看 | 国产一级久久久久毛片精品 | 欧美一区二区三区久久妖精 | 999精品视频在线观看 | 日韩精品一区二区亚洲av性色 | 最新日韩一区 | 免费日韩av | 久久一区二 | cao在线视频 | 99在线精品视频 | 欧美人与性动交α欧美精品 | 亚洲人妖在线 | 秋霞成人午夜伦在线观看 | 最近中文字幕av | 久久久一区二区 | av手机免费看 | 欧美成人一区二区 | av青青| 天天干天天色天天 | 日日干日日摸 | 成人午夜网站 | 亚洲欧洲一级 | 四虎少妇做爰免费视频网站四 | 麻豆视频网 | 欧美午夜精品久久久久久人妖 | 久久狠狠高潮亚洲精品 | 亚洲黄v | 亚洲国产欧美日韩在线 | 草视频在线 | 国产欧美精品一区二区 | 芒果视频在线观看免费 | 免费观看的毛片 | 高清乱码毛片 | 绿帽在线| 日本久久爱 | 国产肉体ⅹxxx137大胆 | 日韩二区| 永久毛片 | 五月激情小说 | 欧美一区二区三区视频 | 色乱码一区二区三在线看 | 91亚洲精华国产精华精华液 | 天堂视频免费看 | 欧美久久激情 | 亚洲人在线视频 | 精品国产一区一区二区三亚瑟 | 美女被男生免费视频 |