luarocks-2.4.4 e$ ./configure
Lua interpreter not found in $PATH
You may want to use the flags --with-lua, --with-lua-bin and/or --lua-suffix. See --help.
configure failed.
luarocks-2.4.4 e$ ./configure --lua-version="5.4"
Invalid Lua version in flag --lua-version.
configure failed.
luarocks-2.4.4 e$ which lua
/usr/local/bin/lua
luarocks-2.4.4 e$ ./configure --with-lua=/usr/local/bin/lua
Lua interpreter not found in /usr/local/bin/lua/bin
You may want to use the flags --with-lua, --with-lua-bin and/or --lua-suffix. See --help.
configure failed.
luarocks-2.4.4 e$ /usr/local/bin/lua
Lua 5.4.0 Copyright (C) 1994-2018 Lua.org, PUC-Rio
>