Installation error: Build error: Failed compiling object readline.o

139 views
Skip to first unread message

Arnaud Tsombeng

unread,
May 28, 2018, 2:46:01 PM5/28/18
to torch7
Hi,

Am having the following error when trying to install torch on Ubuntu 16.04

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

Error: Build error: Failed compiling object readline.o

I follow the installation guide from   http://torch.ch/docs/getting-started.html

Can any one have an idear of what is wrong ?

Best Regards

Harsha Teja

unread,
May 28, 2018, 2:49:39 PM5/28/18
to torch7
Bro install by snypatic packet manager it will work 

--
You received this message because you are subscribed to the Google Groups "torch7" group.
To unsubscribe from this group and stop receiving emails from it, send an email to torch7+un...@googlegroups.com.
To post to this group, send email to tor...@googlegroups.com.
Visit this group at https://groups.google.com/group/torch7.
For more options, visit https://groups.google.com/d/optout.

Arnaud Tsombeng

unread,
May 29, 2018, 3:59:03 AM5/29/18
to torch7
Hi,

even with synaptic package managment it did not work

Harsha Teja

unread,
May 29, 2018, 5:35:30 AM5/29/18
to torch7
Yes remove tourch and try to reinstall

Reply all
Reply to author
Forward
0 new messages