Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Hallo Fellow Monks,

I'm trying to get back to being a reasonably effective Perl user at work, which is difficult since much of my work lately has involved, well ... other things.

I've installed my own local copy of perlbrew (so as to have a Perl playground) and I've got a number of Perl versions installed underneath that. Now, perhaps I've forgotten something vital, but I feel anyway as though weird things are happening when I try to install modules with cpanm. I've been getting a lot of this sort of thing lately:

bash-4.1$ cpanm Getopt::Lucid; --> Working on Getopt::Lucid Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Getopt-Lucid-1.0 +8.tar.gz ... OK Configuring Getopt-Lucid-1.08 ... OK ==> Found dependencies: Exception::Class::TryCatch --> Working on Exception::Class::TryCatch Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Exception-Class- +TryCatch-1.13.tar.gz ... OK Configuring Exception-Class-TryCatch-1.13 ... OK Building and testing Exception-Class-TryCatch-1.13 ... OK Successfully installed Exception-Class-TryCatch-1.13 ! Installing the dependencies failed: Module 'Exception::Class::TryCat +ch' is not installed ! Bailing out the installation for Getopt-Lucid-1.08. 1 distribution installed bash-4.1$ cpanm Exception::Class::TryCatch; --> Working on Exception::Class::TryCatch Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Exception-Class- +TryCatch-1.13.tar.gz ... OK Configuring Exception-Class-TryCatch-1.13 ... OK Building and testing Exception-Class-TryCatch-1.13 ... OK Successfully installed Exception-Class-TryCatch-1.13 1 distribution installed bash-4.1$ cpanm Getopt::Lucid; --> Working on Getopt::Lucid Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Getopt-Lucid-1.0 +8.tar.gz ... OK Configuring Getopt-Lucid-1.08 ... OK ==> Found dependencies: Exception::Class::TryCatch --> Working on Exception::Class::TryCatch Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Exception-Class- +TryCatch-1.13.tar.gz ... OK Configuring Exception-Class-TryCatch-1.13 ... OK Building and testing Exception-Class-TryCatch-1.13 ... OK Successfully installed Exception-Class-TryCatch-1.13 ! Installing the dependencies failed: Module 'Exception::Class::TryCat +ch' is not installed ! Bailing out the installation for Getopt-Lucid-1.08. 1 distribution installed

Unless I'm being very stupid, that's me trying to install Getopt::Lucid, with cpanm finding a dependency (Exception::Class::TryCatch) and installing it (apparently successfully) then failing because it can't find that same dependency -- after which I install the dependency by itself, which succeeds (again); however, when I then try to install Getopt::Lucid, the install fails again because of the same dependency which I thought I had successfully installed (perhaps twice).

It could be that I'm just tired, but what could be wrong here? The behavior does not make sense to me.

A tired old f*rt,

Glenn


In reply to flummoxed by cpanm behavior (re: dependencies by chexmix

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2022-09-30 06:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (125 votes). Check out past polls.

    Notices?