Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

problems installing Term::ReadLine::Gnu

by baxy77bax (Deacon)
on Feb 02, 2011 at 10:40 UTC ( [id://885704]=perlquestion: print w/replies, xml ) Need Help??

baxy77bax has asked for the wisdom of the Perl Monks concerning the following question:

Hi, just a technical question... I'm trying to install the Term::ReadLine::Gnu through cpan and the error message i'm getting is
CPAN.pm: Going to build H/HA/HAYASHI/Term-ReadLine-Gnu-1.20.tar.gz Could not find neither libtermcap.a, libncurses.a, or libcurses. Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=s +ite] Warning (usually harmless): 'YAML' not installed, will not store persi +stent state HAYASHI/Term-ReadLine-Gnu-1.20.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Could not read '/home/bakaric/.cpan/build/Term-ReadLine-Gnu-1.20-q4EmL +0/META.yml'. Falling back to other methods to determine prerequisites Failed during this command: HAYASHI/Term-ReadLine-Gnu-1.20.tar.gz : writemakefile NO '/usr +/bin/perl Makefile.PL INSTALLDIRS=site' returned status 256
What am I missing ??

THNX

PS

I newer had any troubles with it until now. now i switched to Ubuntu 10.4(lucid) 64x

Replies are listed 'Best First'.
Re: problems installing Term::ReadLine::Gnu
by marto (Cardinal) on Feb 02, 2011 at 10:53 UTC

    Try installing libncurses plus libncurses-dev (the package manager/software centre should have them) and then retry the module installation.

Re: problems installing Term::ReadLine::Gnu
by Utilitarian (Vicar) on Feb 02, 2011 at 10:55 UTC
    Hi baxy,

    Ubuntu offers you a wonderful package manager in apt. try the following

    sudo apt-get install libterm-readline-gnu-perl
    This should install all dependencies without the need to footle about

    print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
      Thanks solved the problem on 13.10

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://885704]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-23 22:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found