Red Hat Bugzilla – Bug 464635
perl-Term-ReadLine-Gnu fails to initialize
Last modified: 2008-09-30 03:25:59 EDT
Description of problem:
perl-Term-ReadLine-Gnu doesn't seem to work correctly at all under CentOS 5.
(Initial symptoms detected when trying yasql, but recipe below shows how to replicate)
Version-Release number of selected component (if applicable):
How reproducible: Completely
Steps to Reproduce:
1. Install CentOS 5, yum install perl-Term-ReadLine-Gnu
2. $ perl -MTerm::ReadLine -e 'new Term::ReadLine("test")'
Actual results: Cannot do `initialize' in Term::ReadLine::Gnu at -e line 1
Expected results: Blank (Object should be created successfully)
Possibly a known problem, but I can't find the solution.
Thanks for the report. I'm not able to reproduce this (same version, on CentOS), and therefore don't have much clue where to start to.
Which terminal do you use?
Could you please run the following command and attach the "log" file to this bug report, so I can compare what's different in the way the package works on your system compared to mine?
strace -f -o log perl -MTerm::ReadLine -e 'new Term::ReadLine("test")'
Created attachment 318044 [details]
strace of Term::ReadLine invocation
Thank you. strace shows it failing looking for Term::ReadLine::Perl
Doing a 'locate', I see I have an old version /usr/lib/perl5/site_perl/5.8.5/Term/ReadLine/Perl.pm which is not owned by any package.
I zapped the 5.8.5 directory and now the module is working fine.
Please close the ticket, and I apologise for the dumb report.