On Sat, Sep 27, 2008 at 5:15 PM, Dmitry Karasik <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I would like to ask for an advice, what should I include in my Makefile.PLs to
> avoid being run from under CPANPLUS? Ideally, no action should be taken at
> all by CPANPLUS when such special instruction is met.
>
> I'm having problems with Image::Match tests (see f.ex.
> http://www.nntp.perl.org/group/perl.cpan.testers/2008/09/msg2195557.html ),
> and I can't think of anything else but to avoid CPANPLUS because I believe
> that behaves so wrong on many levels.

On one level, I would suggest not trying to avoid CPANPLUS entirely.
I'm actually surprised that CPANPLUS is reporting a FAIL, since you
have a missing prerequisite (Prima) and therefore that report should
be discarded.

On the other hand, it looks like what's actually failing to load is
Prima::noX11, which doesn't seem to exist on CPAN -- or at least isn't
indexed.  So I'm not sure how that dependency could ever be resolved
by a tester or end-user.  Is it some unreleased Prima module?

I think if you add Prima::noXS to your PREREQ_PM list, then you'll get
CPANPLUS to behave appropriately and discard the report rather than
sending a FAIL.  But that only solves the FAIL report problem -- it
doesn't actually help anyone actually be able to use your module.

-- David

P.S. Kudos for Prima.  I wish I had a good reason to learn and use it
because it always struck me as looking really well done.

Reply via email to