[Freeswitch-users] Help with Lua modules

Alex Lake alex at digitalmail.com
Tue Aug 20 14:54:11 UTC 2019


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!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190820/727b685e/attachment.html>


More information about the FreeSWITCH-users mailing list