Hi,<br><br>I could see that you have run "./make.patch", this is not the
right way. You have to patch the original Makefile with the attached
patch<br><br># patch Makefile make.patch (have a look at "man patch", patch [options] [originalfile [patchfile]])<br><br>then run <br><br># make IPA_VERSION_IS_GIT_SNAPSHOT=no local-dist<br><br>Also FYI,<br><br>
Fedora 8, 9 & 10 ships all the IPA packages. You can do a yum install<br><br>Thanks & Regards<br><br>Viji<br><br><div class="gmail_quote">On Tue, Jan 13, 2009 at 2:15 AM, Peter Wolf <span dir="ltr"><<a href="mailto:fobeastic@yahoo.com">fobeastic@yahoo.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><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi,<br>
it's not working for me. I'm using Fedora 10 i386. I did the following:<br><br>- I download the <a rel="nofollow" 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> and put it in a directory, I also install autoconf & automake.<br>
- uncompressed the downloaded file<br>- go into the uncompressed directory and used the make.patch<br>- I have attached the error log<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<br>Also, F10 is not supported, is F9 i386 supported?<br><br>Hopefully to hear from you soon,<br><br>regards,<br><br>Fobe<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1">
<b><span style="font-weight: bold;">From:</span></b> Viji V Nair <<a href="mailto:viji@fedoraproject.org" target="_blank">viji@fedoraproject.org</a>><br><b><span style="font-weight: bold;">To:</span></b> Rob Crittenden <<a href="mailto:rcritten@redhat.com" target="_blank">rcritten@redhat.com</a>><br>
<b><span style="font-weight: bold;">Cc:</span></b> <a href="mailto:freeipa-users@redhat.com" target="_blank">freeipa-users@redhat.com</a><br><b><span style="font-weight: bold;">Sent:</span></b> Monday, January 12, 2009 6:08:20 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeipa-users] RHEL 5 Compiling ipa-client (only) from source<br></font><div><div></div><div class="Wj3C7c"><br>
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 rel="nofollow" href="mailto:rcritten@redhat.com" target="_blank">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>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>
<br>
1. Download and  un-compress freeipa source, <a rel="nofollow" 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 rel="nofollow" href="http://version.m4.in" target="_blank">version.m4.in</a> <<a rel="nofollow" href="http://version.m4.in" target="_blank">http://version.m4.in</a>> version.m4<div><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 rel="nofollow" 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 rel="nofollow" href="http://setup.py.in" target="_blank">setup.py.in</a> <<a rel="nofollow" href="http://setup.py.in" target="_blank">http://setup.py.in</a>> build<br>
# python <a rel="nofollow" href="http://setup.py.in" target="_blank">setup.py.in</a> <<a rel="nofollow" href="http://setup.py.in" target="_blank">http://setup.py.in</a>> install<div><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 rel="nofollow" href="http://version.py.in" target="_blank">version.py.in</a> <<a rel="nofollow" href="http://version.py.in" target="_blank">http://version.py.in</a>> /usr/lib/python2.4/site-packages/ipa/version.py<div>
<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 rel="nofollow" href="mailto:Freeipa-users@redhat.com" target="_blank">Freeipa-users@redhat.com</a><br>
<a rel="nofollow" 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>
</div></div></div></div></div><br>

      </div></blockquote></div><br>