恩,那看来还是得编译一次lua,然后再用luajit
On 3月28日, 下午4时14分, agentzh <agen...@gmail.com> wrote:
> On Wed, Mar 28, 2012 at 3:58 PM, Wendal Chen <wendal1...@gmail.com> wrote:
>
> > 3:58 PM Wendal: 请教一个问题, ngx_openresty中的luajit, 编译的时候,一定要先安装lua的吗? 我试了很多次了,
> > 发现得先安装标准的lua,否则编译时保存.
>
> ngx_openresty 已经同时包含了 LuaJIT 2.0 和标准 Lua 5.1.4 这两个组件的源代码。默认时它会使用标准
> Lua;如果 ./configure 时指定了 --with-luajit 选项,则会使用 LuaJIT 2.0.
>
> 如果使用 ngx_openresty 软件包的话,一般并不需要自行安装 LuaJIT 或者 Lua.
>
> Regards,
> -agentzh
>
> P.S. 我顺便抄送了 openresty
> 邮件组,这样其他人也有机会看到。欢迎加入这个邮件组:https://groups.google.com/group/openresty