Re: using rpmbuild with PostgreSQL 9.2.6 source code

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Sameer Kumar <sameer(dot)kumar(at)ashnik(dot)com>
Cc: PostgreSQL General Discussion Forum <pgsql-general(at)postgresql(dot)org>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: using rpmbuild with PostgreSQL 9.2.6 source code
Date: 2014-01-20 08:52:33
Message-ID: 1390207953.2416.3.camel@asus02-laptop04.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers


Hi,

On Mon, 2014-01-20 at 15:46 +0800, Sameer Kumar wrote:

> 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:
>
> error: Failed build dependencies:
> uuid-devel is needed by postgresql92-9.2.6-1PGDG.el6.ppc64
> selinux-policy >= 3.9.13 is needed by
> postgresql92-9.2.6-1PGDG.el6.ppc64

You are not using the correct spec file -- the one you are using is for
Fedora. Use RHEL spec file:

http://svn.pgrpms.org/repo/rpm/redhat/9.2/postgresql/EL-6/

(Also, this email do not belong to -hackers. You don't need to
cross-post here)

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Felix.徐 2014-01-20 08:54:41 What is the correct way to get the content of a varchar field in pgsql's source code
Previous Message Sameer Kumar 2014-01-20 08:37:16 Re: [HACKERS] using rpmbuild with PostgreSQL 9.2.6 source code

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Erez 2014-01-20 08:58:55 Re: Add value to error message when size extends
Previous Message Sameer Kumar 2014-01-20 08:37:16 Re: [HACKERS] using rpmbuild with PostgreSQL 9.2.6 source code