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

From Sameer Kumar
Subject Re: using rpmbuild with PostgreSQL 9.2.6 source code
Date
Msg-id CADp-Sm7+-XW+HzPyBY6+VDiG8iJynQ6cNWnJC9eXySSv51WJrQ@mail.gmail.com
Whole thread Raw
In response to Re: 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  (Boszormenyi Zoltan <zboszor@pr.hu>)
List pgsql-general
Hi,

I still get issues with uuid-devel.

[root@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@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.


pgsql-general by date:

Previous
From: Sameer Kumar
Date:
Subject: Re: using rpmbuild with PostgreSQL 9.2.6 source code
Next
From: Andreas Lubensky
Date:
Subject: Positional parameters and question mark notation