Re: using rpmbuild with PostgreSQL 9.2.6 source code

From: Sameer Kumar <sameer(dot)kumar(at)ashnik(dot)com>
To: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Cc: Craig Ringer <craig(at)2ndquadrant(dot)com>, PostgreSQL General Discussion Forum <pgsql-general(at)postgresql(dot)org>
Subject: Re: using rpmbuild with PostgreSQL 9.2.6 source code
Date: 2014-01-20 09:50:02
Message-ID: CADp-Sm7+-XW+HzPyBY6+VDiG8iJynQ6cNWnJC9eXySSv51WJrQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Hi,

I still get issues with uuid-devel.

[root(at)pflex75 SOURCES]# rpmbuild -ba postgresql-9.2.spec
error: Failed build dependencies:
uuid-devel is needed by postgresql92-9.2.6-2PGDG.el6.ppc64

On googling a bit I found that uuid-devel is libuuid-devel on RHEL (is
that the case?). I have below packages:

[root(at)pflex75 SOURCES]# yum install *uuid*
Loaded plugins: product-id, refresh-packagekit, security,
subscription-manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
Setting up Install Process
Package uuidd-2.17.2-12.9.el6.ppc64 already installed and latest version
Package libuuid-2.17.2-12.9.el6.ppc64 already installed and latest version
Package libuuid-devel-2.17.2-12.9.el6.ppc64 already installed and latest
version
Package uuid-1.6.1-10.el6.ppc64 already installed and latest version
Nothing to do

So I changed the requires parameter from uuid-devel to libuuid-devel (which
I have reverted back now) and tried rpmbuild. I got below error:

checking for uuid_export in -lossp-uuid... no
checking for uuid_export in -luuid... no
configure: error: library 'ossp-uuid' or 'uuid' is required for OSSP-UUID
error: Bad exit status from /var/tmp/rpm-tmp.O9zMnW (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.O9zMnW (%build)

Apologies for earlier cross posting to Hackers thread.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Lubensky 2014-01-20 10:00:48 Positional parameters and question mark notation
Previous Message Sameer Kumar 2014-01-20 09:18:15 Re: using rpmbuild with PostgreSQL 9.2.6 source code

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2014-01-20 09:57:43 Re: ALTER TABLESPACE ... MOVE ALL TO ...
Previous Message Marti Raudsepp 2014-01-20 09:36:13 Re: [Lsf-pc] Linux kernel impact on PostgreSQL performance