pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matt England <mengland@mengland.net>
To: pgsql-ports@postgresql.org
Cc: mengland@mengland.net
Subject: How to make Fedora4 build threadsafe?
Date: Tue, 28 Feb 2006 23:34:45 -0600
Message-ID: <6.1.2.0.2.20060228233136.0462bda0@127.0.0.1> (raw)

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




view thread (4+ messages)  latest in thread

Message-ID: <6.1.2.0.2.20060228233136.0462bda0@127.0.0.1>
Permalink:  ../6.1.2.0.2.20060228233136.0462bda0@127.0.0.1/
Also on:    postgresql.org/message-id/6.1.2.0.2.20060228233136.0462bda0@127.0.0.1

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: mengland@mengland.net
  Subject: Re: How to make Fedora4 build threadsafe?
  In-Reply-To: <6.1.2.0.2.20060228233136.0462bda0@127.0.0.1>
  References: <6.1.2.0.2.20060228233136.0462bda0@127.0.0.1>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox