|
|
Subject: Antw: Re: 8.3beta2 fails to compile on Centos5 x86_64
From: tgl@sss.pgh.pa.us (Tom Lane)
Date: 11/10/2007 5:54:11 PM
"Marcel Gsteiger" <Marcel.Gsteiger@milprog.ch> writes:
>> 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.
Hmm. I suspect either we're short a BuildRequire or two, or you missed
something that's considered part of the standard minimum build
environment. The "exceptions" list on this page shows what Red Hat
considers the core set of packages that needn't be BuildRequire'd:
http://fedoraproject.org/wiki/Packaging/Guidelines#Exceptions
However, none of those look particularly likely to result in the
failure you're seeing here :-(. Could you send along the config.log
output?
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq
Subject: Antw: Re: 8.3beta2 fails to compile on Centos5 x86_64
From: tgl@sss.pgh.pa.us (Tom Lane)
Date: 11/11/2007 10:18:50 AM
"Marcel Gsteiger" <Marcel.Gsteiger@milprog.ch> writes:
>> Hmm. I suspect either we're short a BuildRequire or two, or you missed
>> something that's considered part of the standard minimum build
>> environment. The "exceptions" list on this page shows what Red Hat
>> considers the core set of packages that needn't be BuildRequire'd:
>> http://fedoraproject.org/wiki/Packaging/Guidelines#Exceptions
>> However, none of those look particularly likely to result in the
>> failure you're seeing here :-(. Could you send along the config.log
>> output?
> Thanks for your tip. In fact, my "basic packages, customize later"-type install from DVD did not install the following packages from the mentioned list:
> gcc-c++
> libstdc++-devel
> redhat-rpm-config
> After I have installed these, everything now works perfectly.
Interesting. We don't do any C++ stuff, so I would hope that the first
two of those are irrelevant. redhat-rpm-config, however, might well be
relevant. I remember Devrim running into an odd build failure on a
machine where it wasn't installed.
I wonder if it'd be worth explicitly BuildRequire'ing redhat-rpm-config
in the PGDG SRPM? I don't feel the need to do it in Fedora/RHEL,
because as mentioned there's an explicit policy not to for those
projects. But it seems the PGDG RPMs get rebuilt in a rather wider
variety of environments.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
|