X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id C55EC9DC897 for ; Wed, 1 Mar 2006 01:58:09 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 03878-07 for ; Wed, 1 Mar 2006 01:58:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by postgresql.org (Postfix) with ESMTP id 7AA0B9DC84C for ; Wed, 1 Mar 2006 01:58:07 -0400 (AST) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 6C84CD38C3B; Wed, 1 Mar 2006 00:58:07 -0500 (EST) Received: from frontend2.messagingengine.com ([10.202.2.151]) by frontend1.internal (MEProxy); Wed, 01 Mar 2006 00:58:07 -0500 X-Sasl-enc: HtMmQr3uISldX78GGBI5CmBN3OoFsZmgUHcknllxChpa 1141192686 Received: from matts-laptop.mengland.net (h-69-3-229-2.chcgilgm.covad.net [69.3.229.2]) by frontend2.messagingengine.com (Postfix) with ESMTP id CE64E58A117; Wed, 1 Mar 2006 00:58:06 -0500 (EST) Reply-To: "Matthew England" Message-Id: <6.1.2.0.2.20060228235504.045caa08@127.0.0.1> X-Sender: mail.core.com:mme@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0 Date: Tue, 28 Feb 2006 23:57:53 -0600 To: pgsql-ports@postgresql.org From: Matt England Subject: Re: How to make Fedora4 build threadsafe? Cc: mengland@mengland.net In-Reply-To: <6.1.2.0.2.20060228233136.0462bda0@127.0.0.1> References: <6.1.2.0.2.20060228233136.0462bda0@127.0.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.16 required=5 tests=[AWL=0.160, REPTO_QUOTE_QUALCOMM=0] X-Spam-Score: 0.16 X-Spam-Level: X-Archive-Number: 200603/2 X-Sequence-Number: 2326 At 2/28/2006 11:34 PM, Matt England wrote: >checking thread safety of required library functions... no >configure: error: >*** Thread test program failed. Your platform is not thread-safe. >*** Check the file 'config.log'for the exact reason. For what it's worth, this seems to be pertinent part of config.log: [...] configure:16424: checking for the pthreads library -lpthreads configure:16462: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -D_GNU_SOURCE conftest.c -lpthreads -lz -lreadline -ltermcap -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5 conftest.c: In function 'main': conftest.c:125: warning: 'th' is used uninitialized in this function /usr/bin/ld: cannot find -lpthreads collect2: ld returned 1 exit status configure:16468: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "PostgreSQL" [...] ...although the thing is so long that it's hard to tell. I couldn't find a pthreads library/package/thing anywhere, or at least not yet. My system *does* have a /usr/lib/libpthread.so (singular), but no libpthreads (plural). Installing linuxpthreads-devel didn't solve anything. Any thoughts? -Matt