Brad Nicholson <[EMAIL PROTECTED]> writes:
> On Wed, 2007-09-26 at 07:39 -0700, Darcy Buskermolen wrote:
>> On Wednesday 26 September 2007 07:35:15 Brad Nicholson wrote:
>> > I've just built PG 8.1.10 on AIX 5.3, and encountered the following
>> > error when trying to configure slony.
>> >
>> > pg_config says pg_includeserverdir
>> > is
>> > /opt/dbs/pgsql8110-slony115-AIX5300-05-00-64bit-2007-09-26/include/server/
>> > checking for correct version of PostgreSQL... 8.1
>> > checking PostgreSQL for enable-thread-safety as required on
>> > aix5.3.0.0... yes
>> > checking for PQunescapeBytea in -lpq... no
>> > configure: error: Your version of libpq doesn't have PQunescapeBytea
>> > this means that your version of PostgreSQL is lower than 7.3
>> > and thus not supported by Slony-I.
>>
>> Wild guess, but do you have more than one libpq on the system?
>
> Yes, but nothing that old, and with this being the configure for slony,
> it really shouldn't be finding anything else
>
> export PREFIX=/opt/dbs/pgsql8110-slony115-AIX5300-05-00-64bit-2007-09-26
> LDFLAGS="-Wl,-bbigtoc" CC="gcc -maix64" ./configure \
> --prefix=$PREFIX \
> --bindir=$PREFIX/bin \
> --datadir=$PREFIX/share \
> --libdir=$PREFIX/lib \
> --with-pgconfigdir=$PREFIX/bin \
> --with-pgbindir=$PREFIX/bin \
> --with-pgincludedir=$PREFIX/include \
> --with-pglibdir=$PREFIX/lib \
> --with-pgsharedir=$PREFIX/share
Suggestion:
Remove all of those -- options except for "--with-pgconfigdir=$PREFIX/bin"
There was a *lot* of cleanup done in version 1.2 so that you should
only need to specify the other values individually if:
a) You have some really peculiar setup where they vary from a
'standard' PostgreSQL directory layout, and
b) Also, simultaneously, you are building against a PostgreSQL build
that was hacked around so that its "pg_config" doesn't know the
proper shape of that directory layout.
I *know* that neither a) nor b) is the case, for your installs, so I'm
quite confident you have no need to set other than
--with-pgconfigdir...
--
let name="cbbrowne" and tld="linuxdatabases.info" in String.concat "@"
[name;tld];;
http://www3.sympatico.ca/cbbrowne/sap.html
OS/2: Why marketing matters more than technology...
_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general