[ale] Cpan is irritating me, GetHistory problem.

Ed L. Cashin ecashin at noserose.net
Thu Jun 19 16:11:18 EDT 2008


2008/6/19 Jim Lynch <ale_nospam at fayettedigital.com>:
> I keep seeing the "Terminal does not support GetHistory" error message
> every time I run cpan, but I can't figure out how to fix it.  Google
> found thousands of hits, but none of them address that error message
> since it's so common.

Sounds like cpan wants to use readline but isn't.  Lessee ...

  cpan[2]> q
  Terminal does not support GetHistory.
  Lockfile removed.
  ecashin at meili:~$ perl -MTerm::Readline::Gnu -e ''
  Can't locate Term/Readline/Gnu.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .).
  BEGIN failed--compilation aborted.
  ecashin at meili:~$

as root ...

  apt-get update
  apt-cache search 'readline' | grep -i perl
  apt-cache show libterm-readline-gnu-perl
  apt-get install libterm-readline-gnu-perl

as ecashin ...

  cpan[1]> q
  Lockfile removed.
  ecashin at meili:~$

Looks like it was a good guess.  :)

-- 
 Ed L. Cashin <ecashin at noserose.net>


More information about the Ale mailing list