Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#include <readline/readline.h> #57

Open
locci opened this issue Aug 8, 2019 · 0 comments
Open

#include <readline/readline.h> #57

locci opened this issue Aug 8, 2019 · 0 comments

Comments

@locci
Copy link

locci commented Aug 8, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant