[Buildroot] lua interpreter choice?

Mike Zick minimod at morethan.org
Wed Jul 30 17:31:56 UTC 2014


On Wed, 30 Jul 2014 12:59:10 -0400
Danomi Manchego <danomimanchego123 at gmail.com> wrote:

> All,
> 
> With older buildroot releases, I was able to have lua and luajit side
> by side.  After upgrading, I can *still* select both in the
> menuconfig, but compiling give me:
> 
> 'package/luajit/luajit.mk:75: *** Configuration error: both "luajit"
> and "lua" are selected as providers for virtual package
> "luainterpreter". Only one provider can be selected at a time. Please
> fix your configuration.  Stop.'
> 
> I'm okay (I think) with disabling lua, as I don't *think* I need the
> lighttpd "Lua support" option, which was forcing lua to be on.  If the
> build will not allow both to be on then I'm wondering if, just as
> libjpeg and jpeg-turbo are values for the "jpeg support" choice, if
> the lua/luajit selection should be a choice rather than two separately
> selectable packages?
> 

If using Lua 5.2 version code, you only need LuaJit, LuaJit-2.0.3 runs
Lua 5.2 code.

If using Lua 5.3 version code, then you need Lua-5.3 or Lua-5.2
compatability changes to your Lua 5.3 code.

I am not sure just how that relationship is handled in Buildroot.

Mike
> Danomi -
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



More information about the buildroot mailing list