Antw: Re: 8.3beta2 fails to compile on Centos5 x86_64 - Mailing list pgsql-ports

From Marcel Gsteiger
Subject Antw: Re: 8.3beta2 fails to compile on Centos5 x86_64
Date
Msg-id 473637C8.DB9C.0010.0@milprog.ch
Whole thread Raw
In response to Re: 8.3beta2 fails to compile on Centos5 x86_64  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Antw: Re: 8.3beta2 fails to compile on Centos5 x86_64
List pgsql-ports
>> Trying to rebuild postgresql-8.3beta2-1PGDG.f7.src.rpm on my Centos 5.0 x86_64, I get the error "your platform is
notthread 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
toset 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

pgsql-ports by date:

Previous
From: Tom Lane
Date:
Subject: Re: 8.3beta2 fails to compile on Centos5 x86_64
Next
From: Tom Lane
Date:
Subject: Re: Antw: Re: 8.3beta2 fails to compile on Centos5 x86_64