Also submitted via web site bug report - Mailing list pgsql-bugs

From Cameron, Thomas
Subject Also submitted via web site bug report
Date
Msg-id 1C455916B3418145B320711B21A2F045A69F03@ex2k.bankofamerica.com
Whole thread Raw
List pgsql-bugs
Howdy -

New to the list, not a PostgreSQL user typically, so don't know if this has already been addressed.

I tried to build RPMs from the source rpm supplied from  the PostgreSQL web site.  The spec file supplied by
postgresql-7.4.6-2PGDG.src.rpmis broken.  When I tried to run: 

rpmbuild -ba --target=i686 --clean postgresql-7.4.6-2PGDG.spec

it fails with:

<major snippage>
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.54607 (%build)

I changed line 20 of the spec file from this:

%{!?kerbdir:%define kerbdir "/usr"}

to this:

%{!?kerbdir:%define kerbdir "/usr/kerberos"}

and it built just fine.

Hoping this is helpful,
--
Thomas Cameron, RHCE, CNE, MCSE, MCT
Assistant Vice President
Linux Design and Engineering
Bank of America
(512) 241-0774

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Wierd rule problem
Next
From: Michael Fuhr
Date:
Subject: Re: BUG #1440: ecpg seg faults