Ubuntu Server 上在安装Nginx时执行./confgiure后提示:C compiler cc is not found
生活随笔
收集整理的這篇文章主要介紹了
Ubuntu Server 上在安装Nginx时执行./confgiure后提示:C compiler cc is not found
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
場景
Ubuntu Server 16.04 LTS上怎樣安裝下載安裝Nginx并啟動:
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/102828075
在上面進行安裝Nginx前配置檢查時提示:
checking for C compiler .. not found
./configure: error: C compiler cc is not found
?
注:
博客:
https://blog.csdn.net/badao_liumang_qizhi
關注公眾號
霸道的程序猿
獲取編程相關電子書、教程推送與免費下載。
實現
如果出現上面這種檢查不通過,則說明缺少某些依賴。
執行以下命令:
sudo apt-get install build-essential?
然后再執行上面的檢查命令,出現下面這種情況,則是檢查通過
?
總結
以上是生活随笔為你收集整理的Ubuntu Server 上在安装Nginx时执行./confgiure后提示:C compiler cc is not found的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: DataGridView中在新增行时怎样
- 下一篇: Nginx在开发中常用的基础命令