<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
Rob Crittenden wrote:<br>
<blockquote type="cite">
  <pre style="margin: 0em;">Viji V Nair wrote:
  </pre>
  <blockquote
 style="border-left: 0.2em solid rgb(85, 85, 238); margin: 0em; padding-left: 0.85em;">
    <pre style="margin: 0em;">Hi,

    </pre>
    <tt>I have done a manual compilation of ipa-client on an RHEL 5.2
x86_64 </tt><tt>system. After struggling with a lot of errors I
finally got it working </tt><tt>by following the below steps.
    </tt><tt>Can anyone suggest is there anything wrong in my steps?
Can I use the </tt><tt>same steps to configure other clients also?
    </tt></blockquote>
  <tt>You'd be better off using the attached patch. This will let you
do a </tt><tt>build from the top-level and avoid all the version
problems. Plus it can </tt><tt>build rpms for you.
  </tt>
  <pre style="margin: 0em;">% make IPA_VERSION_IS_GIT_SNAPSHOT=no local-dist

The rpms will be in dist/rpms

rob

  </pre>
</blockquote>
<br>
Does this replace everything after step 2 or everything after step 4?<br>
<br>
Are there any plans to make client binaries available for download for
systems other than Fedora?  It would certainly make things easier for
testing against existing systems.<br>
<br>
<blockquote type="cite">
  <pre style="margin: 0em;"></pre>
  <tt>1. Download and un-compress freeipa source, </tt><tt><a
 rel="nofollow"
 href="http://freeipa.org/downloads/src/freeipa-1.2.1.tar.gz">http://freeipa.org/downloads/src/freeipa-1.2.1.tar.gz</a>
  </tt>
  <pre style="margin: 0em;"># tar -zxvf freeipa-1.2.1.tar.gz
# cd freeipa-1.2.1/ipa-client

  </pre>
  <tt>2. I have installed the following prerequisites after seeing the </tt><tt>dependency
errors.
  </tt><tt># yum install autoconf automake pkgconfig.x86_64
libtool.x86_64 </tt><tt>mozldap-devel.x86_64 krb5-devel.x86_64
openldap-devel.x86_64 </tt><tt>python-ldap.x86_64
  </tt><tt>3. System was complaining about there is no version.m4 file,
so I did a </tt><tt>copy paste of
  </tt>
  <pre style="margin: 0em;">#  cp version.m4.in <<a rel="nofollow"
 href="http://version.m4.in">http://version.m4.in</a>> version.m4

  </pre>
  <tt>4. System was telling I should add the contents of </tt><tt>/usr/share/aclocal/libtool.m4
to aclocal.m4, so I did
  </tt>
  <pre style="margin: 0em;">#  cat /usr/share/aclocal/libtool.m4 >> aclocal.m4

5. After this I have complied the source using the following commands.

# ./autogen.sh
# make
# make install

  </pre>
  <tt>6. When I started ipa-client-install, it was showing so many
missing </tt><tt>python module errors, so I have done the following
steps to get rid of it.
  </tt><tt>a. Downloaded python-krbV-1.0.13-5.el5.x86_64.rpm from </tt><tt>(<a
 rel="nofollow"
 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>)
  </tt><tt>and installed
  </tt>
  <pre style="margin: 0em;"># rpm -ivh python-krbV-1.0.13-5.el5.x86_64.rpm

b. Manually build the other python modules.

# cd freeipa-1.2.1/ipa-python
# python setup.py.in <<a rel="nofollow" href="http://setup.py.in">http://setup.py.in</a>> build
# python setup.py.in <<a rel="nofollow" href="http://setup.py.in">http://setup.py.in</a>> install

c. Copied the required python modules to the actual location

  </pre>
  <tt># cp -a /usr/local/lib/python2.4/site-packages/ipaclient </tt><tt>/usr/lib64/python2.4/site-packages/
  </tt>
  <pre style="margin: 0em;">d. Finally I got a version error, I have done a hard coding to fix it.

  </pre>
  <tt># cp version.py.in <<a rel="nofollow"
 href="http://version.py.in">http://version.py.in</a>> </tt><tt>/usr/lib/python2.4/site-packages/ipa/version.py
  </tt>
  <pre style="margin: 0em;"># cat /usr/lib/python2.4/site-packages/ipa/version.py

#VERSION="__VERSION__"
VERSION="1.2.1"
#NUM_VERSION=__NUM_VERSION__
NUM_VERSION="1.2.1"

Thanks & Regards
Viji
  </pre>
</blockquote>
</body>
</html>