When I try to have readline support with:
irb --readline
I get :
/usr/local/lib/ruby/1.8/irb/context.rb:63:in `const_missing’:
uninitialized constant IRB::Context::ReadlineInputMethod (NameError)
Do I do something wrong?
···
–
Wybo
When I try to have readline support with:
irb --readline
I get :
/usr/local/lib/ruby/1.8/irb/context.rb:63:in `const_missing’:
uninitialized constant IRB::Context::ReadlineInputMethod (NameError)
Do I do something wrong?
–
Wybo
Hi,
In message “irb --readline” on 03/07/25, Wybo Dekker wybo@servalys.nl writes:
When I try to have readline support with:
irb --readline
I get :
/usr/local/lib/ruby/1.8/irb/context.rb:63:in `const_missing’:
uninitialized constant IRB::Context::ReadlineInputMethod (NameError)Do I do something wrong?
You’ve failed to compile readline extension library, which is required
by “–readline” option.
matz.
It’s probably stupid, but… how do I do that?
I found a directory ext/readline with a Makefile in it.
But make says there’s nothing to do here…
I also tried to uncomment all lines in Setup and Setup.x86 (including
readline) and recompile ruby, but that did not help either.
On Sat, 26 Jul 2003, Yukihiro Matsumoto wrote:
Hi,
In message “irb --readline” > on 03/07/25, Wybo Dekker wybo@servalys.nl writes:
When I try to have readline support with:
irb --readline
I get :
/usr/local/lib/ruby/1.8/irb/context.rb:63:in `const_missing’:
uninitialized constant IRB::Context::ReadlineInputMethod (NameError)Do I do something wrong?
You’ve failed to compile readline extension library, which is required
by “–readline” option.
–
Wybo
Hi,
In message “Re: irb --readline” on 03/07/26, Wybo Dekker wybo@servalys.nl writes:
I also tried to uncomment all lines in Setup and Setup.x86 (including
readline) and recompile ruby, but that did not help either.
You need to install libreadline on your machine first. What’s your
platform?
matz.
uname -a says:
Linux servalys 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686 unknown
and locate libreadline says:
/lib/libreadline.so.4
/lib/libreadline.so.4.2
(the first is a link to the second)
And I use readline in the Perl debugger, in mysql and more, so I suppose
it’s installed.
On Sat, 26 Jul 2003, Yukihiro Matsumoto wrote:
In message “Re: irb --readline” > on 03/07/26, Wybo Dekker wybo@servalys.nl writes:
I also tried to uncomment all lines in Setup and Setup.x86 (including
readline) and recompile ruby, but that did not help either.You need to install libreadline on your machine first. What’s your
platform?
–
Wybo
and locate libreadline says:
/lib/libreadline.so.4
/lib/libreadline.so.4.2
Verify if you have a package readline-devel and if it's installed
Guy Decoux
That did it! Thank you very much!
On Sat, 26 Jul 2003, ts wrote:
and locate libreadline says:
/lib/libreadline.so.4
/lib/libreadline.so.4.2Verify if you have a package readline-devel and if it’s installed
–
Wybo