[Freeipa-users] RHEL 5 Compiling ipa-client (only) from source

Viji V Nair viji at fedoraproject.org
Tue Jan 13 05:25:47 UTC 2009


Hi,

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

# patch Makefile make.patch (have a look at "man patch", patch [options]
[originalfile [patchfile]])

then run

# make IPA_VERSION_IS_GIT_SNAPSHOT=no local-dist

Also FYI,

Fedora 8, 9 & 10 ships all the IPA packages. You can do a yum install

Thanks & Regards

Viji

On Tue, Jan 13, 2009 at 2:15 AM, Peter Wolf <fobeastic at yahoo.com> wrote:

> Hi,
> it's not working for me. I'm using Fedora 10 i386. I did the following:
>
> - I download the http://freeipa.org/downloads/src/freeipa-1.2.1.tar.gz and
> put it in a directory, I also install autoconf & automake.
> - uncompressed the downloaded file
> - go into the uncompressed directory and used the make.patch
> - I have attached the error log
>
> Also, F10 is not supported, is F9 i386 supported?
>
> Hopefully to hear from you soon,
>
> regards,
>
> Fobe
> ------------------------------
> *From:* Viji V Nair <viji at fedoraproject.org>
> *To:* Rob Crittenden <rcritten at redhat.com>
> *Cc:* freeipa-users at redhat.com
> *Sent:* Monday, January 12, 2009 6:08:20 PM
> *Subject:* Re: [Freeipa-users] RHEL 5 Compiling ipa-client (only) from
> source
>
> Hi,
>
> Worked for me
>
> Thanks
> Viji
>
>
>
> On Mon, Jan 12, 2009 at 10:01 PM, Rob Crittenden <rcritten at redhat.com>wrote:
>
>> Viji V Nair wrote:
>>
>>> Hi,
>>>
>>> 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
>>
>> rob
>>
>>
>>> 1. Download and  un-compress freeipa source,
>>> http://freeipa.org/downloads/src/freeipa-1.2.1.tar.gz
>>>
>>> # 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
>>> python-ldap.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 (
>>> http://download.fedora.redhat.com/pub/epel/5Server/x86_64/python-krbV-1.0.13-5.el5.x86_64.rpm)
>>> 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
>>> /usr/lib64/python2.4/site-packages/
>>>
>>> d. Finally I got a version error, I have done a hard coding to fix it.
>>>
>>> # cp version.py.in <http://version.py.in>
>>> /usr/lib/python2.4/site-packages/ipa/version.py
>>> # 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
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Freeipa-users mailing list
>>> Freeipa-users at redhat.com
>>> https://www.redhat.com/mailman/listinfo/freeipa-users
>>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20090113/6a05fe0d/attachment.htm>


More information about the Freeipa-users mailing list