Thread: executables when upgrading

executables when upgrading

From
"Jay O'Connor"
Date:
I have some servers to install postgres on.  They already have 7.1 on them
and I'm installing 7.3.2.  The install for 7.1 put everything in /usr/bin/,
but the install for 7.3.2 puts everything in /usr/local/pgsql/bin.  Anyway
to make the install put the binaries in /usr/bin/? Otherwise I just have
ascript that removes the binaries from /usr/bin/ and replaces them with
symlinks to the files in /usr/local/pgsql/bin


Take care,
Jay

Re: executables when upgrading

From
Richard Huxton
Date:
On Tuesday 13 May 2003 10:58 pm, Jay O'Connor wrote:
> I have some servers to install postgres on.  They already have 7.1 on them
> and I'm installing 7.3.2.  The install for 7.1 put everything in /usr/bin/,
> but the install for 7.3.2 puts everything in /usr/local/pgsql/bin.  Anyway
> to make the install put the binaries in /usr/bin/? Otherwise I just have
> ascript that removes the binaries from /usr/bin/ and replaces them with
> symlinks to the files in /usr/local/pgsql/bin

You can set where various elements of PG are installed when you run
./configure
You can run ./configure --help to get a full list. It's also covered in the
installation instructions of the Administrators Guide (and in the INSTALL
file iirc).
--
  Richard Huxton

Re: executables when upgrading

From
Bruno Wolff III
Date:
On Tue, May 13, 2003 at 14:58:34 -0700,
  Jay O'Connor <joconnor@cybermesa.com> wrote:
> I have some servers to install postgres on.  They already have 7.1 on them
> and I'm installing 7.3.2.  The install for 7.1 put everything in /usr/bin/,
> but the install for 7.3.2 puts everything in /usr/local/pgsql/bin.  Anyway
> to make the install put the binaries in /usr/bin/? Otherwise I just have
> ascript that removes the binaries from /usr/bin/ and replaces them with
> symlinks to the files in /usr/local/pgsql/bin

If you are building from source you can set this when running configure.
Use the --help option to see the options for controlling where various
things get installed.

Re: executables when upgrading

From
"Jay O'Connor"
Date:
On 2003.05.13 14:58 Jay O'Connor wrote:
> I have some servers to install postgres on.  They already have 7.1 on
> them
> and I'm installing 7.3.2.  The install for 7.1 put everything in
> /usr/bin/,
> but the install for 7.3.2 puts everything in /usr/local/pgsql/bin.
> Anyway
> to make the install put the binaries in /usr/bin/? Otherwise I just have
> ascript that removes the binaries from /usr/bin/ and replaces them with
> symlinks to the files in /usr/local/pgsql/bin

./configure --bindir=/usr/bin

ended up being the solution I needed

Take care,
Jay