[asterisk-users] Installing LUA

John A. Sullivan III jsullivan at opensourcedevel.com
Wed Jun 17 08:38:19 CDT 2009


On Wed, 2009-06-17 at 07:49 -0400, Watkins, Bradley wrote:
> > Hello, all.  The little bit of reading I've done on lua makes me eager
> > to give it a try.  However, when I try to install it (Asterisk 1.6.1.1
> > on CentOS 5.3), it is not available in menuselect.  I have 
> > installed lua
> > and lua-devel.  I've seen very little about it in my Internet 
> > searches.
> > What else must I do so that it installs? Thanks - John
> > 
> 
> What do you see in the config.log in the asterisk source directory with
> respect to lua (say, the output of 'grep -i lua config.log)?
> 
> - Brad
<snip>
Thanks.  I see:
[compuser at pbx01 asterisk-1.6.1.0]$ grep -i lua config.log
configure:42697: checking for luaL_newstate in -llua5.1
configure:42732: gcc -o conftest -g -O2   conftest.c -llua5.1    >&5
/usr/bin/ld: cannot find -llua5.1
| char luaL_newstate ();
| return luaL_newstate ();
ac_cv_lib_lua5_1_luaL_newstate=no
LUA_DIR=''
LUA_INCLUDE=''
LUA_LIB=''
PBX_LUA='0'

When I check the installed version I see:
[compuser at pbx01 asterisk-1.6.1.0]$ rpm -q lua
lua-5.0.2-1.el5.rf

I assume this is telling me CentOS installed 5.0.2 and Asterisk is
looking for 5.1 - 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