[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Error building LUA 5.2.3 under Ubuntu 12.04
- From: Alain Aupeix <alain.aupeix@...>
- Date: Mon, 29 Sep 2014 19:36:29 +0200
Le 29/09/2014 19:23, Udo Schroeter a écrit :
> You're making it more difficult by providing french error messages ;)
Isn't it easy ? :)
> but it looks like you're missing the readline library. You should be
> able to install it with apt-get or whatever the package manager on
> Ubuntu is.
package unknown of ubuntu ...
I have successfully built and installed 6.3 version, have launched
ldconfig, but when I build now, I have this error:
----------------------------------------------------
make[1]: entrant dans le répertoire «
/opt/TuxPrograms/trunks/lua-5.3.0-alpha/src »
make all SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl -lreadline"
make[2]: entrant dans le répertoire «
/opt/TuxPrograms/trunks/lua-5.3.0-alpha/src »
gcc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -c -o lua.o lua.c
gcc -o lua lua.o liblua.a -lm -Wl,-E -ldl -lreadline
/usr/local/lib/libreadline.so: undefined reference to `tputs'
/usr/local/lib/libreadline.so: undefined reference to `tgoto'
/usr/local/lib/libreadline.so: undefined reference to `tgetflag'
/usr/local/lib/libreadline.so: undefined reference to `UP'
/usr/local/lib/libreadline.so: undefined reference to `tgetent'
/usr/local/lib/libreadline.so: undefined reference to `tgetnum'
/usr/local/lib/libreadline.so: undefined reference to `PC'
/usr/local/lib/libreadline.so: undefined reference to `tgetstr'
/usr/local/lib/libreadline.so: undefined reference to `BC'
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [lua] Erreur 1
make[2]: quittant le répertoire «
/opt/TuxPrograms/trunks/lua-5.3.0-alpha/src »
make[1]: *** [linux] Erreur 2
make[1]: quittant le répertoire «
/opt/TuxPrograms/trunks/lua-5.3.0-alpha/src »
make: *** [linux] Erreur 2
----------------------------------------------------
What is wrong, the lua version, or the readline version ?
Thanks
A+
--
------------------------------------------------------------------------
Alain Aupeix
http://jujuland.pagesperso-orange.fr/
http://pissobi-lacassagne.pagesperso-orange.fr/
------------------------------------------------------------------------
U.buntu 12.04 | G.ramps 3.4.8-1 | H.arbour 3.2.0dev (2014-09-09 22;51) |
HbIDE (Rev.316) | Five.Linux (r138) | Hw.Gui (2285)
------------------------------------------------------------------------