[SSSD] [PATCHES] Fix RHEL5 builds (was: [PATCH] Fix usage of $(builddir) in SSSD)

Sumit Bose sbose at redhat.com
Thu Aug 20 15:47:44 UTC 2009


On Thu, Aug 20, 2009 at 11:15:30AM -0400, Stephen Gallagher wrote:
> On 08/20/2009 07:27 AM, Stephen Gallagher wrote:
> > On 08/19/2009 07:40 PM, Dmitri Pal wrote:
> >> Dmitri Pal wrote:
> >>> Stephen Gallagher wrote:
> >>>   
> >>>> There are some old versions of automake that do not define
> >>>> $(builddir) correctly. Since $(builddir) is "Rigorously equal to
> >>>> .", we'll set it at the top of the Makefile.am files.
> >>>>
> >>>>   
> >>>> ------------------------------------------------------------------------
> >>>>
> >>>> _______________________________________________
> >>>> sssd-devel mailing list
> >>>> sssd-devel at lists.fedorahosted.org
> >>>> https://fedorahosted.org/mailman/listinfo/sssd-devel
> >>>>     
> >>> I can't validate this patch. I think the problem with the build is a bit
> >>> different .
> >>> When I run "autoreconf -i -f" from the root it fails.
> >>> If fails with the following error:
> >>> Can't exec "autopoint": No such file or directory at
> >>> /usr/share/autoconf/Autom4te/FileUtils.pm line 288, <GEN0> line 88.
> >>> autoreconf: failed to run autopoint: No such file or directory
> >>>
> >>> Error comes from processing the "server" directory.
> >>> Some digging showed that the issue is related to gettext package.
> >>> The gettext package on RHEL misses autopoint. According to one of the
> >>> forums it is in the gettext-devel.
> >>> This package is not if RHEL repo.
> >>> http://www.talkgraphics.com/showthread.php?t=21433
> >>>
> >>> I started researching what I can do about it.
> >>> I will let you know.
> >>>
> >>>   
> >> Ok it seems that RHN has gettext-devel package.
> >> I did not see it because yum was not showing the RHN packages when I was
> >> not running yum info or search as root.
> >> I thought you need to be root only to install or update.
> > 
> >> So now I installed one. The error I get now is:
> >> autopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your
> >> configure.ac               file requires the infrastructure from
> >> gettext-0.17 but this version               is older. Please upgrade to
> >> gettext-0.17 or newer.
> >> autopoint: *** Stop.
> >> autoreconf: autopoint failed with exit status: 1
> > 
> >> I do not know if we actually need 0.17 or not.
> >> May be we just need 0.14.
> >> I tried changing check to 0.12 in configure.ac.
> >> In this case I get the following error:
> > 
> >> configure.ac:18: option `color-tests' not recognized
> > 
> > This is a feature I just added recently. I did not realize it was not
> > backwards-compatible. I will remove it.
> > 
> >> autoreconf: automake failed with exit status: 1
> >> autoreconf: cannot empty /tmp/arwjs545: Is a directory
> > 
> >> (each time it is different file name in /tmp)
> > 
> >> I give up for now.
> >> I will see what I can do about setting a fedora machine running from
> >> flash drive.
> > 
> > 
> > Similarly, I am now setting up a RHEL5 developer machine to attempt to
> > resolve these build issues. Thank you for testing.
> > 
> 
> 
> I have tracked down and fixed four bugs in the RHEL5 build process. It
> will now build without errors (a few warnings which will be addressed
> separately)
> 
> Patch 0002: Same as the earlier patch in this thread. Ensures that
> $(builddir) is populated since older versions of automake do not do this
> implicitly
> 
> Patch 0003: Remove the 'color-tests' argument from AM_INIT_AUTOMAKE,
> since it was not supported on older versions of automake
> 
> Patch 0004: Support gettext >= 0.14. We aren't using any features of
> gettext that weren't in 0.14, so we'll adjust our minimum to support it.
> 
> Patch 0005: Support Docbook DTD 4.4. Similarly, we weren't actually
> using any of the 4.5 features, and RHEL5 only supports up to 4.4.
> 

I haven't check that it will work on RHEL5, but it doesn't break anything
on F11, so ...

ACK to all.

bye,
Sumit



More information about the sssd-devel mailing list