Hello. I have a problem compiling asterisk 1.6.1.5. Here is what i get: [CC] pbx_dundi.c -> pbx_dundi.o [CC] dundi-parser.c -> dundi-parser.o [LD] pbx_dundi.o dundi-parser.o -> pbx_dundi.so [CC] pbx_loopback.c -> pbx_loopback.o [LD] pbx_loopback.o -> pbx_loopback.so [CC] pbx_lua.c -> pbx_lua.o pbx_lua.c:45:24: error: lua5.1/lua.h: No such file or directory pbx_lua.c:46:28: error: lua5.1/lauxlib.h: No such file or directory pbx_lua.c:47:27: error: lua5.1/lualib.h: No such file or directory pbx_lua.c:55: error: expected ')' before '*' token lua.h is installed in /usr/include. There is no lua5.1 subdirectory on my system. best regards t. Reproducible: Always
(In reply to comment #0) Hi! Having some trouble compiling this version myself. What version of lua is installed on your system? Regards Oskar
(In reply to comment #0) I found that i had the exact same problem as You were having so i made this little patch and revised the ebuild. It solved the problem for me and it compiled like a charm!
Created attachment 203093 [details, diff] A patch fixing the party pooper with incorrect location of lua headers on Gentoo
Created attachment 203094 [details] ... and the revised ebuild applying the patch...
+*asterisk-1.6.1.6 (04 Sep 2009) + + 04 Sep 2009; <chainsaw@gentoo.org> -asterisk-1.6.1.0.ebuild, + -asterisk-1.6.1.1.ebuild, -asterisk-1.6.1.1-r1.ebuild, + -asterisk-1.6.1.4.ebuild, -asterisk-1.6.1.5.ebuild, + +asterisk-1.6.1.6.ebuild, + +files/1.6.1/asterisk-1.6.1.6-lua-includes.patch: + Version bump, security fix for IAX2 denial of service (AST-2009-006). + Patch by Oskar Ellström to cope with non-standard LUA header location + closes bug #283231 by Thomas Stein. Removing vulnerable 1.6 series + ebuilds.