Created
December 12, 2013 00:24
-
-
Save kazeburo/7921148 to your computer and use it in GitHub Desktop.
build openresty with pcre-jit
This file contains hidden or 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
cd /tmp | |
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.33.tar.gz | |
tar zxf pcre-8.33.tar.gz | |
wget http://openresty.org/download/ngx_openresty-1.4.3.3.tar.gz | |
tar zxf ngx_openresty-1.4.3.3.tar.gz | |
cd ngx_openresty-1.4.3.3 | |
export PATH=/sbin:$PATH | |
./configure --with-luajit --prefix=/path/to/openresty --with-http_gzip_static_module --with-pcre=/tmp/pcre-8.33 --with-pcre-jit | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment