Open y0shir opened 7 months ago
Package liblua5.1-0-dev provides lua.h not in /usr/include but in/usr/include/lua5.1. Thus there is a need to patch source code before compiling.
liblua5.1-0-dev
lua.h
/usr/include
/usr/include/lua5.1
You can either build with make LUA_INCDIR=/usr/include/lua5.1 LUA_LIBDIR=..., or use Luarocks which does that for you
make LUA_INCDIR=/usr/include/lua5.1 LUA_LIBDIR=...
Package
liblua5.1-0-dev
provideslua.h
not in/usr/include
but in/usr/include/lua5.1
. Thus there is a need to patch source code before compiling.