Hi all,
I am trying to install LUA packet through luarocks but it complains about not finding lua.h:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
myself@myhost:~# sudo luarocks install http
Installing https://luarocks.org/http-0.3-0.src.rock
Missing dependencies for http 0.3-0:
compat53 >= 0.3 (not installed)
cqueues >= 20161214 (not installed)
luaossl >= 20161208 (not installed)
basexx >= 0.2.0 (not installed)
lpeg (not installed)
lpeg_patterns >= 0.5 (not installed)
binaryheap >= 0.3 (not installed)
fifo (not installed)
http 0.3-0 depends on compat53 >= 0.3 (not installed)
Installing https://luarocks.org/compat53-0.7-1.src.rock
gcc -O2 -fPIC -I/usr/include/lua5.3 -c lutf8lib.c -o lutf8lib.o
In file included from lprefix.h:46,
from lutf8lib.c:10:
c-api/compat-5.3.h:10:10: fatal error: lua.h: No such file or directory
#include <lua.h>
^~~~~~~
compilation terminated.
Error: Failed installing dependency: https://luarocks.org/compat53-0.7-1.src.rock - Build error: Failed compiling object lutf8lib.o
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lua.h is actually there:
myself@myhost::~# sudo find / -name lua.h
/usr/include/lua5.1/lua.h
But I guess it is not in the expected location. Anyone has any idea where I should look next?
Thanks!
I am trying to install LUA packet through luarocks but it complains about not finding lua.h:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
myself@myhost:~# sudo luarocks install http
Installing https://luarocks.org/http-0.3-0.src.rock
Missing dependencies for http 0.3-0:
compat53 >= 0.3 (not installed)
cqueues >= 20161214 (not installed)
luaossl >= 20161208 (not installed)
basexx >= 0.2.0 (not installed)
lpeg (not installed)
lpeg_patterns >= 0.5 (not installed)
binaryheap >= 0.3 (not installed)
fifo (not installed)
http 0.3-0 depends on compat53 >= 0.3 (not installed)
Installing https://luarocks.org/compat53-0.7-1.src.rock
gcc -O2 -fPIC -I/usr/include/lua5.3 -c lutf8lib.c -o lutf8lib.o
In file included from lprefix.h:46,
from lutf8lib.c:10:
c-api/compat-5.3.h:10:10: fatal error: lua.h: No such file or directory
#include <lua.h>
^~~~~~~
compilation terminated.
Error: Failed installing dependency: https://luarocks.org/compat53-0.7-1.src.rock - Build error: Failed compiling object lutf8lib.o
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lua.h is actually there:
myself@myhost::~# sudo find / -name lua.h
/usr/include/lua5.1/lua.h
But I guess it is not in the expected location. Anyone has any idea where I should look next?
Thanks!