Readline error while installing Torch
ssabat opened this issue · 3 comments
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
installed readline-devel on RHEL and the installation worked.
yum install readline-devel
You must install the development package for READLINE (in ubuntu: libreadline-dev)
Same problem, already installed to newest version, ubuntu lts