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

cpanm options diagnosis

by wollmers (Scribe)
on Feb 21, 2014 at 16:56 UTC ( [id://1075752]=perlquestion: print w/replies, xml ) Need Help??

wollmers has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

yesterday I reinstalled perlbrew on my Mac OSX 10.9 Mavericks,

- installed perl-5.16.3 under perlbrew

- perlbrew install-cpanm

$ which cpanm /Users/helmut/perl5/perlbrew/bin/cpanm $ echo $PERL_CPANM_OPT $ echo $PATH /Users/helmut/perl5/perlbrew/bin:/Users/helmut/perl5/perlbrew/perls/pe +rl-5.16.3/bin:/opt/local/bin:/opt/local/sbin:/Library/PostgreSQL/9.3/ +bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin

But cpanm installed suggested dependencies in case of a plain

$ cpanm Minilla

Where does this installation of the suggested dependencies come from? How can I find it? BTW: Yes, there is more than one cpanm installed (System Perl, Macports, perlbrew)

Means: cpanm behaves like the option --with-suggests is specified/configured, but where can I find this configuration?

TIA Helmut Wollmersdorfer

Replies are listed 'Best First'.
Re: cpanm options diagnosis
by Anonymous Monk on Feb 21, 2014 at 17:27 UTC

      What?

      The configuration of the cpanm options in my installation. cpanm should not install "suggested" per default.

        The configuration of the cpanm options in my installation. cpanm should not install "suggested" per default.

        What configuration of the cpanm options, where did you see that?

        App::cpanminus - It's dependency free (can bootstrap itself), requires zero configuration, and stands alone. When running, it requires only 10MB of RAM.

        update: Please mark your updates , thank you. How do I change/delete my post?

        So you're now saying installing Minilla installed Devel::PPPort and Dist::Zilla for you, as if you were using the experimental --with-suggests?

        It doesn't for me

        $ mversion Devel::PPPort Dist::Zilla Warning: module 'Devel::PPPort' does not seem to be installed. Warning: module 'Dist::Zilla' does not seem to be installed. $ cpanm Minilla --> Working on Minilla Fetching http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Minilla-v0.11.0 +.tar.gz ... OK Configuring Minilla-v0.11.0 ... OK Building and testing Minilla-v0.11.0 ... OK Successfully installed Minilla-v0.11.0 (upgraded from v0.6.2) 1 distribution installed $ mversion Devel::PPPort Dist::Zilla Warning: module 'Devel::PPPort' does not seem to be installed. Warning: module 'Dist::Zilla' does not seem to be installed.

        Also perlbrew doesn't set PERL_CPANM_OPT

Log In?
Username:
Password:

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

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

    No recent polls found