[PORTS] How to make Fedora4 build threadsafe?

Matt England <[email protected]> Tue, 28 Feb 2006 23:34:45 -0600
Newsgroups gmane.comp.db.postgresql.ports
Message-ID <[email protected]>
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


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings