Обсуждение: "--enable-thread-safety" fails on snapshot version
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."
"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
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."