Réf. : Re: v8 on AIX5.2

From: frederic(dot)germaneau(at)bull(dot)net
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Réf. : Re: v8 on AIX5.2
Date: 2004-09-23 15:59:38
Message-ID: OF6A8DBFDB.3F48021C-ONC1256F18.0054BB90@frec.bull.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kevin Barnard 2004-09-23 16:02:01 Re: Returning recordsets with functions
Previous Message Kevin Murphy 2004-09-23 15:56:09 using COPY table FROM STDIN within script run as psql -f file.sql