lua-users home
lua-l archive

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


You need to install readline's development headers.

On Sat, 2009-04-18 at 16:31 -0500, Miguel Guirao wrote:
> Hi,
> 
> I'm compiling LUA under OpenSuSE 10.3 kernel 2.6, after issuing make linux I
> get this:
> 
> guirao@guirao:~/NSM/lua-5.1.4> make linux cd src && make linux
> make[1]: se ingresa al directorio `/home/guirao/NSM/lua-5.1.4/src'
> make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory
> -lncurses"
> make[2]: se ingresa al directorio `/home/guirao/NSM/lua-5.1.4/src'
> gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lua.o lua.c
> In file included from lua.h:16,
>                  from lua.c:15:
> luaconf.h:275:31: error: readline/readline.h: No existe el fichero o el
> directorio
> luaconf.h:276:30: error: readline/history.h: No existe el fichero o el
> directorio
> 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]: se sale del directorio `/home/guirao/NSM/lua-5.1.4/src'
> make[1]: *** [linux] Error 2
> make[1]: se sale del directorio `/home/guirao/NSM/lua-5.1.4/src'
> make: *** [linux] Error 2
> guirao@guirao:~/NSM/lua-5.1.4>
> 
> any ideas??
> Best Regards
> 
> ________________________________________
> Miguel Guirao A., ITIL Foundations, Linux+
> Informatica R08
> Sistemas de Información
> Ext. 7540
> 
>