11-20-2018, 03:31 PM
(11-20-2018, 03:26 PM)tuxd3v Wrote:(11-20-2018, 11:17 AM)Drago Wrote: I can't get this to install for the life of me.
Installed dependencies, created symlink, then:
Code:cat <</usr/bin/lua5.3 >> /etc/luarocks/config.lua
> variables = {
> UNISTD_INCDIR = "/usr/include",
> STAT_INCDIR = "/usr/include/$( gcc -dumpmachine )",
> TYPES_INCDIR = "/usr/include/$( gcc -dumpmachine )",
> LUALIB_INCDIR = "/usr/include/lua5.3",
> LAUXLIB_INCDIR = "/usr/include/lua5.3",
> LUA_INCDIR = "/usr/include/lua5.3",
> LUA53_LIBDIR = "/usr/lib/$( gcc -dumpmachine )"
> }
> /usr/bin/lua5.3
I'm not sure what I'm doing wrong, could someone help?
Hello Drago,
when you issue:
Code:cat <<HERE >> /etc/luarocks/config.lua
variables = {
UNISTD_INCDIR = "/usr/include",
STAT_INCDIR = "/usr/include/$( gcc -dumpmachine )",
TYPES_INCDIR = "/usr/include/$( gcc -dumpmachine )",
LUALIB_INCDIR = "/usr/include/lua5.3",
LAUXLIB_INCDIR = "/usr/include/lua5.3",
LUA_INCDIR = "/usr/include/lua5.3",
LUA53_LIBDIR = "/usr/lib/$( gcc -dumpmachine )"
}
HERE
You need to press enter after![]()
If you don't succeed, then try the master version:
Code:luarocks build https://raw.githubusercontent.com/tuxd3v/ats/master/ats-master-0.rockspec
It will be the next stable version..
I tried installing the master version and still no luck.