CC: | richardc [...] unixbeard.net, dilip.s.jha [...] gmail.com, prasadjoshi124 [...] gmail.com, sameer.sahoo007 [...] gmail.com |
Subject: | Failed to install Filesys::Virtual::SSH with Strawberry Perl 5.12.1 |
Hi,
I could not install Sys::Filesystem and found two issues listed below.
1. Missing dependency Class::Accessor::Fast
2. Test t\vs_plain.t fails on Win32 platform
Here are the details.
1. Missing dependency Class::Accessor::Fast
CPAN package Class::Accessor::Fast was not installed here, and
Filesys::Virtual::SSH failed to install as listed below.
The error was no more after I installed Class::Accessor::Fast.
C:\y\perlish\CPAN_trials>perl -MCPAN -e "install Filesys::Virtual::SSH"
Database was generated on Sun, 02 Jan 2011 08:40:11 GMT
Running install for module 'Filesys::Virtual::SSH'
Running make for R/RC/RCLAMP/Filesys-Virtual-SSH-0.03.tar.gz
Checksum for
C:\strawberry\cpan\sources\authors\id\R\RC\RCLAMP\Filesys-Virtual-S
SH-0.03.tar.gz ok
CPAN.pm: Going to build R/RC/RCLAMP/Filesys-Virtual-SSH-0.03.tar.gz
Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'Filesys-Virtual-SSH' version '0.03'
Building Filesys-Virtual-SSH
RCLAMP/Filesys-Virtual-SSH-0.03.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build -- OK
Running Build test
t\vs_plain.t .. Base class package "Class::Accessor::Fast" is empty.
(Perhaps you need to 'use' the module which defines that package first,
or make that module available in @INC (@INC contains:
C:\strawberry\cpan\bui
ld\Filesys-Virtual-SSH-0.03-1Kwdnp\blib\lib
C:\strawberry\cpan\build\Filesys-Vir
tual-SSH-0.03-1Kwdnp\blib\arch C:/strawberry/perl/site/lib
C:/strawberry/perl/ve
ndor/lib C:/strawberry/perl/lib .).
at
C:\strawberry\cpan\build\Filesys-Virtual-SSH-0.03-1Kwdnp\blib\lib/Filesys/Vi
rtual/SSH.pm line 8
BEGIN failed--compilation aborted at
C:\strawberry\cpan\build\Filesys-Virtual-SS
H-0.03-1Kwdnp\blib\lib/Filesys/Virtual/SSH.pm line 8.
Compilation failed in require at t\vs_plain.t line 8.
BEGIN failed--compilation aborted at t\vs_plain.t line 8.
t\vs_plain.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 80/80 subtests
Test Summary Report
-------------------
t\vs_plain.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 80 tests but ran 0.
Files=1, Tests=0, 0 wallclock secs ( 0.05 usr + 0.02 sys = 0.06 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.
RCLAMP/Filesys-Virtual-SSH-0.03.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports RCLAMP/Filesys-Virtual-SSH-0.03.tar.gz
Running Build install
make test had returned bad status, won't install without force
C:\y\perlish\CPAN_trials>
2. Test t\vs_plain.t fails on Win32 platform
I am running Strawberry Perl 5.12.1 on Win XP and command 'rm' isn't
available here. Next attempt to install Filesys::Virtual::SSH failed
due to this, please see below.
We'll have to use 'del' while running on Win32.
C:\y\perlish\CPAN_trials>perl -MCPAN -e "install Filesys::Virtual::SSH"
Database was generated on Sun, 02 Jan 2011 08:40:11 GMT
Running install for module 'Filesys::Virtual::SSH'
Running make for R/RC/RCLAMP/Filesys-Virtual-SSH-0.03.tar.gz
Checksum for
C:\strawberry\cpan\sources\authors\id\R\RC\RCLAMP\Filesys-Virtual-S
SH-0.03.tar.gz ok
CPAN.pm: Going to build R/RC/RCLAMP/Filesys-Virtual-SSH-0.03.tar.gz
Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'Filesys-Virtual-SSH' version '0.03'
Building Filesys-Virtual-SSH
RCLAMP/Filesys-Virtual-SSH-0.03.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build -- OK
Running Build test
t\vs_plain.t .. 'rm' is not recognized as an internal or external command,
operable program or batch file.
t\vs_plain.t .. 1/80 The getpwuid function is unimplemented at
C:/strawberry/per
l/lib/User/pwent.pm line 174.
# Looks like you planned 80 tests but ran 12.
# Looks like your test exited with 2 just after 12.
t\vs_plain.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 68/80 subtests
Test Summary Report
-------------------
t\vs_plain.t (Wstat: 512 Tests: 12 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 80 tests but ran 12.
Files=1, Tests=12, 1 wallclock secs ( 0.00 usr + 0.06 sys = 0.06 CPU)
Result: FAIL
Failed 1/1 test programs. 0/12 subtests failed.
RCLAMP/Filesys-Virtual-SSH-0.03.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports RCLAMP/Filesys-Virtual-SSH-0.03.tar.gz
Running Build install
make test had returned bad status, won't install without force
C:\y\perlish\CPAN_trials>
Thanks,
Yogesh Sawant