[Freeswitch-users] LUA and LUASQL Install
Aloysius Lloyd
lloyd.aloysius at gmail.com
Sun Mar 14 21:36:59 PDT 2010
Thank you for the suggestion. Now FreeSWITCH , Lua , LuaSQL (ODBC)
working great.
On Sun, Mar 14, 2010 at 4:59 PM, Nazim Agabekov <nazim.agabekov at gmail.com>wrote:
> I would not use luasql with mysql driver because it leaks memory. Luasql
> odbc is better choice for production.
> What kind of errors do you have? If you installing luasql.odbc please make
> sure you have unix-odbc development packages.
>
> Nazim
>
>
>
>
>
> On 03/14/2010 11:46 PM, Aloysius Lloyd wrote:
>
> I am trying to install Luasql. Lots of make errors.Here is the steps I
> follow
>
> wget http://luaforge.net/frs/download.php/2686/luasql-2.1.1.tar.gz
> tar xfvz luasql-2.1.1.tar.gz
> cd luasql-2.1.1/
> vi config
>
> uncomment the mysql
> enable mysql and change the mysql lib and include directory path.
>
>
> How to install LuaSql in CentOS 5.4?
>
> What is the best way to access mysql from Lua?
> odbc or natvie?
>
> Thanks
> Lloyd
>
>
> On Sun, Mar 14, 2010 at 2:49 PM, Aloysius Lloyd <lloyd.aloysius at gmail.com>wrote:
>
>> Nazim & Spencer , thank you.
>>
>> readline development package install solved the problem. Here is the Lua
>> install on CentOS 5.4
>>
>> yum install readline-devel
>> wget http://www.lua.org/ftp/lua-5.1.4.tar.gz
>> tar zxf lua-5.1.4.tar.gz
>> cd lua-5.1.4
>> make linux
>> make linux install
>>
>> Thanks
>> Lloyd
>>
>>
>>
>> On Sun, Mar 14, 2010 at 2:40 PM, Spencer Thomason <
>> spencer at 5ninesolutions.com> wrote:
>>
>>> I have Centos RPMS and source RPMS for lua 5.1.4 at
>>> http://repo.5ninesolutions.com
>>> --
>>> *Spencer Thomason*
>>> 5Nine Solutions LLC
>>> e. sales at 5ninesolutions.com <spencer at 5ninesolutions.com>
>>> p. +1.888.271.7959
>>> f. +1.310.510.6980
>>>
>>> <http://www.5ninesolutions.com/>
>>>
>>> On Mar 14, 2010, at 11:26 AM, Aloysius Lloyd wrote:
>>>
>>> Hi All,
>>>
>>> Can some one help me to install Lua .
>>>
>>> OS: CentOS 5.4
>>>
>>>
>>> wget http://www.lua.org/ftp/lua-5.1.4.tar.gz
>>> tar zxf lua-5.1.4.tar.gz
>>> cd lua-5.1.4
>>> make linux
>>>
>>> But getting error when running *make linux *
>>> *
>>> *
>>> *Here is the Output*
>>>
>>> In file included from lua.h:16,
>>> from lua.c:15:
>>> luaconf.h:275:31: error: readline/readline.h: No such file or directory
>>> luaconf.h:276:30: error: readline/history.h: No such file or directory
>>> lua.c: In function âpushlineâ:
>>> lua.c:182: warning: implicit declaration of function âreadlineâ
>>> lua.c:182: warning: assignment makes pointer from integer without a cast
>>> lua.c: In function âloadlineâ:
>>> lua.c:210: warning: implicit declaration of function âadd_historyâ
>>> make[2]: *** [lua.o] Error 1
>>> make[2]: Leaving directory `/usr/src/lua-5.1.4/src'
>>> make[1]: *** [linux] Error 2
>>> make[1]: Leaving directory `/usr/src/lua-5.1.4/src'
>>> make: *** [linux] Error 2
>>>
>>>
>>> Thank you in advance.
>>>
>>>
>>> Thanks,
>>> Lloyd
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>
> _______________________________________________
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/d3ade910/attachment-0002.html
More information about the FreeSWITCH-users
mailing list