Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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:


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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1067955]
Approved by Corion
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2018-06-19 13:35 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (114 votes). Check out past polls.