Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id A486EB5DBC4 for ; Wed, 17 Aug 2011 19:39:36 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 84060-01 for ; Wed, 17 Aug 2011 22:39:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 128D7B5D80A for ; Wed, 17 Aug 2011 19:39:29 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p7HMdPuF018419; Wed, 17 Aug 2011 18:39:25 -0400 (EDT) To: "Alex Soto" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6166: configure from source fails with 'This platform is not thread-safe.' but was actually /tmp perms In-reply-to: <201108172150.p7HLojth021667@wwwmaster.postgresql.org> References: <201108172150.p7HLojth021667@wwwmaster.postgresql.org> Comments: In-reply-to "Alex Soto" message dated "Wed, 17 Aug 2011 21:50:45 +0000" Date: Wed, 17 Aug 2011 18:39:24 -0400 Message-ID: <18418.1313620764@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-3.037 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-1.137 X-Spam-Level: X-Archive-Number: 201108/106 X-Sequence-Number: 30918 "Alex Soto" writes: > I was trying to build the 9.0.4 source tarball as the postgres user on a > test machine. > The configure step failed with the error: > This platform is not thread-safe. Check the file 'config.log' or compile > and run src/test/thread/thread_test for the exact reason. > Use --disable-thread-safety to disable thread safety. > As I started looking through the log file I noticed that it failed to write > to the /tmp directory. Other configure steps had written to /var/tmp, but > this step tried to write to /tmp for some reason. > I fixed by correcting the permissions on the /tmp dir, but I thought the > error message was a little misleading, so I thought I'd report the problem. Hmm ... I can't find any explicit reference to either /tmp or /var/tmp in our configure script. It seems like this must be an artifact of your compiler, or some other tool you're using. regards, tom lane