我在我的ubyntu 11.10上使用rvm.我的readline无法正常工作,我试过ruby extconf.rb但它没有通过.输出如下:
$ ruby extconf.rb
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
Run Code Online (Sandbox Code Playgroud)
我尝试安装libncurses5-dev和libreadline5-dev
$ sudo apt-get install libncurses5-dev libreadline5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libreadline5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or …Run Code Online (Sandbox Code Playgroud)