Skip to content

Instantly share code, notes, and snippets.

@kazeburo
Created December 12, 2013 00:24
Show Gist options
  • Save kazeburo/7921148 to your computer and use it in GitHub Desktop.
Save kazeburo/7921148 to your computer and use it in GitHub Desktop.
build openresty with pcre-jit
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