Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Can't find a tree in the forest - CPAN and AddHistory

by Wiggins (Hermit)
on Apr 02, 2010 at 23:29 UTC ( [id://832575]=note: print w/replies, xml ) Need Help??


in reply to Re: Can't find a tree in the forest - CPAN and AddHistory
in thread Can't find a tree in the forest - CPAN and AddHistory

cpan[1]> install Term::ReadLine The most recent version "1.04" of the module "Term::ReadLine" is part of the perl-5.10.1 distribution. To install that, you need to +run force install Term::ReadLine --or-- install D/DA/DAPM/perl-5.10.1.tar.gz Running make test Can't test without successful make ... root@vbp35:/home/user# perl -V |head -3 Summary of my perl5 (revision 5 version 10 subversion 0) configuration +: Platform: ...
I have not looked enough at what is changed in 5.10.1 to upgade to that yet; and I won't 'force' an install of something that might start some prereq war. So I live without history... I guess it wasn't core in 5.10.0, or at least the "right version".

It is always better to have seen your target for yourself, rather than depend upon someone else's description.

Replies are listed 'Best First'.
Re^3: Can't find a tree in the forest - CPAN and AddHistory
by Khen1950fx (Canon) on Apr 03, 2010 at 00:05 UTC
    Term::ReadLine has been core since 5.002. You can run corelist -a Term::ReadLine for a complete list of all the versions that it has been in. Try running cpan Bundle::CPAN. That should do it for you.
      OK; So I need some education about what "core" means to Perl.
      I assume 'core' packages are those that are present when the Perl system is initially installed on the OS. Not something that takes an ancillary/subsequent install.
      This system already had Perl and CPAN installed; so that would have done a 2nd install of some of the 'core' packages? And then a subsequent refreshing/upgrading of CPAN will do a 3rd install (if needed)?
      So why is Term::ReadLine a "core" package? What am I missing?

      It is always better to have seen your target for yourself, rather than depend upon someone else's description.

        Term::ReadLine is distributed with Perl in whatever version is current. So far, the distribution mechanisms of Perl have not yet advanced to the state where a version can always be distributed that will be current in the future. So, as a workaround, intermediate releases of many such modules are done via CPAN so you can upgrade core modules to more current versions even though you don't upgrade your version of Perl.

Re^3: Can't find a tree in the forest - CPAN and AddHistory
by Anonymous Monk on Apr 03, 2010 at 00:07 UTC
Re^3: Can't find a tree in the forest - CPAN and AddHistory
by Anonymous Monk on Oct 23, 2013 at 03:58 UTC
    The line is complaining that you either A) do not have 'make' or B) compiling is not working on your machine at all or C) it tried to compile but failed or D) compiling worked but you may have to be 'root' to install D) is not what you have from the complaint but it often happens Sometimes you need the gcc compiler and the system include files (headers) to be successful in this attempt. Another thing is that different people on your system may have different versions of perl available to them compiling for one does not mean you have compiled for the other. So you might have it working but they may not.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://832575]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-24 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found