Re: Libpq ssl fix

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Libpq ssl fix
Дата
Msg-id 200405282049.i4SKn8K09111@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Libpq ssl fix  (Andreas Pflug <pgadmin@pse-consulting.de>)
Ответы Re: Libpq ssl fix  (Manfred Spraul <manfred@colorfullife.com>)
Список 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-patches по дате отправления:

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: thread safety testing fix
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: thread safety testing fix