pcp
[Top] [All Lists]

Re: pcp install dirs

To: <al1@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: pcp install dirs
From: Ken McDonell <kenmcd@xxxxxxxxxxxxxxxxx>
Date: Tue, 6 Mar 2001 09:33:19 +1100
Cc: PCP Mails <pcp@xxxxxxxxxxx>
In-reply-to: <200103051842.f25IgDJ15555@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: <kenmcd@xxxxxxx>
Sender: owner-pcp@xxxxxxxxxxx
On Mon, 5 Mar 2001 al1@xxxxxxxxxxxxxxxxxxxxx wrote:

> hello,
>
> i want to build manually the pcp package. At this moment i have
> some problems related to specifying the install-dir-tree.
> Normally pcp is spreaded over the hole "unix" file system:
> /usr, /etc, /var, /usr/man, etc. I wish to install the
> hole package in only one directory. For example:
> /usr/local/pcp-2.1.10/{bin,share,lib,sbin,etc,include,var}.
>
> How can I do that (with minimal effort)?
> In the standard docs i didn't found any hints about that.

I'd start with

        configure.in

and make changes below this block


    dnl
    dnl Work out where to install stuff for this package
    dnl (and where to find stuff at run-time for add-on packages).
    dnl

There are somethings the _have_ to go into / to work properly, e.g. the
magic file for file(1), and whatever rc.d glue you use to get pmcd and
pmie started.

But most of the other stuff can be relocated based on the macros from
configure.in that get translated into parameters in
src/include/pcp.conf (which gets installed in /etc/pcp.conf and is used
by /etc/pcp.env) ... all of the build-time and run-time path selections
are based on the parameter settings in these files.


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