pcp
[Top] [All Lists]

Re: --prefix does not work.

To: Mark Goodwin <markgw@xxxxxxx>
Subject: Re: --prefix does not work.
From: Brian Harvell <harvell@xxxxxxx>
Date: Wed, 15 Aug 2001 18:40:24 -0400 (EDT)
Cc: <pcp@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.21.0108160757290.1245-100000@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-pcp@xxxxxxxxxxx
On Thu, 16 Aug 2001, Mark Goodwin wrote:

> On Wed, 15 Aug 2001, Brian Harvell wrote:
>
> >
> > Looks like the package isn't very friendly for locating it outside of the
> > default installation directories. Passing in --prefix to configure doesn't
> > do anything.
> >
>
> PCP is not a relocatable RPM because relocatable RPMs seem to need a
> single point of install (so you can move, for e.g. /usr to /usr/local
> or something). Since PCP has multiple install dirs, it can't be
> relocated in this way - it's not the only RPM package with this problem.

I'm talking about when I compile it myself and specify --prefix to configure
like any other gnu/autoconf'd package.

tia[root][18:37][/opt/src/pcp-2.2.1]# ./configure --help | grep prefix
  --prefix=PREFIX         install architecture-independent files in PREFIX
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --program-prefix=PREFIX prepend PREFIX to installed program names


> Instead, you need to edit src/include/pcp.conf.in and change whatever
> directories you need relocated, and then build your own RPM.

yes I did hack up the pcp.conf.in and it ended up giving me an error during the
install because it couldn't copy somewhere. I didn't have time to dig into
the problem.

Brian

-- 

Brian Harvell                harvell@xxxxxxx             http://ToolBoy.com/
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc




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