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

Re^2: Can ExtUtils::MakeMaker recommend to install optional modules?

by Anonymous Monk
on Jan 13, 2018 at 13:27 UTC ( #1207196=note: print w/replies, xml ) Need Help??


in reply to Re: Can ExtUtils::MakeMaker recommend to install optional modules?
in thread Can ExtUtils::MakeMaker recommend to install optional modules?

What if I don't want the recommended additional packages? How can I force the build to ignore the recommends? In my case a command line tool recommends, through a chain of dependencies, that I install the X server. I really don't want to do that.
  • Comment on Re^2: Can ExtUtils::MakeMaker recommend to install optional modules?

Replies are listed 'Best First'.
Re^3: Can ExtUtils::MakeMaker recommend to install optional modules?
by Dallaylaen (Hermit) on Jan 13, 2018 at 16:02 UTC

    Default cpan client has recommends_policy and suggests_policy options under o conf just for that. Couldn't find anything in cpanm, but maybe it can, too. No idea about cpanplus.

    Btw installing raw CPAN on perlbrew was nontrivial, though not complicated after all. Maybe brew should bundle a script for that...

      --with-recommends, --with-suggests EXPERIMENTAL: Installs dependencies declared as recommends and suggest +s respectively, per META spec. When these dependencies fail to instal +l, cpanm continues the installation, since they're just recommendatio +n/suggestion. Enabling this could potentially make a circular dependency for a few m +odules on CPAN, when recommends adds a module that recommends back th +e module in return. There's also --without-recommend and --without-suggests to override th +e default decision made earlier in PERL_CPANM_OPT. Defaults to false for both.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1207196]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2018-05-23 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?