我们正在 ubuntu 12.04 上为 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 个文件?非常感谢。
最佳答案
关于ruby - 带有 rvm 的 ubuntu 12.04 上的 ruby 缺少一些 readline 库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10404206/