develooper Front page | perl.perl5.porters | Postings from April 2010

RC2 build issues with perl5db and broken prev-perl ReadLine

Thread Next
From:
Ricardo Signes
Date:
April 1, 2010 06:47
Subject:
RC2 build issues with perl5db and broken prev-perl ReadLine
Message ID:
20100401134706.GA1899@cancer.codesimply.com

This might be pretty specific to my busted setup, but:

../lib/perl5db.t is failing for me.  It barfs this error out:

 #      got "Unknown error\nCompilation failed in require at 
              /usr/local/lib/perl5/site_perl/5.10.1/Term/ReadLine/Perl.pm line 
              63.\nEND failed--call queue aborted.\n at 
              ../lib/perl5db/t/proxy-constants line 0\n"

So, it's trying to use my Term::ReadLine::Perl under 5.10.1, but that's broken:

  ~/tmp/perl-5.12.0-RC2$ perl5.10.1 -MTerm::ReadLine::Perl -e0
  Can't locate object method "Features" via package "Term::ReadLine::Stub" at /usr/local/lib/perl5/site_perl/5.10.1/Term/ReadLine/Perl.pm line 101.
  Compilation failed in require.
  BEGIN failed--compilation aborted.

At first I thought, "Well, it's my fault for having a broken install..."  Then
I find that I can't reinstall it either:

  Building and testing Term-ReadLine-Perl-1.0303 for Term::ReadLine::Perl ... cp ReadLine/Perl.pm blib/lib/Term/ReadLine/Perl.pm
  cp ReadLine/readline.pm blib/lib/Term/ReadLine/readline.pm
  PERL_DL_NONLAZY=1 /usr/local/bin/perl5.10.1 "-Iblib/lib" "-Iblib/arch" test.pl
  Unknown error
  Compilation failed in require at blib/lib/Term/ReadLine/Perl.pm line 63.
  make: *** [test_dynamic] Error 2
  FAIL

This is a case where I can feel pretty confident that I can just install
anyway, and I don't know how on earth I got that busted T:RL:P install, but it
seemed worth bringing up.

-- 
rjbs

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About