From 2e454ce2f1d55edee80b2a5f0a9877bd4d11fba6 Mon Sep 17 00:00:00 2001 From: binxubj Date: Wed, 31 Oct 2012 09:49:06 +0000 Subject: [PATCH] update the steps to build ossp uuid on SLES Former-commit-id: 1965d981f58a64ddbb534041131b84bae89f0e68 --- postgres91/Build-notes | 4 ++++ postgres91/uuid.spec | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/postgres91/Build-notes b/postgres91/Build-notes index d69e2e7..67d95d8 100644 --- a/postgres91/Build-notes +++ b/postgres91/Build-notes @@ -48,6 +48,10 @@ rpmbuild -ba postgresql-9.1.spec * Or just add the repository zypper ar http://download.opensuse.org/repositories/server:/database:/postgresql/SLE_11_SP2_Update/ postgresql_build zypper install uuid-devel + * On ppc64, need to rebuild ossp uuid from the source rpm + zypper ar http://download.opensuse.org/repositories/server:/database:/postgresql/SLE_11_SP2_Update/ postgresql_build + zypper si uuid + rpmbuild -ba /usr/src/packages/SPECS/uuid.spec 3) Download the src rpms for postgresql from "openSUSE" project on OBS * wget http://download.opensuse.org/repositories/openSUSE:/12.2:/Update/standard/src/postgresql-libs-9.1.5-7.8.1.src.rpm diff --git a/postgres91/uuid.spec b/postgres91/uuid.spec index d34ef88..b5670c8 100644 --- a/postgres91/uuid.spec +++ b/postgres91/uuid.spec @@ -119,9 +119,9 @@ export PGSQL_NAME=$(pwd)/pgsql/libossp-uuid.so --disable-static \ --without-perl \ --without-php \ - --with-dce \ - --with-cxx \ - --with-pgsql + --without-dce \ + --without-cxx \ + --without-pgsql make LIBTOOL=/usr/bin/libtool %{?_smp_mflags}