10-22-2018, 09:10 PM
(This post was last modified: 10-22-2018, 09:13 PM by O1Hitman1O.
Edit Reason: Update ats --test
)
So I tried to repeat everything again. Maybe you could provide some input on this error.
luarocks build https://raw.githubusercontent.com/tuxd3v...0.rockspec
Cloning into 'ats'...
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 15 (delta 1), reused 6 (delta 0), pack-reused 0
Receiving objects: 100% (15/15), 85.48 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1/1), done.
Warning: variable CFLAGS was not passed in build_variables
gcc -c -fPIC -Wall -Werror -O3 -g -I/usr/include/lua5.3 -o src/ats.o src/ats.c
gcc -shared -Wl,-soname,ats.so.0 -llua5.3 -o ats.so.0.2 src/ats.o
systemctl status ats
● ats.service - ATS - Active Thermal Service
Loaded: loaded (/lib/systemd/system/ats.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Mon 2018-10-22 20:03:42 MST; 1s ago
Process: 4927 ExecStart=/usr/sbin/ats (code=exited, status=1/FAILURE)
Main PID: 4927 (code=exited, status=1/FAILURE)
Also
ats --test
lua: /usr/sbin/ats:18: module 'ats' not found:
no field package.preload['ats']
no file '/usr/local/share/lua/5.3/ats.lua'
no file '/usr/local/share/lua/5.3/ats/init.lua'
no file '/usr/local/lib/lua/5.3/ats.lua'
no file '/usr/local/lib/lua/5.3/ats/init.lua'
no file '/usr/share/lua/5.3/ats.lua'
no file '/usr/share/lua/5.3/ats/init.lua'
no file './ats.lua'
no file './ats/init.lua'
no file '/usr/local/lib/lua/5.3/ats.so'
no file '/usr/lib/arm-linux-gnueabihf/lua/5.3/ats.so'
no file '/usr/lib/lua/5.3/ats.so'
no file '/usr/local/lib/lua/5.3/loadall.so'
no file './ats.so'
stack traceback:
[C]: in function 'require'
/usr/sbin/ats:18: in main chunk
[C]: in ?
I really appreciate all your help.
luarocks build https://raw.githubusercontent.com/tuxd3v...0.rockspec
Cloning into 'ats'...
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 15 (delta 1), reused 6 (delta 0), pack-reused 0
Receiving objects: 100% (15/15), 85.48 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1/1), done.
Warning: variable CFLAGS was not passed in build_variables
gcc -c -fPIC -Wall -Werror -O3 -g -I/usr/include/lua5.3 -o src/ats.o src/ats.c
gcc -shared -Wl,-soname,ats.so.0 -llua5.3 -o ats.so.0.2 src/ats.o
systemctl status ats
● ats.service - ATS - Active Thermal Service
Loaded: loaded (/lib/systemd/system/ats.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Mon 2018-10-22 20:03:42 MST; 1s ago
Process: 4927 ExecStart=/usr/sbin/ats (code=exited, status=1/FAILURE)
Main PID: 4927 (code=exited, status=1/FAILURE)
Also
ats --test
lua: /usr/sbin/ats:18: module 'ats' not found:
no field package.preload['ats']
no file '/usr/local/share/lua/5.3/ats.lua'
no file '/usr/local/share/lua/5.3/ats/init.lua'
no file '/usr/local/lib/lua/5.3/ats.lua'
no file '/usr/local/lib/lua/5.3/ats/init.lua'
no file '/usr/share/lua/5.3/ats.lua'
no file '/usr/share/lua/5.3/ats/init.lua'
no file './ats.lua'
no file './ats/init.lua'
no file '/usr/local/lib/lua/5.3/ats.so'
no file '/usr/lib/arm-linux-gnueabihf/lua/5.3/ats.so'
no file '/usr/lib/lua/5.3/ats.so'
no file '/usr/local/lib/lua/5.3/loadall.so'
no file './ats.so'
stack traceback:
[C]: in function 'require'
/usr/sbin/ats:18: in main chunk
[C]: in ?
I really appreciate all your help.