How to make Fedora4 build threadsafe? - Mailing list pgsql-ports

From Matt England
Subject How to make Fedora4 build threadsafe?
Date
Msg-id 6.1.2.0.2.20060228233136.0462bda0@127.0.0.1
Whole thread Raw
Responses Re: How to make Fedora4 build threadsafe?
Re: How to make Fedora4 build threadsafe?
List pgsql-ports
I experienced this error while running this ./configure:

./configure --enable-thread-safety --prefix=/cgrid/local/postgresql

on FedoraCore4:

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.

[mengland@localhost postgresql-8.1.3]$


Is there anything I can do to fix this?  Install some extra/different
libraries?  (I'm trying a ./configure run after installing
"linuxthreads-devel" right now.)

I didn't have this problem building 8.1.0/8.1.1 with the same procedure on
Centos4.1 and Debian3.1 (sarge) systems, for whatever that's worth.

-Matt


pgsql-ports by date:

Previous
From: Michael Crozier
Date:
Subject: Re: a problem in postgres
Next
From: Matt England
Date:
Subject: Re: How to make Fedora4 build threadsafe?