Problems building pg 8.1.1

From: mordicus <mordicus(at)free(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: Problems building pg 8.1.1
Date: 2006-01-06 09:25:53
Message-ID: 200601061025.53407.mordicus@free.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

Hi,

I'm unable to compile PostgreSQL 8.1.1 on my Suse 10.0 with thread safety
enabled.

./configure --prefix=/opt/pgsql8.1.1 --enable-thread-safety --with-python
...
...
...
checking thread safety of required library functions... no
configure: error:
*** 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.

And when I look in config.log, I have :

configure:22455: checking thread safety of required library functions
configure:22483: gcc -o conftest -O2 -Wall -Wmissing-prototypes
-Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing
-pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS
-DIN_CONFIGURE -D_GNU_SOURCE conftest.c -lz -lreadline -lcrypt -lresolv
-lnsl -ldl -lm
-lpthread >&5
conftest.c:140:44: error: ./src/tools/thread/thread_test.c: No such file or
directory
configure:22486: $? = 1
configure: program exited with status 1

Is it a problem with my system or is it a configur bug ?

thanks

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2006-01-06 15:31:36 Re: Problems building pg 8.1.1
Previous Message John Supplee 2006-01-05 22:20:48 Re: BUG #2144: Domain NOT NULL constraints ignored in rules

Browse pgsql-general by date

  From Date Subject
Next Message Dumortier 2006-01-06 09:58:16 Problems reading dump files coming from version 7.1 into version 8.1.
Previous Message Matthew Peter 2006-01-06 09:14:38 Re: plpgsql question