原文:centos7安裝nginx 報./configure: error: C compiler cc is not found

CentOS 下安裝nginx執行配置命令 . configure 時提示以下錯誤: 解決: 執行以下命令: yum yinstallgccgcc c autoconfautomakemake 上述安裝成功后在嘗試安裝 顯示安裝成功 ...

2018-05-02 19:14 1 7867 推薦指數:

查看詳情

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

沒有安裝gcc 在安裝nginx之前先安裝依賴軟件 yum install -y gcc gcc-c++ autoconf pcre pcre-devel make automake wget httpd-tools vim tree ...

Tue Jan 15 04:21:00 CST 2019 0 2342
nginx安裝錯誤:c compiler cc is not found

今天安裝軟件nginx的時候遇到的報錯:c compiler cc is not found 查了下網上的資料,解決方案也不復雜。 先說明下環境: 服務器:CentOS 7 nginx:2.3.1 原因是因為缺少 gcc-c++ 的包 解決辦法很簡單,執行:yum -y ...

Wed Sep 04 05:30:00 CST 2019 0 6012
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM