我们在ubuntu 12.04 for ruby 1.9.3上安装readline。运行extconf时缺少一些文件:
$ ruby extconf.rb -- --with-readline-dir="$HOME/.rvm/usr"
checking for tgetnum() in -lncurses... yes
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for readline() in -lreadline... no
checking for readline() in -ledit... no
checking for editline/readline.h... no在运行make install之前,我们如何安装遗漏的最后3个文件?非常感谢。
发布于 2012-05-02 06:47:51
例如,尝试从here下载适用于您的体系结构的libreadline5-dev包,然后手动安装。
sudo dpkg -i downloaded_package.deb这应该会对你有帮助。
https://stackoverflow.com/questions/10404206
复制相似问题