linux - Trouble with library readline while installing R -
i'm trying install r 3.2.3 source. when run ./configure
error:
configure: error: --with-readline=yes (default) , headers/libs not available
just before that, there is:
checking readline/history.h usability... no checking readline/history.h presence... no checking readline/history.h... no checking readline/readline.h usability... no checking readline/readline.h presence... no checking readline/readline.h... no checking rl_callback_read_char in -lreadline... no checking main in -lncurses... no checking main in -ltermcap... yes checking rl_callback_read_char in -lreadline... no checking history_truncate_file... no
so guess problem library readline not installed on system. don't have root access (i'm @ work), tried install locally. here did:
cd mkdir readline
after downloading tar.gz in /tmp
:
cd /tmp tar -zxvf readline-6.3.tar.gz cd readline-6.3 ./configure --prefix=$home/readline make make install export ld_library_path=$home/readline
this seems have worked still can't install r, same error. how can tell r find readline?
by way, os debian 8, if helps.
Comments
Post a Comment