<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I'm slightly struggling to work out how to install Lua modules
(eg luaxml and luacurl) so that they can be used by Freeswitch.</p>
<p>I have managed to install them under Lua5.1, but AIUI, Lua5.2 is
the way to go.</p>
<p>For lua 5.1, I did:</p>
<pre style="background-color:#ffffff;color:#000000;font-family:'Courier New';font-size:9.0pt;">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!
</pre>
</body>
</html>