> Date: Sat, 22 Oct 2022 13:06:15 +0200 > From: Patrice Dumas <pertu...@free.fr> > > On Sat, Oct 22, 2022 at 11:54:47AM +0100, Gavin Smith wrote: > > > 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 > > > > I'm optimistic that this can be fixed - we can check for the module > > when texi2any is run and make accommodations if it can't be loaded. > > We could do our own xs code that calls nl_langinfo with the appropriate > argument. But the module should be present.
I just explained in another message why it wasn't present until a very recent Perl version. Can we write our own code to obtain the system's codepage on Windows when the module is not available? If someone instructs me how and in what file to write such code (in C), I can suggest a patch. Thanks.