I'm trying to evaluate PostgreSQL on AIX 5L(5.2)
I have downloaded sources of PostgreSQL 8.0 beta 2.
As described in documentation,
I, first, launch "compile" then "gmake", and at least "gmake check".
Without the option "--enable-thread-safety" all works fine.
But in versions 5.2 and 5.3 of AIX "compile --enable-thread-safety" issues
with :
*** Thread test program failed. Your platform is not thread-safe.
*** Check the file 'config.log'for the exact reason.
***
*** You can use the configure option --enable-thread-safety-force
*** to force threads to be enabled. However, you must then run
*** the program in src/tools/thread and add locking function calls
*** to your applications to guarantee thread safety.
Contents of config.log is:
configure:16063: checking for the pthreads library -lpthreads
configure:16101: gcc -o conftest -O2 -fno-strict-aliasing conftest.c
-lpth
reads -lz -lreadline -lPW -lgen -lld -lnsl -ldl -lm >&5
In file included from conftest.c:117:
/usr/include/pthread.h:556: parse error before `*'
/usr/include/pthread.h:559: parse error before `*'
/usr/include/pthread.h:563: parse error before `*'
/usr/include/pthread.h:566: parse error before `*'
/usr/include/pthread.h:569: parse error before `*'
/usr/include/pthread.h:572: parse error before `*'
/usr/include/pthread.h:575: parse error before `*'
/usr/include/pthread.h:578: parse error before `*'
/usr/include/pthread.h:581: parse error before `*'
thanks
Frédéric