97-mtibia:~# wget
http://www.lua.org/ftp/lua-5.1.4.tar.gz
--2011-09-05 17:37:19--
http://www.lua.org/ftp/lua-5.1.4.tar.gz
Resolviendo
The Programming Language Lua... 89.238.129.35, 2a02:40:41::5
Connecting to
www.lua.org|89.238.129.35|:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 216679 (212K) [application/octet-stream]
Saving to: `lua-5.1.4.tar.gz.2'
100%[======================================>] 216.679 175K/s in 1,2s
2011-09-05 17:37:23 (175 KB/s) - `lua-5.1.4.tar.gz.2' saved [216679/216679]
97-mtibia:~#
97-mtibia:~# tar -xzvf lua*
tar (child): lua-5.1.4: No se puede read: Es un directorio
tar (child): Al principio de la cinta, se terminará ahora
tar (child): Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Error is not recoverable: exiting now
97-mtibia:~# cd lua*
97-mtibia:~/lua-5.1.4# make linux && make install
cd src && make linux
make[1]: se ingresa al directorio `/root/lua-5.1.4/src'
make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
make[2]: se ingresa al directorio `/root/lua-5.1.4/src'
gcc -O2 -Wall -DLUA_USE_LINUX -c -o lua.o lua.c
In file included from lua.h:16:0,
from lua.c:15:
luaconf.h:275:31: fatal error: readline/readline.h: No existe el fichero o el directorio
compilation terminated.
make[2]: *** [lua.o] Error 1
make[2]: se sale del directorio `/root/lua-5.1.4/src'
make[1]: *** [linux] Error 2
make[1]: se sale del directorio `/root/lua-5.1.4/src'
make: *** [linux] Error 2
97-mtibia:~/lua-5.1.4#