Hi,

Follow the below steps provided by Mr.Rob from FreeIPA-Redhat, and I have
successfully complied and Installed in my test environment.
% cd rpmbuild/SOURCES
% wget
http://kojipkgs.fedoraproject.org/packages/ipa/1.2.2/2.fc11/src/ipa-1.2.2-2.fc11.src.rpm
% rpm2cpio ipa-1.2.2-2.fc11.src.rpm |cpio -idv
% <apply this patch to ipa.spec>
--- ipa.spec.orig       2010-02-03 10:22:04.000000000 -0500
+++ ipa.spec    2010-02-03 10:25:23.000000000 -0500
@@ -16,7 +16,7 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Patch1:         ipa-schema.patch
-BuildRequires:  fedora-ds-base-devel >= 1.1.3
+BuildRequires:  redhat-ds-base-devel >= 8.1
 BuildRequires:  mozldap-devel
 BuildRequires:  svrcore-devel
 BuildRequires:  nspr-devel
@@ -30,7 +30,7 @@
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
-BuildRequires:  popt-devel
+BuildRequires:  popt
 BuildRequires:  /usr/share/selinux/devel/Makefile
 BuildRequires:  m4
 BuildRequires:  policycoreutils >= %{POLICYCOREUTILSVER}
@@ -49,7 +49,7 @@
 Requires: %{name}-client = %{version}-%{release}
 Requires: %{name}-admintools = %{version}-%{release}
 Requires(post): %{name}-server-selinux = %{version}-%{release}
-Requires: fedora-ds-base >= 1.1.3
+Requires: redhat-ds-base >= 8.1
 Requires: openldap-clients
 Requires: nss
 Requires: nss-tools
% rpmbuild -ba ipa.spec
% su
# cd ../RPMS/x86_64
# rpm -Uvh ipa-admintools-1.2.2-2.x86_64.rpm ipa-client-1.2.2-2.x86_64.rpm
ipa-python-1.2.2-2.x86_64.rpm ipa-server-1.2.2-2.x86_64.rpm
ipa-server-selinux-1.2.2-2.x86_64.rpm
# /usr/sbin/ipa-server-install
# kinit admin
# /usr/sbin/ipa-finduser admin
Home Directory: /home/admin
Login Shell: /bin/bash
Last Name: Administrator
Login: admin
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
The UI works too:
# curl -k --negotiate -u : https://ipa.example.com/ipa/ui 2>&1 | grep Logged

On Wed, Mar 17, 2010 at 1:22 PM, Gerrard Geldenhuis <
gerrard.geldenh...@betfair.com> wrote:

>  Hi
>
> I was wondering if anyone has had any luck in getting FreeIPA compiled and
> installed on Centos. I am struggling a bit at the moment. I have downloaded
> a fedora source package which I have tried to compile but can’t even get the
> package to install at the moment. I get the error:
>
> error: unpacking of archive failed on file
> /usr/src/redhat/SOURCES/Fix-install-with-krb-1.7.patch;4ba0aaed: cpio: MD5
> sum mismatch
>
>
>
> This is the file I downloaded:
>
>
> http://www.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/updates/12/SRPMS/ipa-1.2.2-3.fc12.src.rpm
>
>
>
> Regards
>
> ________________________________________________________________________
> In order to protect our email recipients, Betfair Group use SkyScan from
> MessageLabs to scan all Incoming and Outgoing mail for viruses.
>
> ________________________________________________________________________
>
> _______________________________________________
> Freeipa-users mailing list
> Freeipa-users@redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-users
>



-- 
Thanks & Regards
Shan Kumaraswamy
_______________________________________________
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Reply via email to