From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Zick Date: Wed, 30 Jul 2014 12:31:56 -0500 Subject: [Buildroot] lua interpreter choice? In-Reply-To: References: Message-ID: <20140730123156.0a636f01@core2quad.morethan.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Wed, 30 Jul 2014 12:59:10 -0400 Danomi Manchego 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