pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Donald Fraser <postgres@kiwi-fraser.net>
To: [BUGS] <pgsql-bugs@postgresql.org>
To: [ADMIN] <pgsql-admin@postgresql.org>
Subject: postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 or 9
Date: Mon, 31 Jan 2005 09:10:48 -0000
Message-ID: <002d01c50774$c13a2060$0264a8c0@demolish1> (raw)

I have a standard Redhat 9 installation with the exception of upgrading bison to bison-1.875-7.1

I can build the postgres rpm files from the source for version 7.4.5 no problems with the following command:
rpmbuild --rebuild --define 'build89 1' --define 'python 0' --define 'test 0' --define 'plperl 0'  --define 'tcldevel 0' --define 'pltcl 1' postgresql-7.4.5-2PGDG.src.rpm 

However when I try the exact same on the 7.4.6 source rpm I get the following errors:

checking for zlib.h... yes
checking krb5.h usability... no
checking krb5.h presence... no
checking for krb5.h... no
configure: error: header file <krb5.h> is required for Kerberos 5
error: Bad exit status from /var/tmp/rpm-tmp.27397 (%build)


A quick comparison of the rpm spec file (postgresql-7.4.x-2PGDG.spec) reveals that the 7.4.5 version has the kerberos directory is set via:
%{?build7x:%define kerbdir /usr/kerberos}
%{?build89:%define kerbdir /usr/kerberos}

where as the 7.4.6 version has the kerberos directory is set via:
%{?build7x:%define kerbdir "/usr"}
%{?build89:%define kerbdir "/usr"}

I think you'll agree that this directory change is not the default for Redhat 7, 8 or 9

Regards
Donald Fraser

view thread (4+ messages)  latest in thread

Message-ID: <002d01c50774$c13a2060$0264a8c0@demolish1>
Permalink:  ../002d01c50774$c13a2060$0264a8c0@demolish1/
Also on:    postgresql.org/message-id/002d01c50774$c13a2060$0264a8c0@demolish1

 · 

reply

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-admin@postgresql.org
  Cc: postgres@kiwi-fraser.net, pgsql-bugs@postgresql.org
  Subject: Re: postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 or 9
  In-Reply-To: <002d01c50774$c13a2060$0264a8c0@demolish1>
  References: <002d01c50774$c13a2060$0264a8c0@demolish1>

* 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