Subject: | Can't install on winXP... |
I just tried to install App::Ack via CPAN, and got an error (the pre-
req, File::Next installed fine.)
C:\research\parrot>perl -MCPAN -eshell
cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support enabled
Show quoted text
cpan> install App::Ack
CPAN: Storable loaded ok
Going to read C:\Perl\cpan\Metadata
Database was generated on Mon, 22 Jan 2007 10:27:14 GMT
Running install for module App::Ack
Running make for P/PE/PETDANCE/ack-1.58.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for C:\Perl\cpan\sources\authors\id\P\PE\PETDANCE\ack-
1.58.tar.gz ok
Scanning cache C:\Perl/cpan/build for sizes
CPAN: Archive::Tar loaded ok
ack-1.58/
ack-1.58/ack
ack-1.58/ack-help-types.txt
ack-1.58/ack-help.txt
ack-1.58/ack-standalone
ack-1.58/Ack.pm
ack-1.58/Changes
ack-1.58/Makefile.PL
ack-1.58/MANIFEST
ack-1.58/META.yml
ack-1.58/README
ack-1.58/squash
ack-1.58/t/
ack-1.58/t/00-load.t
ack-1.58/t/ack-a.t
ack-1.58/t/ack-binary.t
ack-1.58/t/ack-c.t
ack-1.58/t/ack-type.t
ack-1.58/t/ack-v.t
ack-1.58/t/etc/
ack-1.58/t/etc/buttonhook.html.xxx
ack-1.58/t/etc/buttonhook.noxml.xxx
ack-1.58/t/etc/buttonhook.rfc.xxx
ack-1.58/t/etc/buttonhook.rss.xxx
ack-1.58/t/etc/buttonhook.xml.xxx
ack-1.58/t/etc/core.2112
ack-1.58/t/etc/shebang.empty.xxx
ack-1.58/t/etc/shebang.foobar.xxx
ack-1.58/t/etc/shebang.php.xxx
ack-1.58/t/etc/shebang.pl.xxx
ack-1.58/t/etc/shebang.py.xxx
ack-1.58/t/etc/shebang.rb.xxx
ack-1.58/t/etc/shebang.sh.xxx
ack-1.58/t/filetypes.t
ack-1.58/t/interesting.t
ack-1.58/t/pod-coverage.t
ack-1.58/t/pod.t
ack-1.58/t/standalone.t
ack-1.58/t/swamp/
ack-1.58/t/swamp/0
ack-1.58/t/swamp/blib/
ack-1.58/t/swamp/blib/ignore.pir
ack-1.58/t/swamp/blib/ignore.pm
ack-1.58/t/swamp/blib/ignore.pod
ack-1.58/t/swamp/c-header.h
ack-1.58/t/swamp/c-source.c
ack-1.58/t/swamp/html.htm
ack-1.58/t/swamp/html.html
ack-1.58/t/swamp/javascript.js
ack-1.58/t/swamp/Makefile
ack-1.58/t/swamp/Makefile.PL
ack-1.58/t/swamp/moose-andy.jpg
ack-1.58/t/swamp/parrot.pir
ack-1.58/t/swamp/perl-test.t
ack-1.58/t/swamp/perl-without-extension
ack-1.58/t/swamp/perl.cgi
ack-1.58/t/swamp/perl.pl
ack-1.58/t/swamp/perl.pm
ack-1.58/t/swamp/perl.pod
ack-1.58/t/text/
ack-1.58/t/text/boy-named-sue.txt
ack-1.58/t/text/freedom-of-choice.txt
ack-1.58/t/text/science-of-myth.txt
ack-1.58/t/text/shut-up-be-happy.txt
ack-1.58/t/zero.t
ack-1.58/Util.pm
Removing previously used C:\Perl\cpan\build\ack-1.58
CPAN.pm: Going to build P/PE/PETDANCE/ack-1.58.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for ack
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
cp Ack.pm blib\lib/App/Ack.pm
C:\Perl\bin\perl.exe squash ack File::Next Ack.pm > ack-
standalone
Reading ack
Reading C:/Perl/site/lib/File/Next.pm
Reading Ack.pm
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod +x ack-
standalone
C:\Perl\bin\perl.exe -c ack-standalone
ack-standalone syntax OK
C:\Perl\bin\perl.exe ack-standalone --help > ack-help.txt ||
perl -e0
C:\Perl\bin\perl.exe ack-standalone --help=types > ack-help-
types.txt ||
perl -e0
C:\Perl\bin\perl.exe -MExtUtils::Command -e cp ack
blib\script\ack
pl2bat.bat blib\script\ack
nmake -- OK
Running make test
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Perl\bin\perl.exe -MExtUtils::Command -e cp ack
blib\script\ack
pl2bat.bat blib\script\ack
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-
e" "test_harness(0, 'bl
ib\lib', 'blib\arch')" t/*.t
t/00-load.........ok 1/1# Testing App::Ack 1.58, Perl 5.008008,
C:\Perl\bin\perl
.exe
t/00-load.........ok
t/ack-a...........
t/ack-a...........NOK 1# Failed test 'File lists match'
# in t/ack-a.t at line 30.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 't\etc\buttonhook.html.xxx'
# Looks like you failed 1 test of 1.
t/ack-a...........dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/ack-binary......ok 1/3
t/ack-binary......NOK 3# Failed test 'Looking for binary'
# in t/ack-binary.t at line 33.
# Structures begin differing at:
# $got->[0] = 't\etc\shebang.empty.xxx'
# $expected->[0] = Does not exist
# Looks like you failed 1 test of 3.
t/ack-binary......dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 3
Failed 1/3 tests, 66.67% okay
t/ack-c...........
# Failed test 'Looking for religion'
# in t/ack-c.t at line 22.
# Structures begin differing at:
# $got->[0] = 't\text\science-of-myth.txt'
# $expected->[0] = Does not exist
t/ack-c...........NOK 1
# Failed test 'Religion counts'
t/ack-c...........NOK 2# in t/ack-c.t at line 39.
# Structures begin differing at:
# $got->[0] = 't\text\boy-named-sue.txt:0'
# $expected->[0] = Does not exist
# Failed test 'Religion counts -l -c'
# in t/ack-c.t at line 53.
# Structures begin differing at:
# $got->[0] = 't\text\science-of-myth.txt:2'
# $expected->[0] = Does not exist
# Looks like you failed 3 tests of 3.
t/ack-c...........dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/ack-type........ok
t/ack-v...........
# Failed test 'No religion please'
# in t/ack-v.t at line 25.
# Structures begin differing at:
# $got->[0] = 't\text\boy-named-sue.txt'
# $expected->[0] = Does not exist
t/ack-v...........NOK 1
# Failed test 'Non-religion counts'
t/ack-v...........NOK 2# in t/ack-v.t at line 42.
# Structures begin differing at:
# $got->[0] = 't\text\boy-named-sue.txt:72'
# $expected->[0] = Does not exist
# Looks like you failed 2 tests of 2.
t/ack-v...........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/filetypes.......Can't locate Util.pm in @INC (@INC contains: t
C:\Perl\cpan\bu
ild\ack-1.58\blib\lib C:\Perl\cpan\build\ack-1.58\blib\arch
C:/Perl/lib C:/Perl/
site/lib) at t/filetypes.t line 10.
BEGIN failed--compilation aborted at t/filetypes.t line 10.
t/filetypes.......dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-26
Failed 26/26 tests, 0.00% okay
t/interesting.....Can't locate Util.pm in @INC (@INC contains: t
C:\Perl\cpan\bu
ild\ack-1.58\blib\lib C:\Perl\cpan\build\ack-1.58\blib\arch
C:/Perl/lib C:/Perl/
site/lib) at t/interesting.t line 10.
BEGIN failed--compilation aborted at t/interesting.t line 10.
t/interesting.....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
t/pod-coverage....skipped
all skipped: Test::Pod::Coverage 1.04 required for testing POD
coverage
t/pod.............skipped
all skipped: Test::Pod 1.14 required for testing POD
t/standalone......ok 1/4
# Failed test 'Got expected output'
# in t/standalone.t at line 32.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'package File::Next;'
# Looks like you failed 1 test of 4.
t/standalone......dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 4
Failed 1/4 tests, 75.00% okay
t/zero............ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-----------------------------------------------------------------------
--------
t/ack-a.t 1 256 1 1 100.00% 1
t/ack-binary.t 1 256 3 1 33.33% 3
t/ack-c.t 3 768 3 3 100.00% 1-3
t/ack-v.t 2 512 2 2 100.00% 1-2
t/filetypes.t 2 512 26 52 200.00% 1-26
t/interesting.t 2 512 8 16 200.00% 1-8
t/standalone.t 1 256 4 1 25.00% 4
2 tests skipped.
Failed 7/12 test scripts, 41.67% okay. 42/67 subtests failed, 37.31%
okay.
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff'
Stop.
nmake test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Show quoted textcpan>
C:\research\parrot>perl -v
This is perl, v5.8.8 built for MSWin32-x86-multi-thread
(with 21 registered patches, see perl -V for more detail)
Copyright 1987-2006, Larry Wall
Binary build 816 [255195] provided by ActiveState
http://www.ActiveState.com
Built Mar 1 2006 18:00:52
Microsoft Windows XP Professional, Version 2002, Service Pack 2.