[sr-dev] building app_lua module fails in debian jessie

Daniel-Constantin Mierla miconda at gmail.com
Mon May 4 09:15:10 CEST 2015


Hello,

is there any lua-config or pkg-config installed?

Cheers,
Daniel

On 03/05/15 13:13, Juha Heinanen wrote:
> i tried to build kamailio from latest master on debian jessie, but
> building app_lua module failed:
>
> ls: cannot access /usr/local/lib/liblua*: No such file or directory
> ls: cannot access /usr/local/lib/liblua*: No such file or directory
> ls: cannot access /usr/local/lib/liblua*: No such file or directory
> ls: cannot access /usr/local/lib/liblua*: No such file or directory
> CC (cc) [M app_lua.so]		app_lua_mod.o
> In file included from app_lua_mod.c:35:0:
> app_lua_api.h:27:17: fatal error: lua.h: No such file or directory
>  #include <lua.h>
>                  ^
> compilation terminated.
> ../../Makefile.rules:97: recipe for target 'app_lua_mod.o' failed
>
> in debian jessie, lua.h is in /usr/include/lua5.1 and the libs are
> installed like this (amd64 arch):
>
> $ dpkg -L liblua5.1-0
> /.
> /usr
> /usr/lib
> /usr/lib/x86_64-linux-gnu
> /usr/lib/x86_64-linux-gnu/liblua5.1-c++.so.0.0.0
> /usr/lib/x86_64-linux-gnu/liblua5.1.so.0.0.0
> /usr/share
> /usr/share/doc
> /usr/share/doc/liblua5.1-0
> /usr/share/doc/liblua5.1-0/copyright
> /usr/share/doc/liblua5.1-0/README.Debian.gz
> /usr/share/doc/liblua5.1-0/changelog.Debian.gz
> /usr/share/doc/liblua5.1-0/changelog.gz
> /usr/lib/x86_64-linux-gnu/liblua5.1.so.0
> /usr/lib/x86_64-linux-gnu/liblua5.1-c++.so.0
>
> i noticed that there was some major changes in the Makefile 22 days ago,
> which may have caused this. earlier i have had no trouble with app_lua
> build in this environment.
>
> -- juha
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com




More information about the sr-dev mailing list