--with-luajit
lua和ngx_devel_kit模块
--with-ld-opt="-wl,-rpath,/usr/local/lib/"
--add-module=/root/soft/nginx_lua_graphics_magick/ngx_devel_kit-0.3.0/
--add-module=/root/soft/nginx_lua_graphics_magick/lua-nginx-module-0.10.11/
./configure --prefix=/usr/local/nginx --add-module=../../fastDFS/fastdfs-nginx-module-master/src/ --prefix=/usr/local/nginx --sbin-path=/usr/local/nginx/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx/nginx.pid --lock-path=/var/lock/nginx.lock --user=nginx --group=nginx --with-http_ssl_module --with-http_stub_status_module --with-http_gzip_static_module --http-client-body-temp-path=/var/tmp/nginx/client/ --http-proxy-temp-path=/var/tmp/nginx/proxy/ --http-fastcgi-temp-path=/var/tmp/nginx/fcgi/ --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi --http-scgi-temp-path=/var/tmp/nginx/scgi --with-pcre --with-ld-opt="-Wl,-rpath,/usr/local/lib/" --add-module=/root/soft/nginx_lua_graphics_magick/ngx_devel_kit-0.3.0/ --add-module=/root/soft/nginx_lua_graphics_magick/lua-nginx-module-0.10.11/
export LUAJIT_LIB=/usr/local/lib
export LUAJIT_INC=/usr/local/include/luajit-2.0
/usr/local/lib/libluajit-5.1.so
/usr/local/include/luajit-2.0/lua.h
LUAINC=-I/usr/local/include/luajit-2.0