技术 · 思考 · 实践 · 成长

首页/运维/正文

rockylinux9 安装 Nginx错误 ./configure: error: C compiler cc is not found

运维410 次阅读

RockyLinux9 安装Nginx 错误

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


解决:

sudo dnf groupinstall "Development Tools"

sudo dnf install gcc glibc-devel


错误2:

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


解决:

sudo dnf install zlib-devel


人生在世,不如意事十之八九;人生的滋味,哪怕是酸甜或苦辣,也要靠自己去品。人活一口气:气质看一个人的过去,气度看一个人的未来

评论交流

0 条评论 · 支持多级回复
验证码
暂无评论,来说说你的想法吧

相关文章

继续阅读