Re: using rpmbuild with PostgreSQL 9.2.6 source code - Mailing list pgsql-general

From Craig Ringer
Subject Re: using rpmbuild with PostgreSQL 9.2.6 source code
Date
Msg-id 52DCE6E5.7010307@2ndquadrant.com
Whole thread Raw
In response to using rpmbuild with PostgreSQL 9.2.6 source code  (Sameer Kumar <sameer.kumar@ashnik.com>)
Responses Re: using rpmbuild with PostgreSQL 9.2.6 source code
List pgsql-general
On 01/20/2014 03:46 PM, Sameer Kumar wrote:
> Hi,
>
> I have downloaded the tar source code of PostgreSQL and also the SPEC
> file. I am trying to use rpmbuild command but I always get below error:

When you mention something you downloaded, also show the URL you
downloaded it from.

In this case, since it's about package building, we'd kind of need to
know the operating system and version you are running on too. Though
that's guessable from the package list.

Rather than attempting to build PostgreSQL packages, why not use the
existing PGDG packages from http://yum.postgresql.org/ for RHEL / CentOS 6?

If you need to patch them, then you should be able to just "yum install
yum-utils", "yumdownloader --source postgres" to get the srpm, "rpm -i"
the srpm into your ~/RPMBUILD directory, and make any appropriate
modifications before rebuilding.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-general by date:

Previous
From: Felix.徐
Date:
Subject: What is the correct way to get the content of a varchar field in pgsql's source code
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: using rpmbuild with PostgreSQL 9.2.6 source code