guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix compiling on CentOS 7.


From: ng0
Subject: Re: [PATCH] Fix compiling on CentOS 7.
Date: Fri, 26 Aug 2016 23:27:47 +0000

Roel Janssen <address@hidden> writes:

> From dcbf57e6b7e6798a321d599390a052953ab3a75a Mon Sep 17 00:00:00 2001
> From: Roel Janssen <address@hidden>
> Date: Fri, 26 Aug 2016 15:22:00 -0400
> Subject: [PATCH] Changes to compile it on Centos 7.
>
> ---
>  doc/local.mk   |   84 +--
>  emacs/local.mk |   74 +--
>  gnu/local.mk   | 1712 
> ++++++++++++++++++++++++++++----------------------------
>  nix/local.mk   |  134 ++---
>  4 files changed, 1002 insertions(+), 1002 deletions(-)

...

> Dear Guix,
>
> Due to an old Automake version (1.13), running the `./configure' phase on
> CentOS 7 fails with:
>
>> autoreconf: running: automake --add-missing --copy --force-missing
>> configure.ac:21: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its 
>> use is discouraged.
>> configure.ac:21: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' 
>> macro instead,
>> configure.ac:21: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your 
>> Makefile.am files.
>> Makefile.am:422: warning: AM_GNU_GETTEXT used but 'po' not in SUBDIRS
>> automake: error: cannot open < ./%D%/guix.texi: No such file or directory
>> autoreconf: automake failed with exit status: 1
>
> (It does not replace %D% with the appropriate directory..)
>
> The attached patch replaces each instance of %D%, which I believe stands
> for the current subdirectory from the project root, with the appropriate
> directory.  With these changes, I've been able to compile GNU Guix on
> CentOS 7.
>
> I am not sure how this change impacts custom configure options, so I
> would like to ask someone with more Automake knowledge and experience to
> elaborate on the possible downsides of applying this patch.
>
> If this change is acceptable to the project, I will update the commit
> message to a more detailed and conforming message.  Suggestions are
> welcome here though.
>
> What do you think about making Guix compilable on this "stable"
> distribution? :-)
>
> Thanks!
>
> Kind regards,
> Roel Janssen

On the one hand it's nice to have Guix run everywhere, on the other hand
why is CentOS using this old automake? Can't this be fixed in another
way in CentOS itself, or is CentOS stable like Debian stable with their
release and update cycles? My debian has 1.14.1 automake.

-- 
ng0
For non-prism friendly talk find me on http://www.psyced.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]