Re: pg_config problem on Solaris 10u7 X64

From: Bjorn Munch <bjorn(dot)munch(at)oracle(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_config problem on Solaris 10u7 X64
Date: 2010-07-22 07:46:56
Message-ID: 20100722074656.GA11313@khepri15.norway.sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 21/07 06.57, Robert Haas wrote:
> On Tue, Jul 20, 2010 at 10:52 PM, Amber <guxiaobo1982(at)gmail(dot)com> wrote:
> >  I am trying to build RPostgreSQL on Solaris 10u7 X64, but have problems
> > with pg_config, the configure script of RPostgreSQL checks for pg_config and
> > got ?checking for pg_config... /usr/bin/pg_config?. In Solaris 10u7 X64,
> > three versions of PostgreSQL are installed, there are in
> > /usr/postgres/8.2(8.2.9) and /usr/postgres/8.3(8.3.3), the corresponding bin
> > files are in /usr/postgres/<version>/bin and
> > /usr/postgres/<version>/bin/amd64, and the libraries in /usr/bin is 8.1.11
> > and it seems a 32bit, and I can?t find the 64bit version bins for 8.1.11.
> > My question is how to let RPostgreSQL configure script find the 64bit
> > pg_config.
>
> My first guess would be to try changing your PATH before running configure.

Yes, you should set your PATH to have /usr/postgres/<version>/bin/64
before /usr/bin, if you want to use the 64 bit pg_config for 8.2 or
8.3.

I think 8.1 was only included as 32 bit in Solaris.

--
Bjorn Munch, Release Engineer
Oracle Corp. (formerly at Sun)
Trondheim, Norway

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Joseph Krogh 2010-07-22 07:57:30 Re: accentuated letters in text-search
Previous Message Alexander Korotkov 2010-07-22 07:21:57 Re: multibyte charater set in levenshtein function