Subject: | Multiple Install Issues |
Hi,
I've got a couple of issues using the strawberry-perl distro.
1: install_driver(WMI) failed: Base class package "Class::Accessor" is empty
2: t/99-versions........Can't locate File/Slurp.pm in @INC
I installed file::Slurp and that made one error go away, but you need to
add a dependency file::Slurp so cpan knows to check/download it too.
Rest of message below.
Thanks and keep up the good work.
cp lib/DBD/WMI.pm blib\lib\DBD\WMI.pm
cp lib/Win32/WQL.pm blib\lib\Win32\WQL.pm
C:\strawberry-perl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harnes
s(0, 'blib\lib', 'blib\arch')" t/*.t
t/01-use.............install_driver(WMI) failed: Base class package
"Class::Acce
ssor" is empty.
(Perhaps you need to 'use' the module which defines that package first.)
at C:\Documents and Settings\michael\My
Documents\perlapps\DBD-WMI-0.04\blib\li
b/Win32/WQL.pm line 5
BEGIN failed--compilation aborted at C:\Documents and
Settings\michael\My Docume
nts\perlapps\DBD-WMI-0.04\blib\lib/Win32/WQL.pm line 5.
Compilation failed in require at C:\Documents and Settings\michael\My
Documents\
perlapps\DBD-WMI-0.04\blib\lib/DBD/WMI.pm line 81.
BEGIN failed--compilation aborted at C:\Documents and
Settings\michael\My Docume
nts\perlapps\DBD-WMI-0.04\blib\lib/DBD/WMI.pm line 81.
Compilation failed in require at (eval 5) line 3.
at t/01-use.t line 12
# Looks like your test died before it could output anything.
t/01-use.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/02-column-parse....install_driver(WMI) failed: Base class package
"Class::Acce
ssor" is empty.
(Perhaps you need to 'use' the module which defines that package first.)
at C:\Documents and Settings\michael\My
Documents\perlapps\DBD-WMI-0.04\blib\li
b/Win32/WQL.pm line 5
BEGIN failed--compilation aborted at C:\Documents and
Settings\michael\My Docume
nts\perlapps\DBD-WMI-0.04\blib\lib/Win32/WQL.pm line 5.
Compilation failed in require at C:\Documents and Settings\michael\My
Documents\
perlapps\DBD-WMI-0.04\blib\lib/DBD/WMI.pm line 81.
BEGIN failed--compilation aborted at C:\Documents and
Settings\michael\My Docume
nts\perlapps\DBD-WMI-0.04\blib\lib/DBD/WMI.pm line 81.
Compilation failed in require at (eval 5) line 3.
at t/02-column-parse.t line 12
# Looks like your test died before it could output anything.
t/02-column-parse....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/99-manifest........ok
t/99-pod.............ok
t/99-todo............ok
t/99-unix-text.......ok
t/99-versions........Can't locate File/Slurp.pm in @INC (@INC contains:
C:\Docum
ents and Settings\michael\My Documents\perlapps\DBD-WMI-0.04\blib\lib
C:\Documen
ts and Settings\michael\My Documents\perlapps\DBD-WMI-0.04\blib\arch
C:/strawber
ry-perl/perl/lib C:/strawberry-perl/perl/site/lib .
C:/strawberry-perl/perl/lib
C:/strawberry-perl/perl/site/lib .) at t/99-versions.t line 9.
BEGIN failed--compilation aborted at t/99-versions.t line 9.
t/99-versions........dubious
Test returned status 2 (wstat 512, 0x200)
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/01-use.t 255 65280 1 2 1
t/02-column-parse.t 255 65280 5 10 1-5
t/99-versions.t 2 512 ?? ?? ??
Failed 3/7 test scripts. 6/21 subtests failed.
Files=7, Tests=21, 2 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
Failed 3/7 test programs. 6/21 subtests failed.
dmake: Error code 130, while making 'test_dynamic'