場景
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
然后再執行上面的檢查命令,出現下面這種情況,則是檢查通過