[tex-live] texcount on Windows fail because of Perl file missing from TeX Live distribution

Siep Kroonenberg siepo at cybercomm.nl
Sat Jun 18 12:38:11 CEST 2016


On Thu, Jun 16, 2016 at 10:14:56PM +0300, Leonid Sinev wrote:
> Greetings, 
> 
> This problem already discussed at
> https://www.tug.org/pipermail/tex-live/2015-August/037293.html
> but nothing changed in TeXLive 2016.
> 
> Nothing changed after 
> http://tex.stackexchange.com/a/145766 advice
> of Win32::Console::ANSI from CPAN
> I have copied file from this package to
> C:\texlive\2016\tlpkg\tlperl\site\lib\Win32\Console\ANSI.pm
> and got this: 
> 
> Can't locate loadable object for module Win32::Console::ANSI in @INC (@INC conta ins: C:/texlive/2016/tlpkg/tlperl/lib c:/texlive/2016/tlpkg/tlperl/site/lib c:/t exlive/2016/tlpkg/tlperl/lib .) at c:\texlive\2016\texmf-dist\scripts\texcount\t excount.pl line 11.
> Compilation failed in require at c:\texlive\2016\texmf-dist\scripts\texcount\tex count.pl line 11.
> BEGIN failed--compilation aborted at c:\texlive\2016\texmf-dist\scripts\texcount \texcount.pl line 14.
> C:\texlive\2016\bin\win32\runscript.tlu:679: command failed with exit code 2: perl.exe c:\texlive\2016\texmf-dist\scripts\texcount\texcount.pl
> 
> Can there be a patch or update for TeXLive for windows that can make windows users use Perl scripts like texcount without need of additional perl installation or messing with additional packaging for tlperl?
> 
> -- 
> Best regards,
> Leonid

1. This module includes a dll which would need to be added too.

2. MetaCPAN https://metacpan.org/pod/Win32::Console::ANSI lists a
   dependency Win32::Pipe which is not in tlperl either

As Karl noted, the included perl for windows does not aim to
support all included perl scripts.

-- 
Siep Kroonenberg


More information about the tex-live mailing list