Thread: Updates for RPMS.

Updates for RPMS.

From
Lamar Owen
Date:
Sander Steffann has built Red Hat 6.2, 7.3, 9, and RHEL 2.1 RPM's for me, and
I have uploaded them.  The release is different; 0.3PGDG and 0.4PGDG.  I will
be looking at his spec file differences and updating the source RPM soon.
The binary RPM for Fedora will remain at 0.2PGDG for now.

If you have Fedora 1, Aurora 1.0, or Red Hat 8.0, you may continue using the
0.2PGDG set: for these distributions nothing has changed.  The only change is
in the building of the RPMs for Red Hat 6.2, 7.3, 9, and RHEL 2.1.

A 1PGDG RPMset should come soon, once I see what Sander has done.  This will
just be spec file changes, probably, unless another bug appears in the
initscript.
--
Lamar Owen
Director of Information Technology
Pisgah Astronomical Research Institute
1 PARI Drive
Rosman, NC  28772
(828)862-5554
www.pari.edu


Re: Updates for RPMS.

From
david@fetter.org (David Fetter)
Date:
Lamar Owen <lowen@pari.edu> wrote:
> Sander Steffann has built Red Hat 6.2, 7.3, 9, and RHEL 2.1 RPM's
> for me, and I have uploaded them.  The release is different; 0.3PGDG
> and 0.4PGDG.  I will be looking at his spec file differences and
> updating the source RPM soon.  The binary RPM for Fedora will remain
> at 0.2PGDG for now.
> 
> If you have Fedora 1, Aurora 1.0, or Red Hat 8.0, you may continue
> using the 0.2PGDG set: for these distributions nothing has changed.
> The only change is in the building of the RPMs for Red Hat 6.2, 7.3,
> 9, and RHEL 2.1.

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]

# uname -a
Linux fetter.org 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux

# locate krb5.h
/usr/kerberos/include/gssapi/gssapi_krb5.h
/usr/kerberos/include/krb5.h

Is there some way to tell the .spec file where to look for krb5.h?
Did I do something really boneheaded?

> A 1PGDG RPMset should come soon, once I see what Sander has done.

Woohoo!!! :)

Cheers,
D
-- 
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100    cell: +1 415 235 3778

One trend that bothers me is the glorification of stupidity, that the
media is reassuring people it's all right not to know anything....That
to me is far more dangerous than a little pornography on the Internet.
        Carl Sagan
 


Re: Updates for RPMS.

From
Lamar Owen
Date:
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