perl/RedHat help

Manning, Rob Rob_Manning at mail.ci.baltimore.md.us
Mon May 15 06:58:18 CDT 2000


> Hey gang,
> 
> I need a hand here.  I recently installed RedHat 6.2 on a machine here and
> was in the process of reinstalling all the perl modules I needed for some
> stuff I am working on.  I used the CPAN module to go fetch them, but when
> I
> ran it the first time, it needed to install a bunch of stuff to get
> running
> (libnet, etc).  I got all the stuff I needed installed, went to test my
> program and found that Term::ReadLine::Perl is crashing when I try to run
> the perl debugger (perl -d myscript).  Here's what I get:
> 
> Can't call method "Tputs" on unblessed reference at
> /usr/lib/perl5/5.00503/Term/
> ReadLine.pm line 321.
>  at /usr/lib/perl5/5.00503/Term/ReadLine.pm line 321
>         Term::ReadLine::TermCap::ornaments called at
> /usr/lib/perl5/site_perl/5.
> 005/Term/ReadLine/Perl.pm line 65
>         Term::ReadLine::Perl::new called at
> /usr/lib/perl5/5.00503/perl5db.pl li
> ne 1462
>         DB::setterm called at /usr/lib/perl5/5.00503/perl5db.pl line 476
>         DB::DB called at IB_import_xml.pl line 20
> Cannot create second readline interface, falling back to dumb.
>  at /usr/lib/perl5/site_perl/5.005/Term/ReadLine/Perl.pm line 31
>         Term::ReadLine::Perl::new called at
> /usr/lib/perl5/5.00503/perl5db.pl li
> ne 1462
>         DB::setterm called at /usr/lib/perl5/5.00503/perl5db.pl line 423
>         DB::DB called at /usr/lib/perl5/5.00503/perl5db.pl line 2178
>         DB::fake::at_exit called at /usr/lib/perl5/5.00503/perl5db.pl line
> 2172
>         DB::END called at IB_import_xml.pl line 0
>         (eval) called at IB_import_xml.pl line 0
> Can't call method "Tputs" on unblessed reference at
> /usr/lib/perl5/5.00503/Term/
> ReadLine.pm line 321.
> END failed--cleanup aborted.
> 
> I've tried moving the various module components for ReadLine and
> ReadLine::Perl and reinstalling them - no luck.  Oddly enough, some of the
> files go into /usr/lib/perl5/5.00503/Term, some go into
> /usr/lib/perl5/site-perl/5.005/Term and some go into
> /usr/lib/perl5/site-perl/i386-linux/Term.  I don't know why, but I note
> that
> it complains if I move any of them.
> 
> Any clues of what might be going on?  I'm dead without the debugger...
> 
> Another, semi-unrelated issue.  Why the heck does CPAN install stuff in
> /usr/lib/perl5 instead of /usr/local/lib/perl5 or /usr/opt/lib/perl5?
> When
> you upgrade, or even reinstall, you're a lot more likely to keep
> /usr/local
> around than /usr/lib, and if your new install wipes out /usr/lib, you have
> to reinstall all your modules over again.
> 
> Archie
> 
> -- Archie Warnock                       Internet: warnock at awcubed.com
> -- A/WWW Enterprises                    Phone/FAX: 410-923-1009
> --                      http://www.awcubed.com
> --       As a matter of fact, I _do_ speak for my employer.
> 



More information about the Baltimore-pm mailing list