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.
|