I am trying to install Luasql. Lots of make errors.Here is the steps I follow
tar xfvz luasql-2.1.1.tar.gzcd luasql-2.1.1/vi config
uncomment the mysqlenable mysql and change the mysql lib and include directory path.
How to install LuaSql in CentOS 5.4?
What is the best way to access mysql from Lua?odbc or natvie?
ThanksLloyd
On Sun, Mar 14, 2010 at 2:49 PM, Aloysius Lloyd <lloyd.aloysius@gmail.com> wrote:
Nazim & Spencer , thank you.
readline development package install solved the problem. Here is the Lua install on CentOS 5.4
yum install readline-develmake linux install
ThanksLloyd
On Sun, Mar 14, 2010 at 2:40 PM, Spencer Thomason <spencer@5ninesolutions.com> wrote:
I have Centos RPMS and source RPMS for lua 5.1.4 at http://repo.5ninesolutions.com
--
Spencer Thomason
5Nine Solutions LLC
e. sales@5ninesolutions.com
p. +1.888.271.7959
f. +1.310.510.6980
![]()
On Mar 14, 2010, at 11:26 AM, Aloysius Lloyd wrote:
Hi All,
Can some one help me to install Lua .
OS: CentOS 5.4
tar zxf lua-5.1.4.tar.gzcd lua-5.1.4make linux
But getting error when running make linux
Here is the Output
In file included from lua.h:16,from lua.c:15:luaconf.h:275:31: error: readline/readline.h: No such file or directoryluaconf.h:276:30: error: readline/history.h: No such file or directorylua.c: In function âpushlineâ:lua.c:182: warning: implicit declaration of function âreadlineâlua.c:182: warning: assignment makes pointer from integer without a castlua.c: In function âloadlineâ:lua.c:210: warning: implicit declaration of function âadd_historyâmake[2]: *** [lua.o] Error 1make[2]: Leaving directory `/usr/src/lua-5.1.4/src'make[1]: *** [linux] Error 2make[1]: Leaving directory `/usr/src/lua-5.1.4/src'make: *** [linux] Error 2
Thank you in advance.
Thanks,
Lloyd_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org