bug-texinfo
[Top][All Lists]
Advanced

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

fix an error message during configure


From: Bruno Haible
Subject: fix an error message during configure
Date: Tue, 06 Aug 2024 09:45:25 +0200

Hi,

During my many experiments with "make dist" and "make distcheck", I noticed
that './configure' produces an error message:

$ ./configure
...
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path... 
lib,lib,lib64
../../../../tp/Texinfo/XS/configure: line 8794: gt_INTL_MACOSX: command not 
found
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
...

The cause is that in the tp/Texinfo/XS/gnulib/m4/ directory, gettext.m4
is present but intlmacosx.m4 is not.

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

Attachment: 0001-build-Prepare-for-use-of-autopoint.patch
Description: Text Data


reply via email to

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