[asterisk-users] Installing LUA

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Jun 17 14:18:31 CDT 2009


On Wednesday 17 June 2009 11:56:28 John A. Sullivan III wrote:
> On Wed, 2009-06-17 at 12:44 -0400, Sean Bright wrote:
> > Watkins, Bradley wrote:
> > > One more bit of magic necessary here, as pbx/pbx_lua.c has includes
> > > for: #include <lua5.1/lua.h>
> > > #include <lua5.1/lauxlib.h>
> > > #include <lua5.1/lualib.h>
> > >
> > > On Redhat-based systems, it needs to be:
> > > #include <lua.h>
> > > #include <lauxlib.h>
> > > #include <lualib.h>
> >
> > Gah.  OK.  So the patch I supplied will find LUA at configure time but
> > not compile time.  This needs some more thought.
>
> Oops! Confirmed.  menuselect found it but make failed.  I'll make the
> edits by hand and let you know how I fared - John

Try this patch:
http://asterisk.drunkcoder.com/patches/20090617__luafix.diff.txt

-- 
Tilghman



More information about the asterisk-users mailing list