Обсуждение: using rpmbuild with PostgreSQL 9.2.6 source code

Поиск
Список
Период
Сортировка

using rpmbuild with PostgreSQL 9.2.6 source code

От
Sameer Kumar
Дата:
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:

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
        systemd-units is needed by postgresql92-9.2.6-1PGDG.el6.ppc64


I have attached the list of installed packages on my server.

Best Regards,
Sameer Kumar | Database Consultant
ASHNIK PTE. LTD.
101 Cecil Street, #11-11 Tong Eng Building, Singapore 069533
M : +65 8110 0350 T: +65 6438 3504 | www.ashnik.com
www.facebook.com/ashnikbiz | www.twitter.com/ashnikbiz

email patch

This email may contain confidential, privileged or copyright material and is solely for the use of the intended recipient(s).

Вложения

Re: [HACKERS] using rpmbuild with PostgreSQL 9.2.6 source code

От
Pavel Stehule
Дата:
Hello

you need installed devel packages 

Regards

Pavel Stehule


2014/1/20 Sameer Kumar <sameer.kumar@ashnik.com>
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:

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
        systemd-units is needed by postgresql92-9.2.6-1PGDG.el6.ppc64


I have attached the list of installed packages on my server.

Best Regards,
Sameer Kumar | Database Consultant
ASHNIK PTE. LTD.
101 Cecil Street, #11-11 Tong Eng Building, Singapore 069533
M : +65 8110 0350 T: +65 6438 3504 | www.ashnik.com
www.facebook.com/ashnikbiz | www.twitter.com/ashnikbiz

email patch

This email may contain confidential, privileged or copyright material and is solely for the use of the intended recipient(s).



--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Вложения

Re: using rpmbuild with PostgreSQL 9.2.6 source code

От
Sameer Kumar
Дата:



you need installed devel packages 



I tried to install these packages (uuid-devel and systemd-unit) but yum can not locate these packages. I tried to install selinux-policy but I found out that selinux-policy 3.7.19 is already installed and is the latest package available in Red Hat repository (whereas the build process is looking for 3.9.13).

Regards
Sameer

Re: using rpmbuild with PostgreSQL 9.2.6 source code

От
Devrim GÜNDÜZ
Дата:
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



Вложения