Hi,

Yesterday I successfully compiled and installed Lua 5.2.2, LuaRocks
2.1.1 and then ran "luarocks install LPeg" to install LPeg 0.12.
Everything worked as expected.

Today I compiled lua-5.3.0-work1, and then installed LuaRocks 2.1.1.

LuaRocks appears to have detected the Lua version as 5.1, not 5.3.
Lua 5.1 is not installed on my system.  LuaRocks installed:

bin/luarocks-5.1
bin/luarocks-admin-5.1
etc/luarocks/config-5.1.lua
share/lua/5.1/luarocks/...

When I run "luarocks install LPeg", installation succeeds.  The
following are installed:

share/lua/5.3/re.lua
lib/lua/5.3/lpeg.so

However, there is an error trying to require 're'.

$ lua
Lua 5.3.0 (work1)  Copyright (C) 1994-2013 Lua.org, PUC-Rio
> require 're'
error loading module 'lpeg' from file
'/usr/local/bake/package/luarocks/2.1.1/lib/lua/5.3/lpeg.so':
        /usr/local/bake/package/luarocks/2.1.1/lib/lua/5.3/lpeg.so:
undefined symbol: lua_equal
stack traceback:
        [C]: in ?
        [C]: in function 'require'
        /usr/local/bake/package/luarocks/2.1.1/share/lua/5.3/re.lua:6:
in main chunk
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: in ?
>

I'm not sure if this is a bug in LuaRocks, in Lua 5.3.0-work1, or if I
am doing something wrong.  (But everything worked with Lua 5.2.2.)

Thanks!

-Parke

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&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