Usising GhostBSD 25.02.
When building a "rock" I get the following error.
sudo luarocks54 install luafilesystem
luafilesystem 1.8.0-1 depends on lua >= 5.1 (5.4-1 provided by VM: success)
cc -O2 -fPIC -I/usr/local/include/lua54 -c src/lfs.c -o src/lfs.o
src/lfs.c:41:10: fatal error: 'errno.h' file not found
41 | #include <errno.h>
| ~~~~~
1 error generated.
Error: Build error: Failed compiling object src/lfs.o
This does not occur using "vanilla" FreeBSD 14.x or Linux or MacOS. Does "GhostBSD" alter the PATH environment? Has any one else seen a similar error?
Let me know if additional information would help.
Thanks.