pcp
[Top] [All Lists]

Re: [pcp] install failing on openSUSE 13.1

To: Lukas Berk <lberk@xxxxxxxxxx>
Subject: Re: [pcp] install failing on openSUSE 13.1
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 08 May 2015 11:06:28 +1000
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <87egmsknlq.fsf@xxxxxxxxxx>
References: <554BE5F3.5080204@xxxxxxxxxxxxxxxx> <87egmsknlq.fsf@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
On 08/05/15 08:51, Lukas Berk wrote:
>> ...
>>          postfix-perl-scripts is needed by pcp-pmda-postfix-3.10.5-4.i586

> Thanks for catching this, I've commited what I believe is the proper fix
> to my lberk/dev branch.  I'll send out a pcp-updates mail shortly with a
> few other patches.

Lukas,

I've cherry-picked these, thanks.  And they resolve the compat dependency ones.

But the postfix PMDA is a real problem!

1. in this version of opensuse there is no postfix-perl-scripts rpm
2. there is (non-executable!) qshape.pl hidden in an obscure place in the 
postfix-docs rpm (!!)
3. there is already a guard in the pmda's Install script checking for an 
executable qshape

I think we should drop the (newly added?) Requires: clause here so builds will 
work everywhere and perhaps add some extra verbage from the pmda's Install 
script to provide advice on where to find qshape for the various platforms, 
e.g. this would seem to be the advice for opensuse13.1
(a) install postfix-docs
(b) sudo chmod 755 
/usr/share/doc/packages/postfix-doc/auxiliary/qshape/qshape.pl
(c) sudo ln -s /usr/share/doc/packages/postfix-doc/auxiliary/qshape/qshape.pl 
/usr/bin/qshape

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