Thread: executables when upgrading
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
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
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.
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