<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
I would not use luasql with mysql driver because it leaks memory.
Luasql odbc is better choice for production.<br>
What kind of errors do you have? If you installing luasql.odbc please
make sure you have unix-odbc development packages.<br>
<br>
Nazim<br>
<br>
<br>
<br>
<br>
On 03/14/2010 11:46 PM, Aloysius Lloyd wrote:
<blockquote
cite="mid:8a19bf2e1003141246p2fcdf561kf5a8b22bdb2a2366@mail.gmail.com"
type="cite">I am trying to install Luasql. Lots of make errors.Here
is the steps I follow
<div><br>
</div>
<div>
<div>wget <a moz-do-not-send="true"
href="http://luaforge.net/frs/download.php/2686/luasql-2.1.1.tar.gz">http://luaforge.net/frs/download.php/2686/luasql-2.1.1.tar.gz</a></div>
<div>tar xfvz luasql-2.1.1.tar.gz</div>
<div>cd luasql-2.1.1/</div>
<div>vi config</div>
<div><br>
</div>
<div>uncomment the mysql</div>
<div>enable mysql and change the mysql lib and include directory path.</div>
<div><br>
</div>
<div><br>
</div>
<div>How to install LuaSql in CentOS 5.4?</div>
<div><br>
</div>
<div>What is the best way to access mysql from Lua? </div>
<div>odbc or natvie?</div>
<div><br>
</div>
<div>Thanks</div>
<div>Lloyd<br>
<br>
<br>
<div class="gmail_quote">On Sun, Mar 14, 2010 at 2:49 PM, Aloysius
Lloyd <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:lloyd.aloysius@gmail.com">lloyd.aloysius@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Nazim
& Spencer , thank you.
<div><br>
</div>
<div>readline development package install solved the problem. Here
is the Lua install on CentOS 5.4</div>
<div><br>
</div>
<div>
<div>yum install readline-devel</div>
<div class="im">
<div>wget <a moz-do-not-send="true"
href="http://www.lua.org/ftp/lua-5.1.4.tar.gz" target="_blank">http://www.lua.org/ftp/lua-5.1.4.tar.gz</a></div>
<div>tar zxf lua-5.1.4.tar.gz</div>
<div>cd lua-5.1.4</div>
<div>make linux </div>
</div>
<div>make linux install</div>
<div><br>
</div>
<div>Thanks</div>
<div>Lloyd</div>
</div>
<div>
<div class="h5">
<div><br>
</div>
<div><br>
<br>
<div class="gmail_quote">On Sun, Mar 14, 2010 at 2:40 PM, Spencer
Thomason <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:spencer@5ninesolutions.com" target="_blank">spencer@5ninesolutions.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="word-wrap: break-word;">I have Centos RPMS and source
RPMS for lua 5.1.4 at <a moz-do-not-send="true"
href="http://repo.5ninesolutions.com" target="_blank">http://repo.5ninesolutions.com</a><br>
<font color="#888888">
<div>
<div> --<br>
<strong>Spencer Thomason</strong><br>
5Nine Solutions LLC<br>
e. <a moz-do-not-send="true" href="mailto:spencer@5ninesolutions.com"
target="_blank">sales@5ninesolutions.com</a><br>
p. +1.888.271.7959<br>
f. +1.310.510.6980<br>
<br>
<a moz-do-not-send="true" href="http://www.5ninesolutions.com/"
target="_blank"><img moz-do-not-send="true"></a> </div>
</div>
<br>
</font>
<div>
<div>
<div>
<div>On Mar 14, 2010, at 11:26 AM, Aloysius Lloyd wrote:</div>
<br>
</div>
</div>
<blockquote type="cite">
<div>
<div>Hi All,
<div><br>
</div>
<div>Can some one help me to install Lua . </div>
<div><br>
</div>
<div>OS: CentOS 5.4</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>wget <a moz-do-not-send="true"
href="http://www.lua.org/ftp/lua-5.1.4.tar.gz" target="_blank">http://www.lua.org/ftp/lua-5.1.4.tar.gz</a></div>
<div>tar zxf lua-5.1.4.tar.gz</div>
<div>cd lua-5.1.4</div>
<div>make linux</div>
<div><br>
</div>
<div>But getting error when running <b>make linux </b></div>
<div><b><br>
</b></div>
<div><b>Here is the Output</b></div>
<div><br>
</div>
<div>
<div>In file included from lua.h:16,</div>
<div> from lua.c:15:</div>
<div>luaconf.h:275:31: error: readline/readline.h: No such file
or directory</div>
<div>luaconf.h:276:30: error: readline/history.h: No such file
or directory</div>
<div>lua.c: In function âpushlineâ:</div>
<div>lua.c:182: warning: implicit declaration of function
âreadlineâ</div>
<div>lua.c:182: warning: assignment makes pointer from integer
without a cast</div>
<div>lua.c: In function âloadlineâ:</div>
<div>lua.c:210: warning: implicit declaration of function
âadd_historyâ</div>
<div>make[2]: *** [lua.o] Error 1</div>
<div>make[2]: Leaving directory `/usr/src/lua-5.1.4/src'</div>
<div>make[1]: *** [linux] Error 2</div>
<div>make[1]: Leaving directory `/usr/src/lua-5.1.4/src'</div>
<div>make: *** [linux] Error 2</div>
<div><br>
</div>
<div><br>
</div>
<div>Thank you in advance.</div>
</div>
<div><br>
</div>
</div>
<div><br>
</div>
<div>Thanks,<br>
Lloyd </div>
</div>
</div>
<div> _______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>