具体报错如下
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
,根据提示下载软件