Thread: installing in another directory

installing in another directory

From
"Hua-Ying Ling"
Date:
Hi,

I'm trying to install postgresql in a custom directory.  when I run rpm --prefix I'm getting a package is not relocatable error.  Suggestions on how do I get around this?

Thanks
Hua-ying

Re: installing in another directory

From
Alan Hodgson
Date:
On Friday 08 February 2008, "Hua-Ying Ling" <hyling.s1@gmail.com> wrote:
> Hi,
>
> I'm trying to install postgresql in a custom directory.  when I run rpm
> --prefix I'm getting a package is not relocatable error.  Suggestions on
> how do I get around this?

Build your own package, or install from source.

--
Alan

Re: installing in another directory

From
"Scott Marlowe"
Date:
On Feb 8, 2008 3:21 PM, Alan Hodgson <ahodgson@simkin.ca> wrote:
>
> On Friday 08 February 2008, "Hua-Ying Ling" <hyling.s1@gmail.com> wrote:
> > Hi,
> >
> > I'm trying to install postgresql in a custom directory.  when I run rpm
> > --prefix I'm getting a package is not relocatable error.  Suggestions on
> > how do I get around this?
>
> Build your own package, or install from source.

Or use debian or ubuntu.  I'm quite sold on their use as servers for
the ease of having multiple versions of pgsql on the same box through
packaging.  If you're running comparisons of versions for QA etc, it's
nice to be able to have each one running on one box.