Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

cpanp - [ERROR] is not a proper distribution name!

by mpersico (Scribe)
on Dec 20, 2013 at 14:37 UTC ( #1067955=perlquestion: print w/replies, xml ) Need Help??
mpersico has asked for the wisdom of the Perl Monks concerning the following question:

Greetings.

I am building 5.18.1. The initial build is fine. Then I do a step where I run cpanp -o, parse for out of date modules, filter some out and add some others for local political reasons and then start doing cpan -i --allow_build_interactivity=0 module.... Initially, no issues. However, once I update CPANPLUS to 0.9114 and CPANPLUS::Dist::Build to 0.74, I get the message

[ERROR]  is not a proper distribution name!

each time cpanp is started. It doesn't cause any problems, but I wonder, before I go and report a bug, has anyone else seen this?

TIA, Matt

UPDATE: It was the --allow_build_interactivity=0 flag that was the problem. It is an illegal flag to cpanp. It IS, however, a Config item you can set for cpanp.

Replies are listed 'Best First'.
Re: cpanp - [ERROR] is not a proper distribution name!
by Anonymous Monk on Dec 20, 2013 at 23:50 UTC

    Yes, I've seen that, its usually when the arguments given to cpanp are in wrong order, like  cpanp -i --something CGI or some such permutation (not that important) so the more useful error messages that come earlier don't pop up

    But why update to such old version ( 0.9114 from 2011 )? The current version is CPANPLUS-0.9142

      1) I'll recheck the args for order.

      2) Typo on my part. 0.9144 is what I meant to type.

      3) Thanks!

        Also try the p command from the shell to see more of the error log :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1067955]
Approved by Corion
help
Chatterbox?
[choroba]: Progress! Nowadays, you can write a Perl script to generate such an anagram!
[GotToBTru]: i like to order my chemicals a-la-carte ambrus ;)
[thepkd]: Hi, in trying to create an Array of Hash of Array of Hash. You read it right. Is it possible to dereference it without using temps?

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2016-12-06 13:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (104 votes). Check out past polls.