[asterisk-users] Installing LUA

John A. Sullivan III jsullivan at opensourcedevel.com
Wed Jun 17 14:55:55 CDT 2009


On Wed, 2009-06-17 at 14:18 -0500, Tilghman Lesher wrote:
> 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
> 
Alas, the patch fails completely.  The configure revision numbers look
very different.  I am using the 1.6.1.1 tarball.  I copied the patch
into the source directory (asterisk-1.6.1.1) and ran patch -p0 <
20090617__luafix.diff.txt.  It was a long list of failed hunks.  What
next? Thanks - John
-- 
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan at opensourcedevel.com

http://www.spiritualoutreach.com
Making Christianity intelligible to secular society




More information about the asterisk-users mailing list