Réf. : Re: v8 on AIX5.2 - Mailing list pgsql-general

From frederic.germaneau@bull.net
Subject Réf. : Re: v8 on AIX5.2
Date
Msg-id OF6A8DBFDB.3F48021C-ONC1256F18.0054BB90@frec.bull.fr
Whole thread Raw
Responses Re: Réf. : Re: v8 on AIX5.2
List pgsql-general
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




pgsql-general by date:

Previous
From: Jeff Amiel
Date:
Subject: Re: using database for queuing operations?
Next
From: Kevin Murphy
Date:
Subject: using COPY table FROM STDIN within script run as psql -f file.sql