pcp
[Top] [All Lists]

Re: [pcp] fche/prefix branch on pcpfans.git

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: [pcp] fche/prefix branch on pcpfans.git
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue, 17 Jul 2012 08:01:08 +1000
Cc: pcp developers <pcp@xxxxxxxxxxx>
In-reply-to: <20120713210843.GC14467@xxxxxxxxxx>
References: <20120713210843.GC14467@xxxxxxxxxx>
On Fri, 2012-07-13 at 17:08 -0400, Frank Ch. Eigler wrote:
> Hi, guys -
> 
> Some progress on the pcp --prefix=PATH work for
> <http://oss.sgi.com/bugzilla/show_bug.cgi?id=921> may be found in the
> pcpfans.git fche/prefix branch.  The gist of the change is that
> 
> % autoconf
> % ./configure --prefix=/some/random/directory
> 
> approximately works to create a self-contained working pcp/pmcd
> installation (with the setting of a handful of environment variables).
> 
> The top level GNUmakefile no longer invokes ./configure; that is left
> to a developer, or to the Makepkgs packager frontend.  It's getting
> ready for testing on non-linux platforms.  Some of them may need a
> greater set of --with-FOOdir type new configure options added to match
> the previous behaviors.

Frank,

Thanks for this.

I'm starting to test this in the QA farm, but need to understand what
you'd expect ...  I'm using your pcpfans branch and the Makepkgs script
there.

For Fedora 15 the differences in the contents of the rpms between
pcpfans (new) and pcp (orig) are as per the attachment.

pcp-*.src.rpm - no surprises

pcp-*.x86_64.rpm
      * init scripts from /etc/rc.d/init -> /etc/sysconfig
      * /usr/include/ stuff added - should not be in this rpm? and
        should be /usr/include/pcp?
      * stuff in /usr/share/doc instead of /usr/share/doc/pcp-<version>
      * bash pmda diffs - ignore these, the pcp code base has moved on
      * ditto for pmdaEventNewActiveQueue.3.gz
      * logs moved from /var/log/pcp to /var/lib/pcp/log

pcp-libs-*.x86_64.rpm
      * builddefs and buildrules omitted (in base rpm)

pcp-libs-devel-*.x86_64.rpm
      * /usr/include/pcp headers omitted (in base rpm)

perl-PCP-LogImport-*.x86_64.rpm
perl-PCP-MMV-*.x86_64.rpm
perl-PCP-PMDA-*.x86_64.rpm
      * perl modules moved from ./usr/lib64/perl5/vendor_perl/auto/PCP
        to ./usr/lib/perl5/x86_64-linux-thread-multi/auto/PCP
      * perl man page moved from ./usr/share/man/man3 to ./usr/man/man3

perl-PCP-LogSummary-*.x86_64.rpm
      * perl modules moved from ./usr/share/perl5/vendor_perl/PCP
        to ./usr/lib/perl5/PCP
      * perl man page moved from ./usr/share/man/man3 to ./usr/man/man3

Are these all expected?  Some of them don't seem right to me.

And the second platform was SuSE where the changes are even larger, but
let's work through the Fedora ones first.

Attachment: eek
Description: Text document

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