luaver
luaver copied to clipboard
#include <readline/readline.h>
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.
My so version is Ubuntu 18.04.2 LTS and I installed the package libreadline-dev
Can help me? Tu