On Wed, Feb 26, 2014 at 05:25:36PM -0300, Hisham wrote:
> On 26 February 2014 16:19, Peter Colberg <pe...@colberg.org> wrote:
> > Dear Hisham,
> >
> > Could luarocks/configure support an option --with-lua-interpreter=PATH
> > to specify the path to the interpreter upon installation?
> >
> > Currently, on a system that has luajit only, configure fails since it
> > uses a hard-coded interpreter name (lua5.1 or lua5.2).
> 
> Doesn't --lua-suffix=jit do the trick? I think I've seen others doing
> it here on the list.

Perfect, thanks!

The following command configures LUA_INTERPRETER as luajit:

./configure --lua-suffix=jit --with-lua=$(LUAJIT_INSTALL_DIR) 
--with-lua-include=$(LUAJIT_INSTALL_DIR)/include/luajit-2.0

Peter

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to