Re: Problem with 7.4 RPMS for Fedora Core 1

From: Lamar Owen <lowen(at)pari(dot)edu>
To: milimeter <milimeter(at)163(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with 7.4 RPMS for Fedora Core 1
Date: 2003-11-22 04:17:15
Message-ID: 200311212317.15355.lowen@pari.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Friday 21 November 2003 09:33 pm, Lamar Owen wrote:
> On Friday 21 November 2003 09:15 pm, milimeter wrote:
> > errors: ----->
> > An old version of the database format was found.\nYou need to upgrade
> > the data format before using PostgreSQL.\nSee
> > /usr/share/doc/postgresql-7.4/README.rpm-dist for more information.
> > <------
>
> Argh. Typo. Replace /etc/rc.d/init.d/postgresql with the attached script.
> Rename it from postgresql.init to postgresql and put in /etc/rc.d/init.d
>
> My apologies. I'll rebuild shortly.

Rebuilding, and have uploaded Aurora 1.0 and Fedora Core 1 RPMS for PostgreSQL
7.4-0.2PGDG. The same source RPM works for both, and works for Red Hat 8.0
(I'm building that one now; my RH8 machine is a creaky old Pentium 150).

To rebuild on Red Hat 6.2, executing this should work (but I don't have a 6.2
machine on which to try it....)
rpm --define 'build6x 1' --define 'plperl 0' --rebuild
postgresql-7.4-0.2PGDG.src.rpm

To rebuild on Red Hat 7.3:
rpmbuild --define 'build7x' --define 'plperl 0' --rebuild ....

To rebuild on Red Hat 8.0 and 9:
rpmbuild --define 'build89' --rebuild ....

To rebuild on Fedora Core
rpmbuild --rebuild ...

I fixed the initscript this time, I think, and made it more portable on the
build.
--
Lamar Owen
Director of Information Technology
Pisgah Astronomical Research Institute
1 PARI Drive
Rosman, NC 28772
(828)862-5554
www.pari.edu

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brian Hirt 2003-11-22 04:21:25 question about error message
Previous Message Lamar Owen 2003-11-22 02:48:10 Re: Problem with 7.4 RPMS for Fedora Core 1