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

Readline error while installing Torch #67

Open
ssabat opened this issue Oct 4, 2017 · 3 comments
Open

Readline error while installing Torch #67

ssabat opened this issue Oct 4, 2017 · 3 comments

Comments

@ssabat
Copy link

ssabat commented Oct 4, 2017

I tried to install latest Torch on my vultr cloud instance. I installed cmake.
I did GIT clone of Torch. Then, I ran ./install.sh.

I see following error.

..............
.....................
Updating manifest for /home/ssabat/torch/install/lib/luarocks/rocks
dok scm-1 is now built and installed in /home/ssabat/torch/install/ (license: BSD)

gcc -O2 -fPIC -I/home/ssabat/torch/install/include -c utils.c -o utils.o
gcc -shared -o treplutils.so -L/home/ssabat/torch/install/lib utils.o
gcc -O2 -fPIC -I/home/ssabat/torch/install/include -c readline.c -o readline.o
readline.c:8:31: fatal error: readline/readline.h: No such file or directory
#include <readline/readline.h>
^
compilation terminated.

Error: Build error: Failed compiling object readline.o
[ssabat@bkglinux torch]$

Any guidance?

Thanks,

Sunil Sabat

@ssabat ssabat changed the title Readline error while installing on MacOS Readline error while installing Torch Oct 4, 2017
@pavanroy
Copy link

pavanroy commented Nov 4, 2017

installed readline-devel on RHEL and the installation worked.

yum install readline-devel

@Andruida
Copy link

Andruida commented Feb 1, 2019

You must install the development package for READLINE (in ubuntu: libreadline-dev)

@MrBruz
Copy link

MrBruz commented Feb 4, 2020

Same problem, already installed to newest version, ubuntu lts

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

4 participants