具体报错如下

MacBook-Pro:nginx-1.20.1 mac$ ./configure --prefix=/Users/mac/Desktop/DevelopTools/nginx-1.20.1
checking for OS
 + Darwin 20.3.0 x86_64
checking for C compiler ... not found

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

执行 xcode-select --install,根据提示下载软件

最后修改:2021 年 08 月 02 日
如果觉得我的文章对你有用,请随意赞赏