Skip site navigation (1) Skip section navigation (2)

Antw: Re: 8.3beta2 fails to compile on Centos5 x86_64

From: "Marcel Gsteiger" <Marcel(dot)Gsteiger(at)milprog(dot)ch>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-ports(at)postgresql(dot)org>
Subject: Antw: Re: 8.3beta2 fails to compile on Centos5 x86_64
Date: 2007-11-10 21:59:21
Message-ID: 473637C8.DB9C.0010.0@milprog.ch (view raw or flat)
Thread:
Lists: 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 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

In response to

Responses

pgsql-ports by date

Next:From: Tom LaneDate: 2007-11-10 22:54:11
Subject: Re: Antw: Re: 8.3beta2 fails to compile on Centos5 x86_64
Previous:From: Tom LaneDate: 2007-11-10 20:04:37
Subject: Re: 8.3beta2 fails to compile on Centos5 x86_64

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group