lua-users home
lua-l archive

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


Lua can also be compiled without readline, though I am not quite sure
how. Kepler's installer has a --without-readline option. As I
understand, skipping readline only affects the behavior of the shell.

 - yuri

On Sat, Apr 18, 2009 at 2:31 PM, Miguel Guirao
<miguel.guirao@mail.telcel.com> 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
>
>
>



-- 
http://spu.tnik.org/