neural-style icon indicating copy to clipboard operation
neural-style copied to clipboard

fatal error: readline/readline.h: No such file or directory

Open teror4uks opened this issue 8 years ago • 9 comments

fatal error when use ./install.sh from INSTALL.md step 1 gcc -O2 -fPIC -I/root/custom/torch/distro/install/include -c readline.c -o readline.o readline.c:8:31: fatal error: readline/readline.h: No such file or directory

ubuntu server 16.04 LTS

teror4uks avatar Nov 21 '16 19:11 teror4uks

work for me - sudo apt-get install libreadline-dev

teror4uks avatar Nov 21 '16 19:11 teror4uks

work fo me too @teror4uks

fangwChina avatar Jun 20 '18 03:06 fangwChina

Does anyone have any updates on this ?

sonicaj avatar Jul 12 '18 23:07 sonicaj

@sonicaj It can be fixed, I see in https://github.com/torch/distro/blob/master/install-deps inubuntu section this package libreadline-dev.

teror4uks avatar Jul 18 '18 09:07 teror4uks

works for me too.

jashree avatar Apr 01 '19 04:04 jashree

worked - ubuntu 18.04

tarunpulluri avatar Apr 24 '19 10:04 tarunpulluri

Not working because I don't have root access.

sjtuytc avatar Jul 20 '19 13:07 sjtuytc

how to install it in windows

Utkarshking avatar Sep 19 '21 07:09 Utkarshking

works for ubuntu20 too

cyb0225 avatar May 14 '22 08:05 cyb0225