在R中执行命令行完成等需要readline库。我从源代码安装了readline,但是当我在R-3.1.1源代码上运行./configure
时,出现以下错误:
....
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking for rl_callback_read_char in -lreadline... no
checking for main in -lncurses... no
checking for main in -ltermcap... no
checking for main in -ltermlib... no
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
显然,readline已经安装并找到 - 但不是所有必需的软件包?这里有什么问题,如何解决?