"--enable-thread-safety" fails on snapshot version

Started by George Sakkisalmost 19 years ago3 messagesbugs
Jump to latest
#1George Sakkis
george.sakkis@gmail.com

I tried to configure with "--enable-thread-safety" the snapshot
version and it fails with:

"This platform is not thread-safe. Check the file 'config.log'for the
exact reason."

After digging in config.log, the error turns out to be the lack of the
a test file:

conftest.c:144:43: ./src/test/thread/thread_test.c: No such file or directory

Actually the whole src/test directory is missing from the snapshot
versions. After copying it over from my stable version (8.2.3), it
configures fine. Is this is an accidental omission or deliberate ?

Thanks,

George

--
"If I have been able to see further, it was only because I stood on
the shoulders of million monkeys."

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: George Sakkis (#1)
Re: "--enable-thread-safety" fails on snapshot version

"George Sakkis" <george.sakkis@gmail.com> writes:

After digging in config.log, the error turns out to be the lack of the
a test file:

conftest.c:144:43: ./src/test/thread/thread_test.c: No such file or directory

Actually the whole src/test directory is missing from the snapshot
versions.

It's there AFAICS:

$ tar tfz postgresql-snapshot.tar.gz | grep src/test/thread
postgresql-snapshot/src/test/thread
postgresql-snapshot/src/test/thread/Makefile
postgresql-snapshot/src/test/thread/README
postgresql-snapshot/src/test/thread/thread_test.c
$

regards, tom lane

#3George Sakkis
george.sakkis@gmail.com
In reply to: Tom Lane (#2)
Re: "--enable-thread-safety" fails on snapshot version

On 6/11/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:

"George Sakkis" <george.sakkis@gmail.com> writes:

After digging in config.log, the error turns out to be the lack of the
a test file:

conftest.c:144:43: ./src/test/thread/thread_test.c: No such file or directory

Actually the whole src/test directory is missing from the snapshot
versions.

It's there AFAICS:

$ tar tfz postgresql-snapshot.tar.gz | grep src/test/thread
postgresql-snapshot/src/test/thread
postgresql-snapshot/src/test/thread/Makefile
postgresql-snapshot/src/test/thread/README
postgresql-snapshot/src/test/thread/thread_test.c
$

regards, tom lane

Ok, got it; I was downloading the base-snapshot.tar.gz. I was misled
by the note, "The -base package is the only one that is required for
successful installation"; I didn't guess this implies "at least with
the defaut configure settings".

Thanks,
George

--
"If I have been able to see further, it was only because I stood on
the shoulders of million monkeys."