Antw: Re: [PORTS] 8.3beta2 fails to compile on Centos5 x86_64

"Marcel Gsteiger" <[email protected]> Sat, 10 Nov 2007 22:59:21 +0100
Newsgroups gmane.comp.db.postgresql.ports
Message-ID <[email protected]>
>> 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. W=
hen 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 on=
ly 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 app=
s against the new version.=20

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

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [email protected] so that your
       message can get through to the mailing list cleanly