On Sat, Oct 22, 2022 at 11:57:36AM +0300, Eli Zaretskii wrote: > And now for the final blow: while building texinfo.info, I get this > error message: > > Can't locate I18N/Langinfo.pm in @INC (you may need to install the > I18N::Langinfo module) (@INC contains: d:/usr/Perl/site/lib d:/usr/Perl/lib > .) at ../tp/texi2any line 29. > BEGIN failed--compilation aborted at ../tp/texi2any line 29. > Makefile:1547: recipe for target `texinfo.info' failed > make[3]: *** [texinfo.info] Error 2 > > My Perl version is 5.20.1, and I cannot install a newer version here. > It sounds like I18N::Langinfo is a core module in later versions of > Perl. I very much hope that a solution can be found for my version,
It is strange, from what I gather on metacpan/perldoc, it is in perl since a long time, in particular there in 5.8.1 which is our requirement on perl release and in particular in 5.20.1: https://metacpan.org/release/SHAY/perl-5.20.1/source/ext/I18N-Langinfo https://perldoc.perl.org/5.20.1/I18N::Langinfo > either if you tell me where to find this module that I can install > locally (and then please help me with detailed installation > instructions, as I'm basically Perl-illiterate), or by providing > fallback code in texi2any for when this module is not available. > (What is Langinfo used for in texi2any?) To obtain the locale encoding. From what I understand, I18N::Langinfo is a wrapper around nl_langinfo. -- Pat
