Re: have TEXINFO_XS=required adapted to TEXINFO_XS_*=0 and disabled XS

Gavin Smith <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <aX_Ha8JgeV6CczqY@orangestar>
On Sun, Feb 01, 2026 at 08:35:11PM +0000, Gavin Smith wrote:
> I've tried configuring both with "--disable-perl-xs" and without,
> and ran "make check" under tta/ after running
> "export TEXINFO_XS=requiredifenabled", to success each time.

With further testing, TEXINFO_XS=requiredifenabled does not
really work properly:

$ mv perl/XSTexinfo/Parsetexi.la{,-DELETE}
$ cd perl
$ TEXINFO_XS=requiredifenabled perl -w t/02coverage.t cartouche
ok 1
ERROR: document_parser_errors: no document_descriptor
ERROR: document_global_information: no document_descriptor
ERROR: document_global_information: no document_descriptor
...

and more error messages.

I would have expected an error message, like the following:

$ TEXINFO_XS=required perl -w t/02coverage.t cartouche
Parsetexi: couldn't find Libtool archive file
set the TEXINFO_XS environment variable to 'omit' to use the pure Perl modules
BEGIN failed--compilation aborted at t//../../perl/Texinfo/Parser.pm line 48.
Compilation failed in require at t//../../perl/t/test_utils.pl line 74.
BEGIN failed--compilation aborted at t//../../perl/t/test_utils.pl line 74.
Compilation failed in require at t/02coverage.t line 6.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.