Skip to content

Problem with "readline" in compilatio of R for Solaris 11 (Nevada) in x86

2 messages · Octavio Tourinho, Brian Ripley

#
Dear friends,
In configuring R 2.4.1 for Solaris 11, using SunStudio 11 compilers, I 
get the following error. 

checking readline/history.h usability... no
checking readline/history.h presence... no
checking for readline/history.h... no
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
checking for rl_callback_read_char in -lreadline... no
checking for main in -lncurses... no
checking for main in -ltermcap... yes
checking for rl_callback_read_char in -lreadline... no
checking for history_truncate_file... no
configure: error: --with-readline=yes (default) and headers/libs are not 
available

I was not able to figure out what readline is about, whether it is 
optional or not (at some point of the script it seems to be a flag which 
can be true or false) and was therefore unable to debug it.

Thanks for any help you can provide

Octavio Tourinho
octavio.tourinho at terra.com.br
octou at ipea.gov.br
#
Please consult the R-admin manual, as the INSTALL file asked you to.
It explains this.
On Mon, 29 Jan 2007, Octavio Tourinho wrote: