Open
Description
I’ve tried to install lfs via luarocks but received the following error.
admin@ubuntu2004:~/Documents$ sudo luarocks install luafilesystem
Installing https://luarocks.org/luafilesystem-1.8.0-1.src.rock
gcc -O2 -fPIC -I/usr/include/lua5.3 -c src/lfs.c -o src/lfs.o
In file included from /usr/include/errno.h:25,
from src/lfs.c:41:
/usr/include/features.h:461:12: fatal error: sys/cdefs.h: No such file or directory
461 | # include <sys/cdefs.h>
| ^~~~~~~~~~~~~
compilation terminated.
Error: Build error: Failed compiling object src/lfs.o
Other information that might help.
admin@ubuntu2004:~/Documents$ lua -v
Lua 5.3.3 Copyright (C) 1994-2016 Lua.org, PUC-Rio
admin@ubuntu2004:~/Documents$ luarocks
LuaRocks 2.4.2, a module deployment system for Lua
Metadata
Assignees
Labels
No labels