When you ./configure you can specify the Lua installation to be used.
What I do is to install as many Luarocks instances as Lua versions I need to use. Then I set environment variables as needed (LUA_PATH, LUA_PATH_5_3 and so on)
------------------------------------------------------------------------------
_______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers