[Freeswitch-users] Freeswitch and luarocks

Chad Phillips chad at apartmentlines.com
Thu Jun 13 23:11:18 MSD 2013


I've used luarocks successfully with FreeSWITCH. Pretty sure it only needs Lua installed for it's own runtime. 

Chad 


On Thursday, June 13, 2013 at 10:14 AM, Alex Lake wrote:

> Oh, that's encouraging.
> The problem is that luarocks needs to know where the lua installation is.
> I was wondering about installing an independent lua (eg. via apt-get) and then keeping the Freeswitch installation of lua a secret from luarocks.
> Maybe will give that a go...
> > Luarocks is a package management system for lua, for instance you can use luarocks to install luasql-postgres : 
> > luarocks install luasql-postgres
> > 
> > Then on your lua scripts you build on FreeSWITCH, you can use/include those libraries. 
> > You only have to make sure to configure your lua.conf.xml and set module-directory to where the packages are installed on your distribution :
> > 
> > That's what I have at the moment with Ubuntu 12.04 : 
> >     <param name="module-directory" value="/usr/lib/x86_64-linux-gnu/?.so"/>
> >     <param name="module-directory" value="/usr/lib/x86_64-linux-gnu/lua/5.1/?.so"/>
> >     <param name="module-directory" value="/usr/lib/x86_64-linux-gnu/lua/5.1/luasql/?.so"/>
> >     <param name="module-directory" value="/usr/lib/i386-linux-gnu/lua/5.1/?.so"/>
> >     <param name="module-directory" value="/usr/local/lib/lua/5.1/?.so"/>
> > 
> > 
> > 
> > 
> > On Thu, Jun 13, 2013 at 2:42 PM, Alex Lake <alex at digitalmail.com (mailto:alex at digitalmail.com)> wrote:
> > > I was wondering about how one might use luarocks with the lua used by
> > > Freeswitch - is this possible? Can't see much of help in the wiki, but
> > > if I find out, will pay the tax! ;-)
> > > 
> > > _________________________________________________________________________
> > > Professional FreeSWITCH Consulting Services:
> > > consulting at freeswitch.org (mailto:consulting at freeswitch.org)
> > > http://www.freeswitchsolutions.com
> > > 
> > > 
> > > 
> > > 
> > > Official FreeSWITCH Sites
> > > http://www.freeswitch.org
> > > http://wiki.freeswitch.org
> > > http://www.cluecon.com
> > > 
> > > FreeSWITCH-users mailing list
> > > FreeSWITCH-users at lists.freeswitch.org (mailto: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
> > 
> > 
> > 
> > -- 
> > Kind regards,
> > /Areski
> > 
> > ----
> > Arezqui Belaid, <areski at gmail.com (mailto:areski at gmail.com)>
> > Founder at Star2Billing (www.star2billing.com (http://www.star2billing.com))
> > 
> > Tel: +34650784355
> > Twitter: http://twitter.com/areskib 
> > LinkedIn: http://www.linkedin.com/in/areski 
> > 
> > _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org (mailto:consulting at freeswitch.org) http://www.freeswitchsolutions.com   Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org (mailto: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 
> > 
> > No virus found in this message.
> > Checked by AVG - www.avg.com (http://www.avg.com)
> > Version: 2012.0.2242 / Virus Database: 3199/5906 - Release Date: 06/12/13 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org (mailto:consulting at freeswitch.org)
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org (mailto: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/20130613/17f470fb/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list