Re: Updates for RPMS.

From: Lamar Owen <lowen(at)pari(dot)edu>
To: david(at)fetter(dot)org (David Fetter), pgsql-hackers(at)postgresql(dot)org
Subject: Re: Updates for RPMS.
Date: 2003-11-25 15:15:58
Message-ID: 200311251015.58500.lowen@pari.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Monday 24 November 2003 03:34 pm, David Fetter wrote:
> I just tried building 0.3PGDG on Redhat 9, and got:

> # rpmbuild --rebuild postgresql-7.4-0.3PGDG.src.rpm
> [snip]
> 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.97860 (%build)
> [snip]

> Is there some way to tell the .spec file where to look for krb5.h?

Yes. Try
rpmbuild --define 'build89 1' --rebuild postgresql-7.4-0.3PGDG.src.rpm

I'm looking at automating this; but at the moment it is manual. The spec file
does check the build89 macro, and, if defined, throws in the right value for
kerberos.
--
Lamar Owen
Director of Information Technology
Pisgah Astronomical Research Institute
1 PARI Drive
Rosman, NC 28772
(828)862-5554
www.pari.edu

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2003-11-25 15:18:00 Re: duplicate primary key entries?
Previous Message Lamar Owen 2003-11-25 15:14:11 Re: SRPM (PGDG) will not build

Browse pgsql-hackers by date

  From Date Subject
Next Message Brian Hirt 2003-11-25 15:35:25 fairly serious bug with pg_autovacuum in pg7.4
Previous Message Bruce Momjian 2003-11-25 15:14:50 Re: Build farm