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

Re^2: When cpan returns the dreaded "won't install without force"

by Intrepid (Deacon)
on Mar 23, 2013 at 03:56 UTC ( #1024998=note: print w/replies, xml ) Need Help??

in reply to Re: When cpan returns the dreaded "won't install without force"
in thread When cpan returns the dreaded "won't install without force"

Note: this reply is mainly going to be a redirect to a new node that takes the discussion from this point. Expect an update soon. Withhold critical judgement until then, please.

sundialsvc4 wrote (the quotations may be slightly adjusted to add my emphasis or to enhance clarity if I thought it could be improved):

I have a few particular cases where the “won’t install without” scenario appears in some of the deployments that I maintain:

  1. One package requires a third-party C library, a standard one, but it assumes that the library exists.   (Perhaps this is because there is no one single known-good way to check for it on all systems?)   If it’s not there, you don’t get a prerequisite-error:   you get a nasty failure to compile, with lots of oily parts on the runway when the whole thing finally skids to a stop on the tarmac.
  2. Another package is similar:   the library has been updated and the package requires the newer one, but older deployments of it do exist out there.

“Missing and unrealized prerequisites,” by-the-by, are a definite possibility to be dealt-with in the field.

As to the last, certainly, they are. But as an overall generalization this is far less likely when using the cpan clients to install modules. The clients prompt the user when installation of the module with unfulfilled prereqs has been requested. Not to belabor the point but this is not how the OP reported the pattern of events. No mention was made of cpan prompting her as Makefile was built-which is long before cpan states (after the test run) that it   won't install without force.

These are good points and are scenarios that are familiar to many Perlmonks. The 2 selected statements are both about external dependencies (where “external” in this context means provisioned from outside the CPAN installer universe). Such being the case, and knowing how sticky this whole area can be, I've created a new node [at 1025019 - Dei ex machina - State of the External Dependency Arts] in which to carry on this discussion. The focus of the new write-up will be that indicated by sundialsvc4's speculation Perhaps this is because there is no one single known-good way to check for it on all systems?

Updated 2013-03-23 GMT

  • Comment on Re^2: When cpan returns the dreaded "won't install without force"

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024998]
[Tux]: in the dialog area it shows correct, but the url is broken in the CB
[Discipulus]: you still need to put href:// , no?
[Tux]: [htps://metacpan. org/source/ MLEHMANN/Canary- Stability-2012/| this] is the same link posted on the PM side inside the CB
[Discipulus]: and you wrote ttps and then htps
[Tux]: new try
[Tux]: \o/ (sorry for the noise)
[Discipulus]: anyway, i'm more interested about the general idea: you (and others) do not install modules by this guy. Rigth?
[Tux]: correct
[Tux]: and I know about companies that blocked him for legal reasons. His inability to fix issues (or his tendency to reject/delete issues if he doesn't like them) makes companies block his stuff. They require support
[Discipulus]: ok, and I can imagine is a rationale behaviours. So MCE::Hobo is using one of such modules and automatically become 'blacklisted' for some perl dev

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2017-09-20 07:28 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (234 votes). Check out past polls.