openresty官方地址:http://openresty.org/
将openresty安装到macos上
sudo ./configure --prefix=../
报错了make: /Applications/Xcode: No such file or directory
解决方法:
查一下xcrun查找cmd tool时的路径
$ xcode-select -p
/Applications/Xcode 5.1.1.app/Contents/Developer
原来是Xcode 5.1.1.app
$ sudo xcode-select -r
$ xcode-