Re: [asterisk-users] Installing LUA

2009-06-18 Thread Tilghman Lesher
On Wednesday 17 June 2009 16:54:53 John A. Sullivan III wrote: On Wed, 2009-06-17 at 15:43 -0500, Tilghman Lesher wrote: 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.

Re: [asterisk-users] Installing LUA

2009-06-18 Thread John A. Sullivan III
On Thu, 2009-06-18 at 14:20 -0500, Tilghman Lesher wrote: On Wednesday 17 June 2009 16:54:53 John A. Sullivan III wrote: On Wed, 2009-06-17 at 15:43 -0500, Tilghman Lesher wrote: On Wednesday 17 June 2009 14:55:55 John A. Sullivan III wrote: On Wed, 2009-06-17 at 14:18 -0500, Tilghman

Re: [asterisk-users] Installing LUA

2009-06-17 Thread Watkins, Bradley
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.

Re: [asterisk-users] Installing LUA

2009-06-17 Thread John A. Sullivan III
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

Re: [asterisk-users] Installing LUA

2009-06-17 Thread Tilghman Lesher
On Wednesday 17 June 2009 08:38:19 John A. Sullivan III wrote: 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

Re: [asterisk-users] Installing LUA

2009-06-17 Thread John A. Sullivan III
On Wed, 2009-06-17 at 09:01 -0500, Tilghman Lesher wrote: On Wednesday 17 June 2009 08:38:19 John A. Sullivan III wrote: 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

Re: [asterisk-users] Installing LUA

2009-06-17 Thread Danny Nicholas
, 2009 9:43 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Installing LUA On Wed, 2009-06-17 at 09:01 -0500, Tilghman Lesher wrote: On Wednesday 17 June 2009 08:38:19 John A. Sullivan III wrote: On Wed, 2009-06-17 at 07:49 -0400, Watkins, Bradley wrote

Re: [asterisk-users] Installing LUA

2009-06-17 Thread John A. Sullivan III
On Wed, 2009-06-17 at 09:57 -0500, Danny Nicholas wrote: In the makeopts file change LUA_INCLUDE= To LUA_INCLUDE=-I/usr/include And do make again. This should fix it. snip Argh! alas it did not fix it: LUA_INCLUDE=-I/usr/include configure:42697: checking for luaL_newstate in -llua5.1

Re: [asterisk-users] Installing LUA

2009-06-17 Thread Sean Bright
John A. Sullivan III wrote: Argh! alas it did not fix it: Looks like a problem with how the various distros are packaging and installing it. I've created a patch to configure that should find it on your system, give it a whirl: $ cd path/to/asterisk-src/ $ wget -O -

Re: [asterisk-users] Installing LUA

2009-06-17 Thread John A. Sullivan III
On Wed, 2009-06-17 at 11:42 -0400, Sean Bright wrote: John A. Sullivan III wrote: Argh! alas it did not fix it: Looks like a problem with how the various distros are packaging and installing it. I've created a patch to configure that should find it on your system, give it a whirl: $

Re: [asterisk-users] Installing LUA

2009-06-17 Thread Watkins, Bradley
Wow! Definitely a non-trivial patch. Alas, it does not work but the errors are different: [compu...@pbx01 asterisk-1.6.1.1]$ grep -i lua config.log configure:42697: checking for luaL_newstate in -llua5.1 configure:42732: gcc -o conftest -g -O2 conftest.c -llua5.15 /usr/bin/ld:

Re: [asterisk-users] Installing LUA

2009-06-17 Thread Watkins, Bradley
My guess is that when running the compile test ( This line: 'configure:42995: gcc -o conftest -g -O2 conftest.c -llua-5.15' ) it is necessary to add '-lm' in order to link in the standard math library. - Brad One more bit of magic necessary here, as pbx/pbx_lua.c has includes

Re: [asterisk-users] Installing LUA

2009-06-17 Thread Sean Bright
John A. Sullivan III wrote: Wow! Definitely a non-trivial patch. Alas, it does not work but the errors are different: I've updated the patch to take into account your feedback as well as Bradley's. You'll need to revert the previous patch (this will probably involve unrolling a fresh 1.6.1.1

Re: [asterisk-users] Installing LUA

2009-06-17 Thread Sean Bright
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

Re: [asterisk-users] Installing LUA

2009-06-17 Thread John A. Sullivan III
On Wed, 2009-06-17 at 12:37 -0400, Sean Bright wrote: John A. Sullivan III wrote: Wow! Definitely a non-trivial patch. Alas, it does not work but the errors are different: I've updated the patch to take into account your feedback as well as Bradley's. You'll need to revert the

Re: [asterisk-users] Installing LUA

2009-06-17 Thread John A. Sullivan III
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

Re: [asterisk-users] Installing LUA

2009-06-17 Thread John A. Sullivan III
On Wed, 2009-06-17 at 12:56 -0400, 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

Re: [asterisk-users] Installing LUA

2009-06-17 Thread John A. Sullivan III
On Wed, 2009-06-17 at 13:05 -0400, John A. Sullivan III wrote: On Wed, 2009-06-17 at 12:56 -0400, 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:

Re: [asterisk-users] Installing LUA

2009-06-17 Thread Watkins, Bradley
That worked. The system is still in enough of a test phase that I can destroy it again and rebuild it if you'd like to send me a new version of the patch. Thanks - John ARGH Not so good. Asterisk now segfaults on start up :((( - John Now that is a behavior I'm not seeing,

Re: [asterisk-users] Installing LUA

2009-06-17 Thread Tilghman Lesher
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

Re: [asterisk-users] Installing LUA

2009-06-17 Thread John A. Sullivan III
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

Re: [asterisk-users] Installing LUA

2009-06-17 Thread Tilghman Lesher
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

Re: [asterisk-users] Installing LUA

2009-06-17 Thread John A. Sullivan III
On Wed, 2009-06-17 at 15:43 -0500, Tilghman Lesher wrote: 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

[asterisk-users] Installing LUA

2009-06-16 Thread John A. Sullivan III
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