[asterisk-users] Installing LUA

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Jun 17 15:43:01 CDT 2009


On Wednesday 17 June 2009 14:55:55 John A. Sullivan III wrote:
> 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

The patch is actually derived from the current 1.6.1 SVN source, so any
changes made since 1.6.1.1 was branched are the difference.  Updated patch:
http://asterisk.drunkcoder.com/patches/20090617__luafix__1.6.1.1.diff.txt

-- 
Tilghman



More information about the asterisk-users mailing list