[Freeswitch-users] Lua 5.2 Install Issue
Sausage Side
sausageside at yahoo.com
Fri Apr 8 21:49:41 MSD 2016
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 :
make[3]: Entering directory `/usr/local/src/freeswitch-1.6/src/mod/languages/mod_lua'
CXX mod_lua_la-mod_lua.lo
mod_lua.cpp:37:17: fatal error: lua.h: No such file or directory
#include "lua.h"
Not surprising considering configure reports this :
"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"
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.
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 ?
FreeSWITCH Version 1.6.7+git~20160401T134007Z~f0c3870be3~64bit (git f0c3870 2016-04-01 13:40:07Z 64bit)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160408/c635df2b/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list