Created
September 29, 2013 22:25
-
-
Save diverted247/6757150 to your computer and use it in GitHub Desktop.
Build automation for Openresty + luajit + postgres on OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open_resty_version="ngx_openresty-1.4.2.7" | |
wget http://openresty.org/download/${open_resty_version}.tar.gz | |
tar xzvf ${open_resty_version}.tar.gz | |
cd ${open_resty_version} | |
brew install pcre | |
brew install postgresql | |
./configure --with-luajit --with-http_postgres_module --with-cc-opt="-I/usr/local/include" --with-ld-opt="-L/usr/local/lib" | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment