11-10-2018, 08:44 PM
(11-10-2018, 02:46 AM)Girbur Wrote: I am trying to follow your guide
but when I input
Code:luarocks build https://raw.githubusercontent.com/tuxd3v/ats/master/ats-0.1-6.rockspec
I got:
Error loading file: [string "/etc/luarocks/config.lua"]:6: unexpected symbol near '.'
also what is the exact apt - get install for the kernel 4.4.162 witch is the latest version I believe.
Hello Girbur,
its something you typed in "/etc/luarocks/config.lua"( probably in the process of copy & paste)
![[Image: wink.png]](https://forum.pine64.org/images/icons/wink.png)
do this:
edit file /etc/luarocks/config.lua,
and delete this section:
Code:
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 )"
}
Then, try Again..
I advise you to install the master-0 version( its more updated, than v0.1.6, and its stable ).
For that, type only this( after delete the section above ):
Code:
luarocks build https://raw.githubusercontent.com/tuxd3v/ats/master/ats-master-0.rockspec
Does you Succeded?
Regards