From: Marcel Gsteiger <Marcel.Gsteiger@milprog.ch>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-ports@postgresql.org
Subject: Antw: Re: 8.3beta2 fails to compile on Centos5 x86_64
Date: Sat, 10 Nov 2007 22:59:21 +0100
Message-ID: <473637C8.DB9C.0010.0@milprog.ch> (raw)
In-Reply-To: <19517.1194725077@sss.pgh.pa.us>
References: <473571920200001000066689@192.168.193.17>
<4735726E020000100006668C@192.168.193.17>
<473574E80200001000066693@192.168.193.17>
<473574E8.DB9C.0010.0@milprog.ch>
<473574E8.DB9C.0010.0@milprog.ch>
<19517.1194725077@sss.pgh.pa.us>
>> Trying to rebuild postgresql-8.3beta2-1PGDG.f7.src.rpm on my Centos 5.0 x86_64, I get the error "your platform is not thread safe" during config. When I use the --enable-thread-safety-force option, the build fails with the message
>> undefined reference to pthread_sigmask
>> during the libpq compile.
>Do you have glibc-devel installed? It sounds like you might be missing
>/usr/lib64/libpthread.so, which is in that RPM. However, we do
>BuildRequire glibc-devel, so I'm not sure how you managed to try to
>build the RPM without it.
glibc-devel-2.5-12 is installed, /usr/lib64/libpthread.so exists. This is a very basic CentOS 5 x86_64 install from DVD, 'yum update' afterwards. I only installed the packages that were in the BuildRequire list of the SRPM. I would like to set up this box just for testing my 8.1 and 8.2 database apps against the new version.
Pls let me know if you need some files in the BUILD directory (e.g. config.log).
My only diff from the original SPEC file is:
308c308
< %configure --disable-rpath --enable-thread-safety-force \
---
> %configure --disable-rpath \
Regards
--Marcel
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: Marcel.Gsteiger@milprog.ch, tgl@sss.pgh.pa.us
Subject: Re: 8.3beta2 fails to compile on Centos5 x86_64
In-Reply-To: <473637C8.DB9C.0010.0@milprog.ch>
References: <473571920200001000066689@192.168.193.17> <4735726E020000100006668C@192.168.193.17> <473574E80200001000066693@192.168.193.17> <473574E8.DB9C.0010.0@milprog.ch> <19517.1194725077@sss.pgh.pa.us> <473637C8.DB9C.0010.0@milprog.ch>
* 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