[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fix an error message during configure
From: |
Gavin Smith |
Subject: |
Re: fix an error message during configure |
Date: |
Wed, 14 Aug 2024 00:11:48 +0100 |
On Mon, Aug 12, 2024 at 12:29:10PM +0200, Bruno Haible wrote:
> Yes, it fails in my CI as well:
>
> aclocal -I gnulib/m4 && autoconf && autoheader && automake
> (cd tp/Texinfo/XS && libtoolize && aclocal -I gnulib/m4 && autoconf &&
> autoheader && automake)
> libtoolize: putting auxiliary files in '.'.
> libtoolize: linking file './ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'gnulib/m4'.
> libtoolize: linking file 'gnulib/m4/libtool.m4'
> libtoolize: linking file 'gnulib/m4/ltoptions.m4'
> libtoolize: linking file 'gnulib/m4/ltsugar.m4'
> libtoolize: linking file 'gnulib/m4/ltversion.m4'
> libtoolize: linking file 'gnulib/m4/lt~obsolete.m4'
> configure.ac:132: error: required file './compile' not found
> configure.ac:132: 'automake --add-missing' can install 'compile'
> configure.ac:134: error: required file './config.guess' not found
> configure.ac:134: 'automake --add-missing' can install 'config.guess'
> configure.ac:134: error: required file './config.sub' not found
> configure.ac:134: 'automake --add-missing' can install 'config.sub'
> configure.ac:14: error: required file './install-sh' not found
> configure.ac:14: 'automake --add-missing' can install 'install-sh'
> configure.ac:14: error: required file './missing' not found
> configure.ac:14: 'automake --add-missing' can install 'missing'
> Makefile.am: error: required file './depcomp' not found
> Makefile.am: 'automake --add-missing' can install 'depcomp'
>
> Fixed through the attached patch.
>
> More precisely, fixed through the second part of the attached patch.
> The first part serves the purpose of updating the same files also
> in the build-aux/ directory, so that you don't risk distributing
> outdated files for 6 years any more :) But it assumes that the
> main contributors are all on the same Automake version, otherwise
> one guy gets differences, commits them, and then the other contributor
> gets the reverse differences.
I committed the other fix to this from Patrice's mail, which used
autoreconf.
I expect that we could not track these files in git if that is a problem.
When making a release I check what version of automake etc. I have
installed on my system to make sure I use the correct version. I'm
not sure which files you are saying were 6 years out of date. I checked
some of the files under build-aux/ and they had been updated more
recently than then.
> From a65dbe54257656b92a81261e22725370f855d469 Mon Sep 17 00:00:00 2001
> From: Bruno Haible <bruno@clisp.org>
> Date: Mon, 12 Aug 2024 12:01:21 +0200
> Subject: [PATCH] build: Tell automake to install various build-aux/ files.
>
> * autogen.sh: Invoke AUTOMAKE with options -a -c.
> ---
> autogen.sh | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/autogen.sh b/autogen.sh
> index a2f530d46f..3b9b06d5e7 100755
> --- a/autogen.sh
> +++ b/autogen.sh
> @@ -42,13 +42,13 @@ fi
> : ${AUTOHEADER=autoheader}
> : ${AUTOMAKE=automake}
> : ${AUTOCONF=autoconf}
> -cmd="$ACLOCAL -I gnulib/m4 && $AUTOCONF && $AUTOHEADER && $AUTOMAKE"
> +cmd="$ACLOCAL -I gnulib/m4 && $AUTOCONF && $AUTOHEADER && $AUTOMAKE -a -c"
> echo " $cmd $*"
> $chicken eval $cmd "$@" || exit 1
>
> : ${LIBTOOLIZE=libtoolize}
> cmd="(cd tp/Texinfo/XS && ${LIBTOOLIZE} \
> - && $ACLOCAL -I gnulib/m4 && $AUTOCONF && $AUTOHEADER && $AUTOMAKE)"
> + && $ACLOCAL -I gnulib/m4 && $AUTOCONF && $AUTOHEADER && $AUTOMAKE -a -c)"
> echo " $cmd"
> $chicken eval $cmd || exit 1
>
> --
> 2.34.1
>
- fix an error message during configure, Bruno Haible, 2024/08/06
- Re: fix an error message during configure, Gavin Smith, 2024/08/06
- Re: fix an error message during configure, Bruno Haible, 2024/08/06
- Re: fix an error message during configure, Gavin Smith, 2024/08/07
- Re: fix an error message during configure, Bruno Haible, 2024/08/07
- Re: fix an error message during configure, Patrice Dumas, 2024/08/10
- Re: fix an error message during configure, Bruno Haible, 2024/08/12
- Re: fix an error message during configure,
Gavin Smith <=
- Re: fix an error message during configure, Bruno Haible, 2024/08/13
- Re: fix an error message during configure, Gavin Smith, 2024/08/14
- Re: fix an error message during configure, Bruno Haible, 2024/08/14
- Re: fix an error message during configure, Gavin Smith, 2024/08/15
- Re: fix an error message during configure, Bruno Haible, 2024/08/16
- Re: fix an error message during configure, Gavin Smith, 2024/08/17
- Re: fix an error message during configure, Gavin Smith, 2024/08/13
Re: fix an error message during configure, Gavin Smith, 2024/08/31