Sam Nelson samn at consistentstate.com
Tue Jul 12 08:51:18 PDT 2011
Well, I checked the output of that command and it didn't look right, so I
removed all postgres directories (everything except the postgres cluster) in
/usr/local/pgsql and deleted the old postgresql install directory, extracted
the tarball again, re-configured postgres, and tried again.  This time, I
got what I was expecting from pg_config:

$ /usr/local/pgsql/bin/pg_config --configure
'--with-python' '--with-perl' '--enable-thread-safety'
'--prefix=/usr/local/pgsql'

However, even after doing the above and
adding --with-pgconfigdir=/usr/local/pgsql/bin, Slony refuses to configure.
 It still comes back saying configure: error: PQisthreadsafe test failed -
PostgreSQL needs to be compiled with --enable-thread-safety
---
===========================
Samuel Nelson
Consistent State
www.consistentstate.com
303-955-0509
===========================


On Tue, Jul 12, 2011 at 2:48 AM, Jan Wieck <JanWieck at yahoo.com> wrote:

> On 7/11/2011 6:13 PM, Sam Nelson wrote:
>
>> Hrm.  Didn't seem to help.
>>
>> I did have a few different libpq's on the testing VMs we have set up, so
>> I removed them all.  Now, find / -name '*libpq*' (as root) only finds
>> the instance that has been installed with thread safety.
>>
>> I even tried using --enable-thread-safety-force (and then, as per
>> postres's configure instructions, testing for thread safety with the
>> binary in src/test/thread/, which came back saying the system was thread
>> safe).  Still no luck.
>>
>> I'm using the following flags for slony's ./configure script:
>> --prefix=/usr/local/pgsql/ --with-pgbindir=/usr/local/**pgsql/bin/
>> --with-pglibdir=/usr/local/**pgsql/lib/
>>
>> Do I need anything more than that?
>>
>
> What is the output of
>
>    /usr/local/pgsql/bin/pg_config --configure
>
> and did you try
>
>    ./configure --with-pgconfigdir=/usr/local/**pgsql/bin
>
>
> Jan
>
> --
> Anyone who trades liberty for security deserves neither
> liberty nor security. -- Benjamin Franklin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-general/attachments/20110712/ee397615/attachment-0001.htm 


More information about the Slony1-general mailing list