Ahoy 3 years later!

To get this to work I also had to install the libreadline package, which on ubuntu is

sudo apt install libreadline6 libreadline6-dev
I think you might be able to just install libreadline-dev, but I did it the above way and it worked. Then I had to run
cpan install Log::Log4perl
Now I can use up and down to scroll through history, but I also get this message.
Starting with version 2.29 of the cpan shell, a new download mechanism is the default which exclusively uses cpan.org as the host to download from. The configuration variable pushy_https can be used to (de)select the new mechanism. Please read more about it and make your choice between the old and the new mechanism by running o conf init pushy_https Once you have done that and stored the config variable this dialog will disappear.
So basically 0 means use the urllist, and 1 or undef means only ever use CPAN and ignore the urllist. Apparently this was in response to a spoofing attack a couple years ago but could cause problems if you try to use a mirror or something like that. There is a question and response about it on stack overlow. https://stackoverflow.com/questions/75523351/cpan-not-using-configured-repo-instead-trying-to-connect-to-cpan-org-when-instal So I ran
o conf pushy_https 0 o conf commit
So after that I finally get
cpan shell -- CPAN exploration and modules installation (v2.36) Enter 'h' for help.
And I can scroll through my log and no more errors or warnings on startup. Thanks for the heads up man. I stumbled on this trying to install Gtk2 and Gnome2::Canvas which also dont work unless you install them manually from source. Thanks and Good Luck!

In reply to Re: cpan: Terminal does not support AddHistory. by Anonymous Monk
in thread cpan: Terminal does not support AddHistory. by kcott

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, details, 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, summary, 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.