20 Aug
2019
20 Aug
'19
2:54 p.m.
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!