Re: 7.2 PGDG RPMS and readline 4.0

From: Mike Mascari <mascarm(at)mascari(dot)com>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 7.2 PGDG RPMS and readline 4.0
Date: 2002-02-12 02:06:02
Message-ID: 3C68788A.46A12D05@mascari.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gnu(dot)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(at)mascari(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Mascari 2002-02-12 02:09:47 Re: 7.2 PGDG RPMS and readline 4.0
Previous Message Ed Doyle 2002-02-12 01:49:32 I know this sounds dumb but...