<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Oh, that's encouraging.<br>
The problem is that luarocks needs to know where the lua
installation is.<br>
I was wondering about installing an independent lua (eg. via
apt-get) and then keeping the Freeswitch installation of lua a
secret from luarocks.<br>
Maybe will give that a go...<br>
</div>
<blockquote
cite="mid:CAMf7LBho_Vi5yPbu=P96KWvsyRnrzjF=wgbMV7M-r2GHZ+7-vg@mail.gmail.com"
type="cite">Luarocks is a package management system for lua, for
instance you can use luarocks to install luasql-postgres :
<div>luarocks install luasql-postgres</div>
<div><br>
</div>
<div>Then on your lua scripts you build on FreeSWITCH, you can
use/include those libraries.</div>
<div>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 :</div>
<div><br>
</div>
<div>That's what I have at the moment with Ubuntu 12.04 :</div>
<div>
<div> <param name="module-directory"
value="/usr/lib/x86_64-linux-gnu/?.so"/></div>
<div> <param name="module-directory"
value="/usr/lib/x86_64-linux-gnu/lua/5.1/?.so"/></div>
<div> <param name="module-directory"
value="/usr/lib/x86_64-linux-gnu/lua/5.1/luasql/?.so"/></div>
<div> <param name="module-directory"
value="/usr/lib/i386-linux-gnu/lua/5.1/?.so"/></div>
<div> <param name="module-directory"
value="/usr/local/lib/lua/5.1/?.so"/></div>
</div>
<div><br>
</div>
<div><br>
<br>
<div class="gmail_quote">On Thu, Jun 13, 2013 at 2:42 PM, Alex
Lake <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:alex@digitalmail.com" target="_blank">alex@digitalmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">I was
wondering about how one might use luarocks with the lua used
by<br>
Freeswitch - is this possible? Can't see much of help in the
wiki, but<br>
if I find out, will pay the tax! ;-)<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Kind regards,<br>
/Areski<br>
<br>
----<br>
Arezqui Belaid, <<a moz-do-not-send="true"
href="mailto:areski@gmail.com" target="_blank">areski@gmail.com</a>><br>
Founder at Star2Billing (<a moz-do-not-send="true"
href="http://www.star2billing.com" target="_blank">www.star2billing.com</a>)<br>
<br>
Tel: +34650784355<br>
Twitter: <a moz-do-not-send="true"
href="http://twitter.com/areskib" target="_blank">http://twitter.com/areskib</a>
<br>
LinkedIn: <a moz-do-not-send="true"
href="http://www.linkedin.com/in/areski" target="_blank">http://www.linkedin.com/in/areski</a>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<p class="" avgcert""="" color="#000000" align="left">No virus
found in this message.<br>
Checked by AVG - <a moz-do-not-send="true"
href="http://www.avg.com">www.avg.com</a><br>
Version: 2012.0.2242 / Virus Database: 3199/5906 - Release Date:
06/12/13</p>
</blockquote>
<br>
</body>
</html>