[asterisk-dev] Compiling Asterisk with LUA

Watkins, Bradley Bradley.Watkins at compuware.com
Tue Apr 21 18:22:13 CDT 2009


> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com 
> [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of 
> Tilghman Lesher
> Sent: Tuesday, April 14, 2009 10:28 AM
> To: Asterisk Developers Mailing List
> Subject: Re: [asterisk-dev] Compiling Asterisk with LUA
> 
> On Tuesday 14 April 2009 06:25:42 Lahav Savir wrote:
> > Thank you for the response, my comments embedded.
> 
> Please try the following patch.  This should search for the 
> library in the
> particular place that SuSE seems to put it (different from 
> other platforms).

Having recently had the same issue, I went ahead and tried this patch on
my system (Fedora 9).  It seems to locate the lua library now, at least,
but it's failing to find a whole bunch of math libraries.

It seems you need to link in the system math libraries, as per:
http://lua-users.org/lists/lua-l/2009-01/msg00157.html

I did this by hacking it into the configure script, and sure enough that
seems to work.  I won't pretend to be even vaguely familiar with
configure scripts, so I've no clue the correct fix other than this.

It would be great if this and a proper fix for the math library issue
could be committed.

Thanks,
- Brad



More information about the asterisk-dev mailing list