lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Jun 20, 2016 at 11:45 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> Why can't it check first of all if the output "lua -v" complies with
> what is needed? And only if it isn't, start to guess under what
> name the alternative interpreter might be available?

luaposix just uses whatever luarocks passes to it: it's built using a command
that starts with `./configure LUA='$(LUA)'`, where LUA variable is
substituted by
luarocks, with a wrong value 'lua53' in this case. It should come from
`luarocks.site_config`
module that is generated on luarocks installation. Could you send its contents?
The file is with all other modules, probably in
$PREFIX/share/lua/5.3/luarocks/site_config.lua.

-- Peter Melnichenko