When I try to run Perl2Exe on cloc.pl, I get an error - see below. In some cases the pl is updated on the CLOC page, but not the EXE, and I would like to build the EXE for other systems that don't have Perl installed.
C:\Users\kplatt\Downloads\p2x-10.40-Win32>perl2exe.exe cloc.pl
Perl2Exe V10.40 Copyright (c) 1997-2011 IndigoSTAR Software
This is an evaluation version of Perl2Exe, which may be used for 30 days.
For more information see the attached pxman.htm file,
or visit http://www.indigostar.com
Converting 'cloc.pl' to cloc.exe
Warning: Can't locate Encode/ConfigLocal.pm
at c:\perl\lib\Encode.pm line 60
@INC = c:\Perl\lib\Encode\Config.pm, c:\perl\site\lib, c:\perl\lib, .
Warning: Can't locate VMS/Stdio.pm
at c:\perl\lib\File\Temp.pm line 149
@INC = c:\Perl\lib\Encode\Config.pm, c:\perl\site\lib, c:\perl\lib, .
Warning: Can't locate Digest/Perl/MD5.pm
at c:\perl\lib\Digest\MD5.pm line 30
@INC = c:\Perl\lib\Encode\Config.pm, c:\perl\site\lib, c:\perl\lib, .
ERROR: Can't locate Regexp/Common/whitespace.pm
Error: Cannot open
Anonymous
This is not a cloc bug. Perhaps file a perl2exe bug report.
In any event the cloc 1.54 Windows exe can be found here:
https://sourceforge.net/projects/cloc/files/cloc/v1.54/