How to make Fedora4 build threadsafe?

From: Matt England <mengland(at)mengland(dot)net>
To: pgsql-ports(at)postgresql(dot)org
Cc: mengland(at)mengland(dot)net
Subject: How to make Fedora4 build threadsafe?
Date: 2006-03-01 05:34:45
Message-ID: 6.1.2.0.2.20060228233136.0462bda0@127.0.0.1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Matt England 2006-03-01 05:57:53 Re: How to make Fedora4 build threadsafe?
Previous Message Michael Crozier 2006-03-01 02:57:09 Re: a problem in postgres