[Top][All Lists]

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

Re: texinfo-6.8.90 pretest

From: Eli Zaretskii
Subject: Re: texinfo-6.8.90 pretest
Date: Sat, 22 Oct 2022 14:41:19 +0300

> Date: Sat, 22 Oct 2022 12:19:57 +0200
> From: Patrice Dumas <pertusus@free.fr>
> Cc: Gavin Smith <gavinsmith0123@gmail.com>, bug-texinfo@gnu.org
> 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

Not for Windows, because Windows lacks the nl_langinfo function, for
which this module is a think wrapper on Unix.

AFAIU, on Windows this module is available only starting from v5.28.

> > 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.

The codeset is the system codepage.  We can easily obtain that from C
(I can write the code), but I don't see how to do that from Perl,
based on my limited search.

reply via email to

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