BUG #12884: configure script fails on a platform with /tmp directory read only

Поиск
Список
Период
Сортировка
От pgconfbug@yopmail.com
Тема BUG #12884: configure script fails on a platform with /tmp directory read only
Дата
Msg-id 20150320170251.2560.54051@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #12884: configure script fails on a platform with /tmp directory read only  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      12884
Logged by:          X
Email address:      pgconfbug@yopmail.com
PostgreSQL version: 9.0.19
Operating system:   Linux SLES 10 SP2
Description:

On a platform intentionally setup with a /tmp directory readonly but with a
TMPDIR environment variable pointing to a writable location the configure
script fails detecting a non thread safe platform.

Reading of config.log indicates a write failure in /tmp directory for
execution of thread safety conftest program.
The corresponding source is src/test/thread/thread_test.c

The reading of the source shows that this test program explicitly references
/tmp for writing instead of using a TMPDIR capable function like tempnam()

Replacement of hard coded /tmp reference by a suitable value allows
configure to complete sucessfully.

The "make" and "make install" are also OK.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Problem when installing PL/Proxy with Windows OS
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: minor: contrib/btree_gin/btree_gin.c uses DirectFunctionCall3(inet_in,..)