dbTalk Databases Forums  

Re: [BUGS] [ADMIN] postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] [ADMIN] postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Geoffrey
 
Posts: n/a

Default Re: [BUGS] [ADMIN] postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 - 01-31-2005 , 08:56 PM






Donald Fraser wrote:
Quote:
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
Can't help you a lot as I'm no expert on spec files, but I have recently
rebuilt 7.4.6-2 from src.rpm after applying a couple of patches (bug
dealing with intervals/rtree memory leak). Although I do see the
kerberos entries you note, there's another reference to kerberos in the
spec file:

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

As noted, I'm not a spec file expert and don't have the time to research
this at this point, but maybe it will give you a lead as to resolving
your issues.

--
Until later, Geoffrey

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.