1. 程式人生 > >“./configure: error: C compiler cc is not found”

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

gcc和c++裝完之後配置nginx的時候還會報cc找不到

錯誤:“./configure: error: C compiler cc is not found” 

解決方法:

CC=gcc

export CC

設定這個環境變數,讓gcc來代替cc!