Hi Aloysius,

Probably readline development package is not installed. If you have difficulties compiling Lua,
you could get binaries + includes from: http://luabinaries.luaforge.net/download.html

On 03/14/2010 10:26 PM, Aloysius Lloyd wrote:
Hi All,

Can some one help me to install Lua . 

OS: CentOS 5.4


wget http://www.lua.org/ftp/lua-5.1.4.tar.gz
tar zxf lua-5.1.4.tar.gz
cd lua-5.1.4
make 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 directory
luaconf.h:276:30: error: readline/history.h: No such file or directory
lua.c: In function âpushlineâ:
lua.c:182: warning: implicit declaration of function âreadlineâ
lua.c:182: warning: assignment makes pointer from integer without a cast
lua.c: In function âloadlineâ:
lua.c:210: warning: implicit declaration of function âadd_historyâ
make[2]: *** [lua.o] Error 1
make[2]: Leaving directory `/usr/src/lua-5.1.4/src'
make[1]: *** [linux] Error 2
make[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