[Freeipa-users] RHEL 5 Compiling ipa-client (only) from source
rcritten at redhat.com
Mon Jan 12 16:31:14 UTC 2009
Viji V Nair wrote:
> 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.
> Can anyone suggest is there anything wrong in my steps? Can I use the
> same steps to configure other clients also?
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.
% make IPA_VERSION_IS_GIT_SNAPSHOT=no local-dist
The rpms will be in dist/rpms
> 1. Download and un-compress freeipa source,
> # tar -zxvf freeipa-1.2.1.tar.gz
> # cd freeipa-1.2.1/ipa-client
> 2. I have installed the following prerequisites after seeing the
> dependency errors.
> # yum install autoconf automake pkgconfig.x86_64 libtool.x86_64
> mozldap-devel.x86_64 krb5-devel.x86_64 openldap-devel.x86_64
> 3. System was complaining about there is no version.m4 file, so I did a
> copy paste of
> # cp version.m4.in <http://version.m4.in> version.m4
> 4. System was telling I should add the contents of
> /usr/share/aclocal/libtool.m4 to aclocal.m4, so I did
> # 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
> 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.
> a. Downloaded python-krbV-1.0.13-5.el5.x86_64.rpm from
> and installed
> # 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 <http://setup.py.in> build
> # python setup.py.in <http://setup.py.in> install
> c. Copied the required python modules to the actual location
> # cp -a /usr/local/lib/python2.4/site-packages/ipaclient
> d. Finally I got a version error, I have done a hard coding to fix it.
> # cp version.py.in <http://version.py.in>
> # cat /usr/lib/python2.4/site-packages/ipa/version.py
> Thanks & Regards
> Freeipa-users mailing list
> Freeipa-users at redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4507 bytes
Desc: not available
More information about the Freeipa-users