On 2013-06-09 14:47:45, CHORNY wrote:
Show quoted text> So it is not possible to easily install on Windows.
>
>
> No such file in archive: 'dir1' at
> C:\strawberry5162\perl\lib/CPAN/Tarzip.pm line 396.
> Could not find file 'dir1' in memory. at
> C:\strawberry5162\perl\lib/CPAN/Tarzip.pm line 396.
> Making symbolic link 'C:\strawberry5162\cpan\build\tmp-796\File-
> DirCompare-0.7\t\t01\old\dlink1' to 'dir1' failed at
> C:\strawberry5162\perl\lib/CPAN/Tarzip.pm line 396.
> Could not extract 'File-DirCompare-0.7/t/t01/old/dlink1' at
> C:\strawberry5162\perl\lib/CPAN/Tarzip.pm line 396.
> Could not untar with Archive::Tar.
The symlinks may even cause problems on Unix systems, see below. Maybe it's best to create the symlinks within the test scripts, and only if the OS is capable to handle symlinks at all.
$ perl5.20.1-RC2 -MCPAN -e "install File::DirCompare"
Reading '/home/slaven.rezic/.local/share/.cpan/Metadata'
Database was generated on Mon, 08 Sep 2014 10:41:02 GMT
Running install for module 'File::DirCompare'
Checksum for /home/slaven.rezic/.local/share/.cpan/sources/authors/id/G/GA/GAVINC/File-DirCompare-0.7.tar.gz ok
Configuring G/GA/GAVINC/File-DirCompare-0.7.tar.gz with Makefile.PL
Checking if your kit is complete...
/home/slaven.rezic/.local/share/.cpan/build/File-DirCompare-0.7-DYjKkL/t/t01/old/dir1 encountered a second time at /opt/perl-5.20.1-RC2/lib/5.20.1/File/Find.pm line 446.
(/opt/perl-5.20.1-RC2/bin/perl Makefile.PL exited with 65280)
Warning: No success on command[/opt/perl-5.20.1-RC2/bin/perl Makefile.PL]
GAVINC/File-DirCompare-0.7.tar.gz
/opt/perl-5.20.1-RC2/bin/perl Makefile.PL -- NOT OK