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

From Bruce Momjian
Subject Re: BUG #6166: configure from source fails with 'This platform is not thread-safe.' but was actually /tmp perms
Date
Msg-id 201108201520.p7KFKtA11188@momjian.us
Whole thread Raw
In response to Re: BUG #6166: configure from source fails with 'This platform is not thread-safe.' but was actually /tmp perms  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane wrote:
> Alex Soto <apsoto@gmail.com> writes:
> > Here's the section in the config.log in case it makes a difference
>
> > configure:28808: ./conftest
> > Could not create file in /tmp or
> > Could not generate failure for create file in /tmp **
> > exiting
> > configure:28812: $? = 1
> > configure: program exited with status 1
>
> [ greps... ]  Oh, that error is coming from src/test/thread/thread_test.c.
>
> I wonder why we have that trying to write to /tmp at all, when all the
> other transient junk generated by configure is in the current directory.
> Bruce, do you have a good reason for doing it that way?

No idea --- using the current directory is probably best.

> (The error message seems to be suffering from a bad case of copy-and-
> paste-itis, too.)

OK, let me see if I can fix this.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

pgsql-bugs by date:

Previous
From: "Daniel Farina"
Date:
Subject: BUG #6170: hot standby wedging on full-WAL disk
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #6166: configure from source fails with 'This platform is not thread-safe.' but was actually /tmp perms