pcp
[Top] [All Lists]

Re: cpp pre-req to start pcp/pmcd?

To: jerry.mlist@xxxxxxxxxx
Subject: Re: cpp pre-req to start pcp/pmcd?
From: Ken McDonell <kenmcd@xxxxxxxxxxxxxxxxx>
Date: Wed, 13 Aug 2003 07:33:56 +1000
Cc: pcp@xxxxxxxxxxx
In-reply-to: <20030812182746.3BC54450E@opal.cc.uky.edu>
Sender: pcp-bounce@xxxxxxxxxxx
Hmm ... this is a documentation oversight ... on IRIX systems, you
cannot relink the kernel without cpp so _every_ IRIX system has a cpp
variant lurking somewhere.  This is not necessarily true for other OS
variants.

The PCP performance metrics name space (PMNS) may use #define and
#include directives ... as a work around, check your /var/pcp/pmns/root
and remove directives by equivalent hand editing, and then make one of
the cpp paths below a link to "cat".

But you'll next run into problems with installing the PMDAs, because
their local fragments of the PMNS also use cpp directives.

So you will need to install cpp eventually.

I'll try and figure out the right place to document this.

On Tue, 12 Aug 2003 jerry.mlist@xxxxxxxxxx wrote:

>
> pcp version: pcp-2.3.1-4
> OS: Linux
>
> I have a cluster I'd like to run pmcd collectors on.  The compute
> nodes do not presently have cpp available, which appears to be
> required (see below).
>
> Is there any work-around short of installing gcc/cpp on all the
> compute nodes?  I looked through the User/Admin Guide, FAQ, and pcp
> list archives and did not find any mention of this.
>
> Thanks for any feedback,
>
> Jerry
>
> ---
>
>
> # /etc/init.d/pcp start
> Performance Co-Pilot rebuilding PMNS ...
> pmLoadNameSpace: Unable to find an executable cpp at any of ...
>     /lib/cpp
>     /lib/cpp
>     /usr/cpu/sysgen/root/lib/cpp
>     /usr/lib/cpp
>     /usr/cpu/sysgen/root/usr/lib/cpp
> Sorry, but this is fatal
> Rebuilding the Performance Metrics Name Space (PMNS) in /var/pcp/pmns ...
> Rebuild: PCP upgrade processing for "root" PMNS changes ...
> Rebuild: merging the following PMNS files:
> root root_linux root_pmcd
> Rebuild: pmnsmerge failed
>          "root" and "root.bin" have not been changed.
> Performance Co-Pilot starting PMCD (logfile is /var/log/pcp/pmcd/pmcd.log) ...
> Performance Co-Pilot starting archive loggers ...
>


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