我们正在 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 个文件?非常感谢。