2014-01-20 10:50 keltezéssel, Sameer Kumar írta:
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:
Both exist. libuuid[-devel] is part of util-linux, uuid[-devel] is a standalone library
with a different API.
This is from Fedora 20:
$ rpm -q libuuid-devel uuid-devel
libuuid-devel-2.24-2.fc20.x86_64
uuid-devel-1.6.2-21.fc20.x86_64
You need to install uuid-devel, this is the one needed for building PostgreSQL.
http://mirrors.kernel.org/centos/6.5/os/x86_64/Packages/ carries both
uuid-1.6.1-10.el6.x86_64.rpm
and
uuid-devel-1.6.1-10.el6.x86_64.rpm
You just need to find a mirror that has ppc64 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.
--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general