[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: need help installing lua on
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 11 May 2008 08:32:12 -0300
> luaconf.h:275:31: error: readline/readline.h: No such file or directory
You need to install the readline dev package (I don't know the exact name).
if you don't want to do that, edit luaconf.h and remove LUA_USE_READLINE from
#if defined(LUA_USE_LINUX)
#define LUA_USE_POSIX
#define LUA_USE_DLOPEN /* needs an extra library: -ldl */
#define LUA_USE_READLINE /* needs some extra libraries */
#endif
Als, edit Makefile and change this
linux:
$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
to
linux:
$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl"
OR just do "make ansi".