<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>I am attempting to setup my server to use Lua for the dialplan (extentions.lua), but I am unable to get the asterisk configure script to find the installation of Lua on my box. I have downloaded the Lua sources from the </span><a href="http://www.lua.org/"><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>www.lua.org</span></a><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> site, and I have installed via the “make linux install” command. I can execute lua scripts via the command line, but asterisk configure script is unable to find the installation of Lua.</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>I am on a closed network, so no access to the internet so I am not able to just install Lua using yum.</span> <o:p></o:p></p><p><br>you're kidding right ? Why not just plug in the box somewhere else, do your install and move it back ?<br><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>OS CentOS 6.4</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>Asterisk version 1.8.13.0 & 11.4</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>$ find / -name *<b>lua</b>*</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>/usr/local/include/lua.h</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>/usr/local/include/lua.hpp</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>/usr/local/include/lualib.h</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>/usr/local/include/luaconf.h</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>/usr/local/lib/lua</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>/usr/local/lib/liblua.a</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>/usr/local/bin/luac</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>/usr/local/bin/lua</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>/usr/lib64/liblua-5.1.so</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>/usr/bin/luac</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>/usr/bin/lua</span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span> <br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span> <br><b><span style='font-size:13.5pt'>Jacob Miles</span></b> <br><span style='font-size:10.0pt'>Software Engineer</span> <br><a href="mailto:jacob.e.miles@l-3com.com"><span style='font-size:10.0pt'>jacob.e.miles@l-3com.com</span></a> <br><span style='font-size:10.0pt'>903.457.4422</span> <br><span style='font-size:10.0pt'> </span> <br><img border=0 width=183 height=95 id="_x0000_i1026" src="cid:image001.png@01CE8399.785ABAD0" alt=l-3midLogo><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span> <br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>While a valid question, I have worked with clients on a closed military base where temporarily moving a box that has been secured back to an unsecured network would get you thrown off base and most likely result in criminal charges being filed. Not saying that is what Jacob is up against, but there are reasons that once a box is put somewhere you can't just move it back.</span> <o:p></o:p></p><p><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>This is very close to why I am unable to move the box to an open network connection. As well I do not have access to create/install my own yum repo, I am stuck using the box as it is. Is there a reason why the configure script does not find Lua in its default installation directory? Yes, I know that some distros package managers will install packages into difference locations based on how the install package was configured and created. But as a default I would think the configure script should look for items where the actual developer of product places them via their install script.<o:p></o:p></span></p><p><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>What steps would I need to do to get the configure script to look in the correct location for a default installation of Lua from source. Or what location is the configure script looking for the Lua file to be in and I can manually move them to where asterisk is looking. Maybe the files are in the correct location but are named differently than what the script is looking for?<o:p></o:p></span></p><p><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Jacob<o:p></o:p></span></p></div></body></html>