<div>
                    I've used luarocks successfully with FreeSWITCH. Pretty sure it only needs Lua installed for it's own runtime.
                </div><div><br></div><div>Chad</div>
                <div></div>
                 
                <p style="color: #A0A0A8;">On Thursday, June 13, 2013 at 10:14 AM, Alex Lake wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div>
   
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
   
   
    <div>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 type="cite"><div>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>&nbsp; &nbsp; &lt;param name="module-directory"
          value="/usr/lib/x86_64-linux-gnu/?.so"/&gt;</div>
        <div>&nbsp; &nbsp; &lt;param name="module-directory"
          value="/usr/lib/x86_64-linux-gnu/lua/5.1/?.so"/&gt;</div>
        <div>&nbsp; &nbsp; &lt;param name="module-directory"
          value="/usr/lib/x86_64-linux-gnu/lua/5.1/luasql/?.so"/&gt;</div>
        <div>&nbsp; &nbsp; &lt;param name="module-directory"
          value="/usr/lib/i386-linux-gnu/lua/5.1/?.so"/&gt;</div>
        <div>&nbsp; &nbsp; &lt;param name="module-directory"
          value="/usr/local/lib/lua/5.1/?.so"/&gt;</div>
      </div>
      <div><br>
      </div>
      <div><br>
        <br>
        <div>On Thu, Jun 13, 2013 at 2:42 PM, Alex
          Lake <span dir="ltr">&lt;<a moz-do-not-send="true" href="mailto:alex@digitalmail.com" target="_blank">alex@digitalmail.com</a>&gt;</span>
          wrote:<br><blockquote type="cite"><div>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>
          </div></blockquote></div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        Kind regards,<br>
        /Areski<br>
        <br>
        ----<br>
        Arezqui Belaid, &lt;<a moz-do-not-send="true" href="mailto:areski@gmail.com" target="_blank">areski@gmail.com</a>&gt;<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></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
      <br>
      <fieldset></fieldset>
      <br>
      <p 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>
    </div></blockquote><br>
   

</div><div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div><div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></div><div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></div><div><br></div><div>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</div><div><a href="http://www.cudatel.com">http://www.cudatel.com</a></div><div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div><div><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></div><div><a href="http://www.cluecon.com">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-users mailing list</div><div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></div><div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>