从来都不发这种安装编译的文章,但这个我觉得有必要记录下,可以在mac下调试方便多了
1. 安装pcre
2. 编译安装
-
./configure --with-luajit --with-cc-opt="-I/usr/local/Cellar/pcre/8.33/include" --with-ld-opt="-L/usr/local/Cellar/pcre/8.33/lib" --prefix=/usr/local/Cellar/openresty
ref:
1. http://nocurve.com/compiling-openresty-nginx-on-osx/
2.
阅读(6936) | 评论(0) | 转发(0) |