Re: 7.2 PGDG RPMS and readline 4.0 - Mailing list pgsql-general

From Mike Mascari
Subject Re: 7.2 PGDG RPMS and readline 4.0
Date
Msg-id 3C68788A.46A12D05@mascari.com
Whole thread Raw
In response to Re: 7.2 PGDG RPMS and readline 4.0  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: 7.2 PGDG RPMS and readline 4.0  (Rich Shepard <rshepard@appl-ecosys.com>)
List pgsql-general
Rich Shepard wrote:
>
> On Mon, 11 Feb 2002, Mike Mascari wrote:
>
> > Okay. I've downloaded the SRPMs of the rawhide readline. My first
> > attempt to build the RPMS via rpm -ba failed because I don't have
> > autoconf > 2.50. I'll download that SRPM, attempt to upgrade autoconf,
> > then attempt to upgrade readline. I'm very thankful for the RedHat 6.2
> > RPMS, BTW. But I'm starting to wander into dependency hell... :-)
>
> Mike,
>
>   I use 'rpm --rebuild ...' except when the source is extracted and I need
> to modify the SPEC file before it builds. In the latter case, I cd to the
> /usr/src/redhat/SPEC directory and run 'rpm -ba ...' from there.
>
> Rich

For some reason, when I do a:

rpm --rebuild readline-4.2a-2.src.rpm

I get:

...
++ libexecdir=${exec_prefix}/libexec
++ datadir=${prefix}/share
++ sysconfdir=${prefix}/etc
++ sharedstatedir=${prefix}/com
++ localstatedir=${prefix}/var
++ libdir=${exec_prefix}/lib
++ includedir=${prefix}/include
++ oldincludedir=/usr/include
++ infodir=${prefix}/info
++ mandir=${prefix}/man
++ PACKAGE_NAME=readline
++ PACKAGE_TARNAME=readline
++ PACKAGE_VERSION=4.2a
++ PACKAGE_STRING=readline 4.2a
++ PACKAGE_BUGREPORT=bug-readline@gnu.org
++ ac_prev=
++ test -n
+++ expr xi386-redhat-linux : x[^=]*=\(.*\)
++ ac_optarg=
error: Bad exit status from /var/tmp/rpm-tmp.13659 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.13659 (%build)


I'm not sure why. Since that failed, however, and I really need a 'psql'
functioning, I just ran 'configure' and 'make all shared' (the %build
stage) by hand and installed in /usr/local/lib. After a 'ldconfig', all
is working well. It kind of defeats the pupose of using RPMS in the
first place, but it works. Perhaps I'm having difficulty building SRPMs
since this was originally a 6.0 install that had various components
upgraded over time. I guess I'll just have to keep current with Red
Hat...

Thanks for the help and the 7.2 RPMS,

Mike Mascari
mascarm@mascari.com

pgsql-general by date:

Previous
From: Mike Mascari
Date:
Subject: Re: 7.2 PGDG RPMS and readline 4.0
Next
From: Rich Shepard
Date:
Subject: Re: 7.2 PGDG RPMS and readline 4.0