Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I've tried Term::ReadLine::Zoid and also Term::ReadLine::Perl. The Zoid variant installs without a hitch but isn't picked up by the Perl debugger (though perldoc perldebug suggests otherwise). Arrows are just escape sequences. The Perl variant fails to install with ReadKey.c: loadable library and perl binaries are mismatched (got handshake key 0xc180000, needed 0xd700000). Oops?

But then: I was pretty sure that I didn't have that problem under Debian Jessie, for none of the gazillions of XS modules I tend to collect over time. And indeed: I could fire up an old image of mine, and all is fine from Perl 5.10.1 to Perl 5.30.0.

However, my usual suspect right now isn't the Debian version, but rather some perlbrew, or maybe perlbrew plus cpanm issue on my current system. These are the symptoms as given by the debugger on p \%INC:

On the old desktop, for Perl 5.10:

'Term/ReadLine.pm' => '/home/haj/perl5/perlbrew/perls/perl-5.10.1/lib +/5.10.1/Term/ReadLine.pm' 'Term/ReadLine/Gnu.pm' => '/home/haj/perl5/perlbrew/perls/perl-5.10.1 +/lib/site_perl/5.10.1/x86_64-linux/Term/ReadLine/Gnu.pm' 'Term/ReadLine/Gnu/XS.pm' => '/home/haj/perl5/perlbrew/perls/perl-5.1 +0.1/lib/site_perl/5.10.1/x86_64-linux/Term/ReadLine/Gnu/XS.pm

On the new desktop:

'Term/ReadLine.pm' => '/home/haj/perl5/perlbrew/perls/perl-5.30.0/lib +/5.30.0/Term/ReadLine.pm' 'Term/ReadLine/Gnu.pm' => '/home/haj/perl5/lib/perl5/x86_64-linux/Ter +m/ReadLine/Gnu.pm' 'Term/ReadLine/Gnu/XS.pm' => '/home/haj/perl5/lib/perl5/x86_64-linux/ +Term/ReadLine/Gnu/XS.pm'

So, while the old desktop kept the Perl version in the path and therefore each of the Gnu libraries separate, the new desktop doesn't - and therefore the installation processes clobber each other's files. Maybe I goofed up when installing perlbrew and should start over again...

I've no concrete info about your extended question but only vague memories that the command history in the debugger just worked... after setting TERM=dumb, most probably with Term::ReadLine::Gnu because I think that my habit to install that module dates back to my Windows times.


In reply to Re^2: How to install Term::ReadLine::Gnu in perlbrew ... only once? by haj
in thread SOLVED: How to install Term::ReadLine::Gnu in perlbrew ... only once? by haj

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (7)
    As of 2020-04-09 21:12 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      The most amusing oxymoron is:
















      Results (49 votes). Check out past polls.

      Notices?