bug-texinfo
[Top][All Lists]
Advanced

[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: Tue, 6 Aug 2024 22:20:27 +0100

On Tue, Aug 06, 2024 at 09:45:25AM +0200, Bruno Haible wrote:
> The fix to the problem is
>   1) To apply the attached patch. Both the main configure.ac and
>      tp/Texinfo/XS/configure.ac use the same po/ directory. Since the version
>      of the gettext.m4 and related files must be in sync with the 
> Makefile.in.in
>      in the po/ directory, we have the constraint that the gettext 
> infrastructure
>      of both directories must be of the same version.
>   2) In the tp/Texinfo/XS/ directory, run the command
>        autopoint -f; rm -rf po
>      and revert the changes of gnulib/m4/*.m4 files that downgrade from a 
> newer
>      serial number (from gnulib) to an older serial number (from gettext).
>      You need to do this manually, because the autogen.sh does not do it.
>      Unfortunately, there is an overlap between files brought in by autopoint
>      and gnulib, and while it is OK to use newer versions (from gnulib) 
> instead
>      of older versions (from gettext), a downgrade is not recommended.
>   3) Commit the file tp/Texinfo/XS/gnulib/m4/intlmacosx.m4 under version 
> control,
>      like the gettext.m4 file in the same directory.
> 
> Bruno

I've followed these instructions and made the commits.

I noticed another warning when running "configure" while trying to spot the
error message that you reported:

configure.ac:145: warning: ill-formed serial number 'number', expecting a 
version string with only digits and dots

This error message is from aclocal.

$ aclocal --version
aclocal (GNU automake) 1.16.5
Copyright (C) 2021 Free Software Foundation, Inc.

Line 145 is newly added:
> +# serial number (from gnulib) to an older serial number (from gettext).

The comment is being interpreted as some kind of serial number line.
I will amend the comment to stop this.



reply via email to

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