mikejsavage / lua-fcgi

A Lua module for writing FastCGI applications
18 stars 2 forks source link

Header issue on Debian #5

Open y0shir opened 7 months ago

y0shir commented 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.

mikejsavage commented 7 months ago

You can either build with make LUA_INCDIR=/usr/include/lua5.1 LUA_LIBDIR=..., or use Luarocks which does that for you