Skip to content

Readline error while installing Torch #67

Description

@ssabat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions