[Freeswitch-users] Help with Lua modules

Seven Du dujinfang at gmail.com
Wed Sep 25 09:23:33 UTC 2019


you should use luarocks with lua 5.2, or you could compile FreeSWITCH to
build mod_lua with lua 5.1.

I have a big patch to make mod_lua can directly call curl natively btw. I
can share it if you are interested.

On Tue, Aug 20, 2019 at 11:34 PM Alex Lake <alex at digitalmail.com> wrote:

> I'm slightly struggling to work out how to install Lua modules (eg luaxml
> and luacurl) so that they can be used by Freeswitch.
>
> I have managed to install them under Lua5.1, but AIUI, Lua5.2 is the way
> to go.
>
> For lua 5.1, I did:
>
> apt-get install -y lua5.1 lua5.1-dev luarocks
> luarocks install luaxml
> luarocks install luacurl CURL_INCDIR=/usr/include/x86_64-linux-gnu
>
> And that works for commandline lua, but the lua built in to Freeswitch seems to be 5.2. If I try using Luarocks to install luaxml and luacurl, I get problems suggesting that these modules aren't suitable.
>
> Should I try to recompile Freeswitch to use Lua5.1? If so, where are the instructions?
>
> Thanks!
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> 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
> https://freeswitch.com



-- 
About: http://about.me/dujinfang
Blog: http://www.dujinfang.com
Proj:  http://www.freeswitch.org.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190925/23322ccb/attachment.html>


More information about the FreeSWITCH-users mailing list