Subject: Re: pgcluster fails thread-safety test
To: -current <current-users@netbsd.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: current-users
Date: 03/14/2005 11:57:20
On Mon, Mar 14, 2005 at 11:26:23AM +0100, Stefan Schumacher wrote:
> I'm trying to compile pgcluster (a replication system for PostgreSQL,
> that can be used as a load balancer to PostgreSQL Clusters, [1]) on a
> NetBSD 2.99.16 i386 from 27.02.2005
>
> ./configure --enable-thread-safety fails with
>
> configure: error:
> *** Thread test program failed. Your platform is not thread-safe.
> *** Check the file 'config.log'for the exact reason.
>
> There are several failures in config.log, some of them regard pthread_
> functions. The complete log can be found at [2]. (I currently have no
> real understanding of pthreads)
The only real problem seems to be that the configure script doesn't
find a strerror_r function. Just implement one and it should be fine ;)
Thomas