Re: Libpq ssl fix

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: Manfred Spraul <manfred(at)colorfullife(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Libpq ssl fix
Date: 2004-05-28 20:49:08
Message-ID: 200405282049.i4SKn8K09111@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Andreas Pflug wrote:
> Manfred Spraul wrote:
>
> >
> >
> > Btw, --enable-thread-safety on Linux (RedHat Fedora Core 1) fails in
> > configure with
> >
> >> configure: error:
> >> *** Thread test program failed. Your platform is not thread-safe.
> >> *** Check the file 'config.log'for the exact reason.
> >
>
> I had this too, for two reasons:
> - configure checks for libpthreads, while the libs are called libpthread
> on my system.

I need to see your config.log output. pgsql/config/acx_pthread.m4 has:

acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread
-pthreads -mthreads pthread --thread-safe -mt pthread-con
fig"

which should test for -lpthread. (Any option without a dash is assumed
to be a library name.)

> - patch for thread_test.c needed posted some hours ago.

Applied.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-05-28 20:50:58 Re: thread safety testing fix
Previous Message Andrew Dunstan 2004-05-28 20:24:52 fix for pg_regress.sh on mingw