I would like to ask you if you could help me with this error that I'm getting when I try to install torch on centos 6.6
I don't have root access and most of the dependencies I have installed them by compiling from source in my home directory.
I have also installed readline from source in my home directory and I've set the lib and include directories to env variables such as INCLUDE and LD_LIBRARY_PATH.
gcc -O2 -fPIC -I/home/user/torch/install/include -c utils.c -o utils.o
gcc -shared -o treplutils.so -L/home/user/torch/install/lib utils.o
gcc -O2 -fPIC -I/home/user/torch/install/include -c readline.c -o readline.o
readline.c:7:31: error: readline/readline.h: No such file or directory
readline.c:8:30: error: readline/history.h: No such file or directory
readline.c: In function ‘f_setup’:
readline.c:259: error: ‘rl_readline_name’ undeclared (first use in this function)
readline.c:259: error: (Each undeclared identifier is reported only once
readline.c:259: error: for each function it appears in.)
readline.c:261: error: ‘rl_completer_word_break_characters’ undeclared (first use in this function)
readline.c:263: error: ‘rl_completer_quote_characters’ undeclared (first use in this function)
readline.c:265: error: ‘rl_completion_append_character’ undeclared (first use in this function)
readline.c:267: error: ‘rl_attempted_completion_function’ undeclared (first use in this function)
readline.c: In function ‘f_readline’:
readline.c:276: warning: initialization makes pointer from integer without a cast
Error: Build error: Failed compiling object readline.o