pcp
[Top] [All Lists]

perl pmda package install problems

To: "'pcp developers'" <pcp@xxxxxxxxxxx>
Subject: perl pmda package install problems
From: "Ken McDonell" <kenj@xxxxxxxxxxxxxxxx>
Date: Sat, 3 Oct 2015 07:42:07 +1000
Delivered-to: pcp@xxxxxxxxxxx
Thread-index: AdD9WeK46CRrps5lQ7ak/R3CLP1YpA==
On SuSE 12.2 I'm seeing this failure when I try to install rpms ...

        perl(LWP::UserAgent) is needed by
pcp-pmda-elasticsearch-3.10.8-1.x86_64
        perl(LWP::UserAgent) is needed by pcp-pmda-nginx-3.10.8-1.x86_64

Now there is apparently no perl-LWP-UserAgent rpm for this SuSE version.

I've installed LWP::UserAgent from CPAN, perl -e 'use LWP::UserAgent' works
as expected but that does not help resolve the rpm issue.

And I see the activemq pmda also uses LWP::UserAgent but does not have a
Requires line in the spec file.

So my questions are ...

1. how should I fix this for the SuSE QA machine?
2. should this sort of dependency really belong in the packaging?  We don't
do it at all for dpkg and we cannot do it for tarball, so this really means
the pmda install scripts need to check in the required Perl modules are
present.
3. even if this should be in the rpm packaging, should it not (a) be
consistent and (b) work without surprises?

<Prev in Thread] Current Thread [Next in Thread>