Re: BUG #6166: configure from source fails with 'This platform is not thread-safe.' but was actually /tmp perms

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Alex Soto" <apsoto(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6166: configure from source fails with 'This platform is not thread-safe.' but was actually /tmp perms
Date: 2011-08-17 22:39:24
Message-ID: 18418.1313620764@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Alex Soto" <apsoto(at)gmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2011-08-17 23:32:31 Re: BUG #6166: configure from source fails with 'This platform is not thread-safe.' but was actually /tmp perms
Previous Message Alex Soto 2011-08-17 21:50:45 BUG #6166: configure from source fails with 'This platform is not thread-safe.' but was actually /tmp perms