pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 or 9
4+ messages / 3 participants
[nested] [flat]

* postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 or 9
@ 2005-01-31 09:10  Donald Fraser <postgres@kiwi-fraser.net>
  0 siblings, 2 replies; 4+ messages in thread

From: Donald Fraser @ 2005-01-31 09:10 UTC (permalink / raw)
  To: [BUGS] <pgsql-bugs@postgresql.org>; pgsql-admin

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

Regards
Donald Fraser

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 or
@ 2005-01-31 12:48  Devrim GUNDUZ <devrim@gunduz.org>
  parent: Donald Fraser <postgres@kiwi-fraser.net>
  1 sibling, 1 reply; 4+ messages in thread

From: Devrim GUNDUZ @ 2005-01-31 12:48 UTC (permalink / raw)
  To: Donald Fraser <postgres@kiwi-fraser.net>; +Cc: [BUGS] <pgsql-bugs@postgresql.org>; pgsql-admin

-----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 <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
>
> 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-----



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8
@ 2005-01-31 13:05  Geoffrey <esoteric@3times25.net>
  parent: Donald Fraser <postgres@kiwi-fraser.net>
  1 sibling, 0 replies; 4+ messages in thread

From: Geoffrey @ 2005-01-31 13:05 UTC (permalink / raw)
  To: ; +Cc: [BUGS] <pgsql-bugs@postgresql.org>; pgsql-admin

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 <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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8
@ 2005-01-31 13:17  Geoffrey <esoteric@3times25.net>
  parent: Devrim GUNDUZ <devrim@gunduz.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Geoffrey @ 2005-01-31 13:17 UTC (permalink / raw)
  To: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2005-01-31 13:17 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-01-31 09:10 postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 or 9 Donald Fraser <postgres@kiwi-fraser.net>
2005-01-31 12:48 ` Re: postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 or Devrim GUNDUZ <devrim@gunduz.org>
2005-01-31 13:17   ` Re: postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 Geoffrey <esoteric@3times25.net>
2005-01-31 13:05 ` Re: postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 Geoffrey <esoteric@3times25.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox