in reply to cpan: Terminal does not support AddHistory.
To get this to work I also had to install the libreadline package, which on ubuntu is
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 runsudo apt install libreadline6 libreadline6-dev
Now I can use up and down to scroll through history, but I also get this message.cpan install Log::Log4perl
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 ranStarting 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 after that I finally geto conf pushy_https 0 o conf commit
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!cpan shell -- CPAN exploration and modules installation (v2.36) Enter 'h' for help.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: cpan: Terminal does not support AddHistory.
by kcott (Archbishop) on Apr 06, 2025 at 01:23 UTC |