Closed diamond-lizard closed 1 year ago
how exactly is the system supposed to know the location of the libffi headers if they're in a non-standard path? install your libffi properly, so that headers reside in /usr/include
, or specify the incdir manually, or don't use luarocks
This is where portage, the Gentoo package manager installed the headers.
So it looks like there is an incompatibility between the luarocks cffi-package and Gentoo.
Per your recommendation, I will try installing cffi-lua from outside of luarocks.
Thank you for your help.
Since I couldn't get
luarocks install --local cffi-lua
to work (see Issue 3), I tried:and then get an error about
ffi.h
not being found (see full log below), despite me having libffi installed andffi.h
residing in/usr/lib64/libffi-3.2.1/include/ffi.h
.I'm this build on amd64 Gentoo Linux.
Here's the full build log: