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