From postgres@kiwi-fraser.net Mon Jan 31 12:20:46 2005 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 473948B9CDB; Mon, 31 Jan 2005 12:20:46 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38316-05; Mon, 31 Jan 2005 12:20:38 +0000 (GMT) Received: from www.postgresql.com (unknown [200.46.204.209]) by svr1.postgresql.org (Postfix) with ESMTP id D88708B9BCA; Mon, 31 Jan 2005 12:19:01 +0000 (GMT) Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.112.4.54]) by www.postgresql.com (Postfix) with ESMTP id 89A8A9A86FE; Mon, 31 Jan 2005 09:11:17 +0000 (GMT) Received: from demolish1 (82-133-64-46.dyn.gotadsl.co.uk [82.133.64.46]) by smtp.nildram.co.uk (Postfix) with SMTP id 498242BC306; Mon, 31 Jan 2005 09:10:47 +0000 (GMT) Message-ID: <002d01c50774$c13a2060$0264a8c0@demolish1> From: "Donald Fraser" To: "[BUGS]" , "[ADMIN]" Subject: postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 or 9 Date: Mon, 31 Jan 2005 09:10:48 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002A_01C50774.C0D87860" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.087 tagged_above=0 required=5 tests=HTML_40_50, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200501/301 X-Sequence-Number: 16160 This is a multi-part message in MIME format. ------=_NextPart_000_002A_01C50774.C0D87860 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=20 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 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 ------=_NextPart_000_002A_01C50774.C0D87860 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have a standard Redhat 9 installation = with the=20 exception of upgrading bison to bison-1.875-7.1
 
I can build the postgres rpm files from = the source=20 for version 7.4.5 no problems with the following command:
rpmbuild --rebuild --define 'build89 1' = --define=20 'python 0' --define 'test 0' --define 'plperl 0'  = --define 'tcldevel=20 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=20 following errors:
checking for zlib.h... yes
checking = krb5.h=20 usability... no
checking krb5.h presence... no
checking for = krb5.h...=20 no
configure: error: header file <krb5.h> is required for = Kerberos=20 5
error: Bad exit status from /var/tmp/rpm-tmp.27397=20 (%build)
 
A quick comparison of the = rpm spec file=20 (postgresql-7.4.x-2PGDG.spec) reveals that the 7.4.5 version has the kerberos directory is set = via:
%{?build7x:%define kerbdir=20 /usr/kerberos}
%{?build89:%define kerbdir=20 /usr/kerberos}
 
where as the 7.4.6 version has the = kerberos=20 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=20 Redhat 7, 8 or 9
 
Regards
Donald Fraser
------=_NextPart_000_002A_01C50774.C0D87860-- From devrim@gunduz.org Mon Jan 31 12:48:23 2005 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C77D58B9B4D; Mon, 31 Jan 2005 12:48:23 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 42492-05; Mon, 31 Jan 2005 12:48:15 +0000 (GMT) Received: from emo.org.tr (emo.org.tr [195.142.105.9]) by svr1.postgresql.org (Postfix) with ESMTP id 9FD808B9B47; Mon, 31 Jan 2005 12:48:17 +0000 (GMT) Received: by emo.org.tr (Postfix, from userid 41643) id 692A42FBEE; Mon, 31 Jan 2005 14:48:12 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by emo.org.tr (Postfix) with ESMTP id 6000511218C; Mon, 31 Jan 2005 14:48:12 +0200 (EET) Date: Mon, 31 Jan 2005 14:48:08 +0200 (EET) From: Devrim GUNDUZ X-X-Sender: devrim2@emo.org.tr To: Donald Fraser Cc: "[BUGS]" , "[ADMIN]" Subject: Re: postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 or In-Reply-To: <002d01c50774$c13a2060$0264a8c0@demolish1> Message-ID: References: <002d01c50774$c13a2060$0264a8c0@demolish1> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.044 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/302 X-Sequence-Number: 16161 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, A workaround is symlinking /usr/lib/kerberos/* to /usr. We are aware of that and 7.4.7 will ship with that change. Regards, On Mon, 31 Jan 2005, Donald Fraser wrote: > 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 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 - -- Devrim GUNDUZ devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFB/ikMtl86P3SPfQ4RArQNAKCtVQkPSfK+fA+I3adSACEXMWB2swCgtqrg L78Kp1684Bd02TmEcZefTXA= =hiBp -----END PGP SIGNATURE----- From esoteric@3times25.net Mon Jan 31 13:05:10 2005 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3679D8B9B65; Mon, 31 Jan 2005 13:05:10 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 45753-07; Mon, 31 Jan 2005 13:05:01 +0000 (GMT) Received: from 3times25.net (duck.3times25.net [66.23.211.34]) by svr1.postgresql.org (Postfix) with ESMTP id 5F5798B9B50; Mon, 31 Jan 2005 13:05:02 +0000 (GMT) Received: from [127.0.0.1] (rhws.home.edu [127.0.0.1]) by 3times25.net (Postfix) with ESMTP id B7DD3745FB; Mon, 31 Jan 2005 08:05:01 -0500 (EST) Message-ID: <41FE2CFD.1090806@3times25.net> Date: Mon, 31 Jan 2005 08:05:01 -0500 From: Geoffrey User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: "[BUGS]" , "[ADMIN]" Subject: Re: postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 References: <002d01c50774$c13a2060$0264a8c0@demolish1> In-Reply-To: <002d01c50774$c13a2060$0264a8c0@demolish1> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.011 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/303 X-Sequence-Number: 16162 Donald Fraser wrote: > 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 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 From esoteric@3times25.net Mon Jan 31 13:17:44 2005 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 778918BA011 for ; Mon, 31 Jan 2005 13:17:44 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 48768-04 for ; Mon, 31 Jan 2005 13:17:36 +0000 (GMT) Received: from 3times25.net (66-23-211-34.clients.speedfactory.net [66.23.211.34]) by svr1.postgresql.org (Postfix) with ESMTP id 092598BA006 for ; Mon, 31 Jan 2005 13:17:38 +0000 (GMT) Received: from [127.0.0.1] (rhws.home.edu [127.0.0.1]) by 3times25.net (Postfix) with ESMTP id 9A82B745FB for ; Mon, 31 Jan 2005 08:17:38 -0500 (EST) Message-ID: <41FE2FF2.3010206@3times25.net> Date: Mon, 31 Jan 2005 08:17:38 -0500 From: Geoffrey User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "[ADMIN]" Subject: Re: postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 References: <002d01c50774$c13a2060$0264a8c0@demolish1> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.036 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200501/304 X-Sequence-Number: 16163 Devrim GUNDUZ wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hi, > > A workaround is symlinking /usr/lib/kerberos/* to /usr. > > We are aware of that and 7.4.7 will ship with that change. Hmm, guess I need to patch my SPEC file. -- Until later, Geoffrey