Hi,<br><br>Worked for me<br><br>Thanks<br>Viji<br><br><br><br><div class="gmail_quote">On Mon, Jan 12, 2009 at 10:01 PM, Rob Crittenden <span dir="ltr"><<a href="mailto:rcritten@redhat.com">rcritten@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Viji V Nair wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I have done a manual compilation of ipa-client on an RHEL 5.2 x86_64 system. After struggling with a lot of errors I finally got it working by following the below steps.<br>
<br>
Can anyone suggest is there anything wrong in my steps? Can I use the same steps to configure other clients also?<br>
</blockquote>
<br></div>
You'd be better off using the attached patch. This will let you do a build from the top-level and avoid all the version problems. Plus it can build rpms for you.<br>
<br>
% make IPA_VERSION_IS_GIT_SNAPSHOT=no local-dist<br>
<br>
The rpms will be in dist/rpms<br>
<br>
rob<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
<br>
1. Download and  un-compress freeipa source, <a href="http://freeipa.org/downloads/src/freeipa-1.2.1.tar.gz" target="_blank">http://freeipa.org/downloads/src/freeipa-1.2.1.tar.gz</a><br>
<br>
# tar -zxvf freeipa-1.2.1.tar.gz<br>
# cd freeipa-1.2.1/ipa-client<br>
<br>
2. I have installed the following prerequisites after seeing the dependency errors.<br>
<br>
# yum install autoconf automake pkgconfig.x86_64 libtool.x86_64 mozldap-devel.x86_64 krb5-devel.x86_64 openldap-devel.x86_64 python-ldap.x86_64<br>
<br>
3. System was complaining about there is no version.m4 file, so I did a copy paste of<br>
<br></div>
#  cp <a href="http://version.m4.in" target="_blank">version.m4.in</a> <<a href="http://version.m4.in" target="_blank">http://version.m4.in</a>> version.m4<div class="Ih2E3d"><br>
<br>
4. System was telling I should add the contents of /usr/share/aclocal/libtool.m4 to aclocal.m4, so I did<br>
<br>
#  cat /usr/share/aclocal/libtool.m4 >> aclocal.m4<br>
<br>
5. After this I have complied the source using the following commands.<br>
<br>
# ./autogen.sh<br>
# make<br>
# make install<br>
<br>
6. When I started ipa-client-install, it was showing so many missing python module errors, so I have done the following steps to get rid of it.<br>
<br>
a. Downloaded python-krbV-1.0.13-5.el5.x86_64.rpm from (<a href="http://download.fedora.redhat.com/pub/epel/5Server/x86_64/python-krbV-1.0.13-5.el5.x86_64.rpm" target="_blank">http://download.fedora.redhat.com/pub/epel/5Server/x86_64/python-krbV-1.0.13-5.el5.x86_64.rpm</a>) and installed<br>

<br>
# rpm -ivh python-krbV-1.0.13-5.el5.x86_64.rpm<br>
<br>
b. Manually build the other python modules.<br>
<br>
# cd freeipa-1.2.1/ipa-python<br></div>
# python <a href="http://setup.py.in" target="_blank">setup.py.in</a> <<a href="http://setup.py.in" target="_blank">http://setup.py.in</a>> build<br>
# python <a href="http://setup.py.in" target="_blank">setup.py.in</a> <<a href="http://setup.py.in" target="_blank">http://setup.py.in</a>> install<div class="Ih2E3d"><br>
<br>
c. Copied the required python modules to the actual location<br>
<br>
# cp -a /usr/local/lib/python2.4/site-packages/ipaclient /usr/lib64/python2.4/site-packages/<br>
<br>
d. Finally I got a version error, I have done a hard coding to fix it.<br>
<br></div>
# cp <a href="http://version.py.in" target="_blank">version.py.in</a> <<a href="http://version.py.in" target="_blank">http://version.py.in</a>> /usr/lib/python2.4/site-packages/ipa/version.py<div class="Ih2E3d"><br>

# cat /usr/lib/python2.4/site-packages/ipa/version.py<br>
<br>
#VERSION="__VERSION__"<br>
VERSION="1.2.1"<br>
#NUM_VERSION=__NUM_VERSION__<br>
NUM_VERSION="1.2.1"<br>
<br>
Thanks & Regards<br>
Viji<br>
<br>
<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Freeipa-users mailing list<br>
<a href="mailto:Freeipa-users@redhat.com" target="_blank">Freeipa-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/freeipa-users" target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br>
</blockquote>
<br>
</blockquote></div><br>