Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by mpersico (Beadle)
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.

Comment on cpanp - [ERROR] is not a proper distribution name!
Select or Download Code
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-08-28 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls