lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Sep 25, 2012 at 6:25 PM, Dennis Kern <kern.dennis@gmail.com> wrote:
> lua.c:67:31: error: readline/readline.h: No such file or directory
> lua.c:68:30: error: readline/history.h: No such file or directory
> lua.c: In function ‘pushline’:
> lua.c:266: warning: implicit declaration of function ‘readline’
> lua.c:266: warning: assignment makes pointer from integer without a cast
> lua.c: In function ‘loadline’:
> lua.c:296: warning: implicit declaration of function ‘add_history’

It seems you don't have readline installed on your system? See last
line of "Building Lua" section from 5.2 readme [1].
You'll probably need one of these packages [2], but I'm not sure which
one, since I do not use Ubuntu.

[1] http://www.lua.org/manual/5.2/readme.html

[2] http://packages.ubuntu.com/search?keywords=readline&searchon=names&suite=precise&section=all
-- 
NI!