[OpenSIPS-Users] problem compiling lua module

johan johan at democon.be
Mon Dec 16 05:49:48 EST 2019


Hi,

the system doesn't find lua.h

make[2]: Entering directory '/usr/src/opensips-3.0/modules/lua'
Compiling sipapi.c
sipapi.c:27:17: fatal error: lua.h: No such file or directory
  #include <lua.h>
                  ^
compilation terminated.
../../Makefile.rules:25: recipe for target 'sipapi.o' failed
make[2]: *** [sipapi.o] Error 1
make[2]: Leaving directory '/usr/src/opensips-3.0/modules/lua'
Makefile:197: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/opensips-3.0'


however:

root at opensips30:/usr/include/lua# ls
lauxlib.h  luaconf.h  lua.h  lua.hpp  lualib.h


Can somebody please tell ne what I do wrong ?




More information about the Users mailing list