मैं अपने यूबिनटू 11.10 पर आरवीएम का उपयोग कर रहा हूं। मेरी रीडलाइन काम नहीं कर रही है, मैंने ruby extconf.rb
की कोशिश की लेकिन यह पारित नहीं हुआ है। आउटपुट bellow है:रीडलाइन आरवीएम में काम नहीं कर रहा है - उबंटू 11.10
$ 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
मैं स्थापित करने की कोशिश की libncurses5-देव & libreadline5-देव
$ 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
is only available from another source
However the following packages replace it:
libreadline-gplv2-dev:i386 lib64readline-gplv2-dev:i386 libreadline-gplv2-dev
E: Package 'libreadline5-dev' has no installation candidate
यहाँ क्या समस्या है? क्या कोई मदद कर सकता है?
rvm pkg install readline
फिर RVM --with-readline-dir=$rvm_path/usr
के माध्यम से गहरे लाल रंग का स्थापित:
यह मेरे लिए काम करता है, लेकिन केवल पूरी तरह से/usr/local/rvm को हटाने के बाद और स्क्रैच से आरवीएम पुनः स्थापित। ऐसा लगता है कि 'आरवीएम हटाएं 1.9.2' कैश किए जा रहे थे को साफ़ करने के लिए पर्याप्त नहीं था। –