Subject: | Installation of Archive::Zip 1.41 failed on Windows - Perl Strawberry 5.20 |
Dear,
Win8.1 64 bits
Strawberry Perl 5.20
It's impossible to install Archive::Zip 1.41 or Archive::Zip 1.40
Error with Archive::Zip 1.41
==============================================
Show quoted text
cpan> install Archive::Zip
Running install for module 'Archive::Zip'
Checksum for E:\Strawberry\cpan\sources\authors\id\P\PH\PHRED\Archive-Zip-1.41.tar.gz ok
Scanning cache E:\Strawberry\cpan\build for sizes
............................................................................DONE
Configuring P/PH/PHRED/Archive-Zip-1.41.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Archive::Zip
Writing MYMETA.yml and MYMETA.json
PHRED/Archive-Zip-1.41.tar.gz
E:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for P/PH/PHRED/Archive-Zip-1.41.tar.gz
cp lib/Archive/Zip/BufferedFileHandle.pm blib\lib\Archive\Zip\BufferedFileHandle.pm
cp lib/Archive/Zip/Member.pm blib\lib\Archive\Zip\Member.pm
cp lib/Archive/Zip/FAQ.pod blib\lib\Archive\Zip\FAQ.pod
cp lib/Archive/Zip/MockFileHandle.pm blib\lib\Archive\Zip\MockFileHandle.pm
cp lib/Archive/Zip/StringMember.pm blib\lib\Archive\Zip\StringMember.pm
cp lib/Archive/Zip/ZipFileMember.pm blib\lib\Archive\Zip\ZipFileMember.pm
cp lib/Archive/Zip/DirectoryMember.pm blib\lib\Archive\Zip\DirectoryMember.pm
cp lib/Archive/Zip/FileMember.pm blib\lib\Archive\Zip\FileMember.pm
cp lib/Archive/Zip/Archive.pm blib\lib\Archive\Zip\Archive.pm
cp lib/Archive/Zip.pm blib\lib\Archive\Zip.pm
cp lib/Archive/Zip/Tree.pm blib\lib\Archive\Zip\Tree.pm
cp lib/Archive/Zip/MemberRead.pm blib\lib\Archive\Zip\MemberRead.pm
cp lib/Archive/Zip/NewFileMember.pm blib\lib\Archive\Zip\NewFileMember.pm
E:\Strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- script/crc32 blib\script\crc32
pl2bat.bat blib\script\crc32
PHRED/Archive-Zip-1.41.tar.gz
E:\Strawberry\c\bin\dmake.exe -- OK
Running make test
E:\Strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\ar
ch')" t/*.t
t/01_compile.t ................ ok
t/02_main.t ................... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.
warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188
.
t/02_main.t ................... 1/141
# Failed test at t/02_main.t line 95.
# got: 'testdir/jAlFT4kTM2/'
# expected: 'testdir\jAlFT4kTM2/'
error: member not found
at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 185.
Archive::Zip::Archive::extractMember(Archive::Zip::Archive=HASH(0x2a8f4c8), "testdir\\jAlFT4kTM2/") called at t/02_main.t line 128
# Failed test at t/02_main.t line 129.
# got: '2'
# expected: '0'
# Failed test at t/02_main.t line 130.
# Failed test at t/02_main.t line 133.
# Failed test at t/02_main.t line 146.
# got: 'testdir/jAlFT4kTM2/string.txt'
# expected: 'testdir\jAlFT4kTM2/string.txt'
error: member not found
at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 185.
Archive::Zip::Archive::extractMember(Archive::Zip::Archive=HASH(0x2a8f4c8), "testdir\\jAlFT4kTM2/string.txt") called at t/02_main.t line 175
# Failed test at t/02_main.t line 176.
# got: '2'
# expected: '0'
# Failed test at t/02_main.t line 177.
Can't use an undefined value as a symbol reference at t/common.pm line 162.
# Looks like you planned 141 tests but ran 47.
# Looks like you failed 7 tests of 47 run.
# Looks like your test exited with 2 just after 47.
t/02_main.t ................... Dubious, test returned 2 (wstat 512, 0x200)
Failed 101/141 subtests
(less 3 skipped subtests: 37 okay)
t/03_ex.t ..................... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.
warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188
.
t/03_ex.t ..................... 1/17 error: member not found
at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 185.
Archive::Zip::Archive::extractMember(Archive::Zip::Archive=HASH(0x3fcf68), "testdir\\ygzZPds2kh/testing.txt") called at examples/extract.pl li
ne 34
Extracting testdir\ygzZPds2kh/testing.txt from C:\Users\djibril\AppData\Local\Temp\testout-Nchne.zip failed
# Failed test at t/03_ex.t line 37.
t/03_ex.t ..................... 4/17 # got: '65280'
# expected: '0'
Can't call method "desiredCompressionLevel" on an undefined value at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm
line 257.
# Failed test at t/03_ex.t line 41.
# got: '512'
# expected: '0'
# Failed test at t/03_ex.t line 55.
# got: 'testdir/ygzZPds2kh/testing.txt:100
# '
# expected: 'testdir\ygzZPds2kh/testing.txt:100
# '
error: testdir\ygzZPds2kh\testing.txt is neither a file nor a directory
at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 355.
Archive::Zip::Archive::addFileOrDirectory(Archive::Zip::Archive=HASH(0x52d088), "testdir\\ygzZPds2kh\\testing.txt") called at examples/selfex.
pl line 28
# Failed test 'extracted\testdir\ygzZPds2kh\testing.txt exists'
# at t/03_ex.t line 69.
# got: undef
# expected: '1'
error: Can't rename C:\Users\djibril\AppData\Local\Temp\testout-Nchne.zip as C:\Users\djibril\AppData\Local\Temp\testout-Nchne.zbk Permission denied
at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 472.
Archive::Zip::Archive::overwriteAs(Archive::Zip::Archive=HASH(0x5ff0d8), "C:\\Users\\djibril\\AppData\\Local\\Temp\\testout-Nchne.zip") called
at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 440
Archive::Zip::Archive::overwrite(Archive::Zip::Archive=HASH(0x5ff0d8)) called at examples/updateTree.pl line 28
# Failed test 'updateTree.pl create'
# at t/03_ex.t line 78.
# got: '512'
# expected: '0'
error: Can't rename C:\Users\djibril\AppData\Local\Temp\testout-Nchne.zip as C:\Users\djibril\AppData\Local\Temp\testout-Nchne.zbk Permission denied
at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 472.
Archive::Zip::Archive::overwriteAs(Archive::Zip::Archive=HASH(0x1cbf0d8), "C:\\Users\\djibril\\AppData\\Local\\Temp\\testout-Nchne.zip") calle
d at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 440
Archive::Zip::Archive::overwrite(Archive::Zip::Archive=HASH(0x1cbf0d8)) called at examples/updateTree.pl line 28
# Failed test 'updateTree.pl update'
# at t/03_ex.t line 81.
# got: '512'
# expected: '0'
# Looks like you failed 6 tests of 17.
t/03_ex.t ..................... Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/17 subtests
t/04_readmember.t ............. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.
warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188
.
t/04_readmember.t ............. ok
t/05_tree.t ................... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.
warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188
.
t/05_tree.t ................... ok
t/06_update.t ................. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.
warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188
.
t/06_update.t ................. ok
t/07_filenames_of_0.t ......... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.
warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188
.
t/07_filenames_of_0.t ......... ok
t/08_readmember_record_sep.t .. skipped: Ignoring failing tests on Win32
t/09_output_record_sep.t ...... ok
t/10_chmod.t .................. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.
warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188
.
t/10_chmod.t .................. ok
t/11_explorer.t ............... ok
t/12_bug_47223.t .............. ok
t/13_bug_46303.t .............. ok
t/14_leading_separator.t ...... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.
warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188
.
t/14_leading_separator.t ...... ok
t/15_decrypt.t ................ ok
t/16_decrypt.t ................ ok
t/17_101092.t ................. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.
warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188
.
t/17_101092.t ................. ok
t/18_bug_92205.t .............. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.
warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188
.
t/18_bug_92205.t .............. ok
Test Summary Report
-------------------
t/02_main.t (Wstat: 512 Tests: 47 Failed: 7)
Failed tests: 25, 32-34, 38, 46-47
Non-zero exit status: 2
Parse errors: Bad plan. You planned 141 tests but ran 47.
t/03_ex.t (Wstat: 1536 Tests: 17 Failed: 6)
Failed tests: 4, 6, 10, 13-14, 16
Non-zero exit status: 6
Files=18, Tests=174, 4 wallclock secs ( 0.05 usr + 0.08 sys = 0.13 CPU)
Result: FAIL
Failed 2/18 test programs. 13/174 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
PHRED/Archive-Zip-1.41.tar.gz
E:\Strawberry\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PHRED/Archive-Zip-1.41.tar.gz
Stopping: 'install' failed for 'Archive::Zip'.
Failed during this command:
PHRED/Archive-Zip-1.41.tar.gz : make_test NO
Show quoted textcpan>
=====================================================
Best Regards