On 22 July 2013 00:30, Adi & Amit Gamliel <aaga...@gmail.com> wrote: > Hello, > I'm running luarocks on OpenWrt Linux, with Lua v5.1.4-8 installed. > When I run "luarocks" or "luarocks --help" on the command line, it runs and > shows the help. > But when I try to install any rock (in this example "copas") it gives me the > following error: > ------------------------------------------------------------ > root@OpenWrt:~# luarocks install copas > > Error: LuaRocks 2.0.13 bug (please report at > luarocks-developers@lists.sourceforge.net). > attempt to compare two table values > stack traceback: > [C]: in function 'sort' > /usr/local/share/lua/5.1/luarocks/search.lua:247: in function > </usr/local/share/lua/5.1/luarocks/search.lua:239> > (tail call): ? > /usr/local/share/lua/5.1/luarocks/install.lua:135: in function > </usr/local/share/lua/5.1/luarocks/install.lua:118> > (tail call): ? > [C]: in function 'xpcall' > /usr/local/share/lua/5.1//luarocks/command_line.lua:154: in function > 'run_command' > /usr/local/bin/luarocks:26: in main chunk > [C]: ? > root@OpenWrt:~# > ------------------------------------------------------------------------------------- > > I also tried specifying a version to be installed, but that failed too later > on... > Is there a workaround this? > I currently only have Lua 5.1 installed, and would rather stay with that > version for now. Is this a problem?
I couldn't find the bug from the backtrace looking at the codebase from 2.0.13. Could you try version 2.1.0-rc2 ( http://luarocks.org/releases/luarocks-2.1.0-rc2.tar.gz ) and inform us if the bug persists? Running Lua 5.1 shouldn't be a problem. Thank you, -- Hisham http://hisham.hm/ ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers