From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alex Soto <apsoto@gmail.com>
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
Date: Wed, 17 Aug 2011 18:39:24 -0400
Message-ID: <18418.1313620764@sss.pgh.pa.us> (raw)
In-Reply-To: <201108172150.p7HLojth021667@wwwmaster.postgresql.org>
References: <201108172150.p7HLojth021667@wwwmaster.postgresql.org>
"Alex Soto" <apsoto@gmail.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, apsoto@gmail.com
Subject: Re: BUG #6166: configure from source fails with 'This platform is not thread-safe.' but was actually /tmp perms
In-Reply-To: <18418.1313620764@sss.pgh.pa.us>
References: <201108172150.p7HLojth021667@wwwmaster.postgresql.org> <18418.1313620764@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox