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>
<br>1. Download and  un-compress freeipa source, <a href="http://freeipa.org/downloads/src/freeipa-1.2.1.tar.gz">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>#  cp <a href="http://version.m4.in">version.m4.in</a> version.m4<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">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># python <a href="http://setup.py.in">setup.py.in</a> build<br># python <a href="http://setup.py.in">setup.py.in</a> install<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># cp <a href="http://version.py.in">version.py.in</a> /usr/lib/python2.4/site-packages/ipa/version.py<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>