<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1460135455484_9435">I have installed FS 1.6.7 master onto a new Linode Centos 7.1 VM. This comes with Lua 5.1 preinstalled, and I cannot uninstall it, it would seem, as it reports it would break things (like yum). My problem is that when I make, it fails with this :</div><div dir="ltr" id="yui_3_16_0_ym19_1_1460135455484_9454"><br></div><div id="yui_3_16_0_ym19_1_1460135455484_9486" dir="ltr">make[3]: Entering directory `/usr/local/src/freeswitch-1.6/src/mod/languages/mod_lua'<br id="yui_3_16_0_ym19_1_1460135455484_9478">&nbsp; CXX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mod_lua_la-mod_lua.lo<br id="yui_3_16_0_ym19_1_1460135455484_9479">mod_lua.cpp:37:17: fatal error: lua.h: No such file or directory<br id="yui_3_16_0_ym19_1_1460135455484_9480">&nbsp;#include "lua.h"<br id="yui_3_16_0_ym19_1_1460135455484_9481"></div><div id="yui_3_16_0_ym19_1_1460135455484_9668" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1460135455484_9706" dir="ltr">Not surprising considering configure reports this :</div><div id="yui_3_16_0_ym19_1_1460135455484_9716" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1460135455484_9707" dir="ltr">"checking for lua5.2... checking for lua-5.2... checking for lua5.1... checking for lua-5.1... checking for lua... checking for alMidiGainSOFT in -lopenal... no"</div><div id="yui_3_16_0_ym19_1_1460135455484_9717" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1460135455484_9669" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1460135455484_9523" dir="ltr">If I do "yum install lua-devel" it all compiles but with version 5.1, not 5.2, obviously as Centos is installing the 5.1 headers as that is its current repo version. <br></div><div id="yui_3_16_0_ym19_1_1460135455484_9560" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1460135455484_9586" dir="ltr">So, my question is how do I make FS pick up the bundled 5.2 during the "configure" step, that I believe is has in "/usr/local/src/freeswitch/src/mod/languages/mod_lua/lua" and not fail unless the -devel package for the 5.1 version is installed via yum ?</div><div id="yui_3_16_0_ym19_1_1460135455484_9543" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1460135455484_9542" dir="ltr"><span id="yui_3_16_0_ym19_1_1460135455484_9642" dir="ltr">FreeSWITCH Version 1.6.7+git~20160<wbr id="yui_3_16_0_ym19_1_1460135455484_9643">401T134007Z~f0c<wbr id="yui_3_16_0_ym19_1_1460135455484_9644">3870be3~64bit (git f0c3870 2016-04-01 13:40:07Z 64bit)</span></div><div id="yui_3_16_0_ym19_1_1460135455484_9652" dir="ltr"><span id="yui_3_16_0_ym19_1_1460135455484_9642" dir="ltr"><br></span></div></div></body></html>