luaver icon indicating copy to clipboard operation
luaver copied to clipboard

#include <readline/readline.h>

Open locci opened this issue 5 years ago • 0 comments

Hi

I have a problem when I try change my lua version. All the time I recive this mesage:

alexandre@alexandre-Aspire-E1-571:~$ luaver install 5.1 ==> Installing lua-5.1 ==> Detecting already downloaded archives ==> lua-5.1 has already been downloaded. Download again? [Y/n]: n ==> Detecting platform ==> Platform detected: linux ==> Compiling lua-5.1 cd src && make linux make[1]: Entering directory '/home/alexandre/.luaver/src/lua-5.1/src' make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" make[2]: Entering directory '/home/alexandre/.luaver/src/lua-5.1/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:263:10: fatal error: readline/readline.h: No such file or directory #include <readline/readline.h> ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. : recipe for target 'lua.o' failed make[2]: *** [lua.o] Error 1 make[2]: Leaving directory '/home/alexandre/.luaver/src/lua-5.1/src' Makefile:95: recipe for target 'linux' failed make[1]: *** [linux] Error 2 make[1]: Leaving directory '/home/alexandre/.luaver/src/lua-5.1/src' Makefile:54: recipe for target 'linux' failed make: *** [linux] Error 2 Unable to execute the following command: make Exiting

My so version is Ubuntu 18.04.2 LTS and I installed the package libreadline-dev

Can help me? Tu

locci avatar Aug 08 '19 23:08 locci