pmu has asked for the wisdom of the Perl Monks concerning the following question:
Respected Monks,
I installed the portable version of 32 bit Strawberry Perl Version 5.16.3 on my 64 Bit Windows 7 Laptop, so that once I have the required modules installed, I can zip it, copy it to a 32 Bit Windows 2003 Server and run my scripts from there.
So I extracted 32 Bit Portable Strawberry Perl Version 5.16.3 to C:\my32bitperl and tried installing Perl::Critic, but it failed. I then tried with 64 Bit Strawberry Perl (5.16.3 again), but got the same error. I used cpanm to install it and went through the log file, but in both cases, the log file shows the following error (apart from other messages)
# Failed test 'Can call without exception' # at t/Path-IsDev/is_dev/META.t line 12. # got: 'The my_desktop method is not implemented on this plat +form at C:\MY64BI~1\data\.cpanm\work\1383571121.2816\Path-IsDev-1.000 +000\blib\lib/Path/IsDev/NegativeHeuristic/HomeDir.pm line 31.
The entire contents of the build.log file are given below. I've tried to use the "readmore" flag to hide the contents.
cpanm (App::cpanminus) 1.7001 on perl 5.016003 built for MSWin32-x64-m +ulti-thread Work directory is C:\MY64BI~1\data/.cpanm/work/1383571121.2816 You have make C:\my64bitperl\c\bin\dmake.exe You have LWP 6.04 Falling back to Archive::Tar 1.90 Searching Pod::Spell on cpanmetadb ... --> Working on Pod::Spell Fetching http://www.cpan.org/authors/id/X/XE/XENO/Pod-Spell-1.13.tar.g +z -> OK Unpacking Pod-Spell-1.13.tar.gz Entering Pod-Spell-1.13 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.30 ... Yes (6.64) Checking if you have File::ShareDir::Install 0.03 ... Yes (0.05) Configuring Pod-Spell-1.13 Running Makefile.PL Warning: prerequisite File::ShareDir::ProjectDistDir 0 not found. Checking if your kit is complete... Looks good Writing Makefile for Pod::Spell Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Pod::Escapes 0 ... Yes (1.04) Checking if you have File::Spec 0 ... Yes (3.40) Checking if you have IO::Handle 0 ... Yes (1.33) Checking if you have locale 0 ... Yes (1.01) Checking if you have IPC::Open3 0 ... Yes (1.12) Checking if you have Lingua::EN::Inflect 0 ... Yes (1.895) Checking if you have Text::Wrap 0 ... Yes (2012.0818) Checking if you have Test::Deep 0 ... Yes (0.110) Checking if you have Class::Tiny 0 ... Yes (0.012) Checking if you have File::Slurp 0 ... Yes (9999.19) Checking if you have base 0 ... Yes (2.18) Checking if you have warnings 0 ... Yes (1.13) Checking if you have Pod::Parser 0 ... Yes (1.60) Checking if you have File::ShareDir::ProjectDistDir 0 ... No Checking if you have constant 0 ... Yes (1.25) Checking if you have Carp 0 ... Yes (1.26) Checking if you have utf8 0 ... Yes (1.09) Checking if you have strict 0 ... Yes (1.07) Checking if you have Test::More 0.88 ... Yes (0.99) Checking if you have File::Temp 0 ... Yes (0.2304) ==> Found dependencies: File::ShareDir::ProjectDistDir Searching File::ShareDir::ProjectDistDir on cpanmetadb ... --> Working on File::ShareDir::ProjectDistDir Fetching http://www.cpan.org/authors/id/K/KE/KENTNL/File-ShareDir-Proj +ectDistDir-0.5.2.tar.gz -> OK Unpacking File-ShareDir-ProjectDistDir-0.5.2.tar.gz Entering File-ShareDir-ProjectDistDir-0.5.2 Checking configure dependencies from META.json Checking if you have Module::Build 0.4007 ... Yes (0.4007) Checking if you have Module::Build 0.36 ... Yes (0.4007) Configuring File-ShareDir-ProjectDistDir-0.5.2 Running Build.PL Checking prerequisites... requires: ! Path::FindDev is not installed ! Path::IsDev is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the v +ersions of the modules indicated above before proceeding with this installatio +n Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'File-ShareDir-ProjectDistDir' version + '0.5.2' -> OK Checking dependencies from MYMETA.json ... Checking if you have FindBin 0 ... Yes (1.51) Checking if you have File::Spec 0 ... Yes (3.40) Checking if you have IO::Handle 0 ... Yes (1.33) Checking if you have Sub::Exporter 0 ... Yes (0.985) Checking if you have IPC::Open3 0 ... Yes (1.12) Checking if you have File::ShareDir 0 ... Yes (1.03) Checking if you have Path::Class::File 0 ... Yes (0.32) Checking if you have lib 0 ... Yes (0.63) Checking if you have Module::Build 0.4007 ... Yes (0.4007) Checking if you have Path::Tiny 0 ... Yes (0.044) Checking if you have warnings 0 ... Yes (1.13) Checking if you have Path::IsDev 0 ... No Checking if you have Path::FindDev 0 ... No Checking if you have Carp 0 ... Yes (1.26) Checking if you have Test::More 0.98 ... Yes (0.99) Checking if you have strict 0 ... Yes (1.07) Checking if you have Path::Class::Dir 0 ... Yes (0.32) ==> Found dependencies: Path::IsDev, Path::FindDev Searching Path::IsDev on cpanmetadb ... --> Working on Path::IsDev Fetching http://www.cpan.org/authors/id/K/KE/KENTNL/Path-IsDev-1.00000 +0.tar.gz -> OK Unpacking Path-IsDev-1.000000.tar.gz Entering Path-IsDev-1.000000 Checking configure dependencies from META.json Checking if you have Module::Build 0.4007 ... Yes (0.4007) Checking if you have Module::Build 0.36 ... Yes (0.4007) Configuring Path-IsDev-1.000000 Running Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Path-IsDev' version '1.000000' -> OK Checking dependencies from MYMETA.json ... Checking if you have Scalar::Util 0 ... Yes (1.27) Checking if you have FindBin 0 ... Yes (1.51) Checking if you have File::Spec 0 ... Yes (3.40) Checking if you have IO::Handle 0 ... Yes (1.33) Checking if you have Role::Tiny 0 ... Yes (1.002005) Checking if you have Test::Fatal 0 ... Yes (0.010) Checking if you have Sub::Exporter 0 ... Yes (0.985) Checking if you have Module::Runtime 0 ... Yes (0.013) Checking if you have IPC::Open3 0 ... Yes (1.12) Checking if you have Module::Build 0.4007 ... Yes (0.4007) Checking if you have Class::Tiny 0.010 ... Yes (0.012) Checking if you have Path::Tiny 0 ... Yes (0.044) Checking if you have warnings 0 ... Yes (1.13) Checking if you have File::HomeDir 0 ... Yes (1.00) Checking if you have Carp 0 ... Yes (1.26) Checking if you have Role::Tiny::With 0 ... Yes (undef) Checking if you have Test::More 0.99 ... Yes (0.99) Checking if you have strict 0 ... Yes (1.07) Checking if you have File::Temp 0 ... Yes (0.2304) Building and testing Path-IsDev-1.000000 Building Path-IsDev t/00-compile.t ..................... ok # # # Generated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10 # perl: 5.016003 (wanted 5.006) on MSWin32 from C:\my64bitperl\perl\bi +n\perl.exe # # Carp => 1.26 (want an +y version) # Class::Tiny => 0.012 (want 0. +010) # File::HomeDir => 1.00 (want an +y version) # File::Spec => 3.40 (want an +y version) # File::Temp => 0.2304 (want an +y version) # FindBin => 1.51 (want an +y version) # IO::Handle => 1.33 (want an +y version) # IPC::Open3 => 1.12 (want an +y version) # Module::Build => 0.4007 (want 0. +4007) # Module::Runtime => 0.013 (want an +y version) # Path::Tiny => 0.044 (want an +y version) # Role::Tiny => 1.002005 (want an +y version) # Role::Tiny::With => <undef> (want an +y version) # Scalar::Util => 1.27 (want an +y version) # Sub::Exporter => 0.985 (want an +y version) # Test::Fatal => 0.010 (want an +y version) # Test::More => 0.99 (want 0. +99) # strict => 1.07 (want an +y version) # warnings => 1.13 (want an +y version) # # Thanks for using my code. I hope it works for you. # If not, please try and include this output in the bug report. # That will help me reproduce the issue and solve your problem. # t/000-report-versions-tiny.t ....... ok # Failed test 'no exceptions: instance->_matches($path_isdev_sou +rce)' # at t/Path-IsDev-Object/_matches.t line 12. # got: 'The my_desktop method is not implemented on this +platform at C:\MY64BI~1\data\.cpanm\work\1383571121.2816\Path-IsDev-1 +.000000\blib\lib/Path/IsDev/NegativeHeuristic/HomeDir.pm line 31. # ' # expected: undef # Looks like you failed 1 test of 11. # Failed test 'corpus/Changelog' # at t/Path-IsDev-Object/_matches.t line 80. # Looks like you failed 1 test of 1. t/Path-IsDev-Object/_matches.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests # $path_isdev_source = C:/MY64BI~1/data/.cpanm/work/1383571121.281 +6/Path-IsDev-1.000000 # Failed test 'no exceptions: instance->matches($path_isdev_sour +ce)' # at t/Path-IsDev-Object/basic.t line 12. # got: 'The my_desktop method is not implemented on this +platform at C:\MY64BI~1\data\.cpanm\work\1383571121.2816\Path-IsDev-1 +.000000\blib\lib/Path/IsDev/NegativeHeuristic/HomeDir.pm line 31. # ' # expected: undef # Looks like you failed 1 test of 11. # Failed test 'corpus/Changelog' # at t/Path-IsDev-Object/basic.t line 66. # Looks like you failed 1 test of 1. t/Path-IsDev-Object/basic.t ........ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests # Failed test 'Can call without exception' # at t/Path-IsDev/is_dev/Changelog.t line 12. # got: 'The my_desktop method is not implemented on this plat +form at C:\MY64BI~1\data\.cpanm\work\1383571121.2816\Path-IsDev-1.000 +000\blib\lib/Path/IsDev/NegativeHeuristic/HomeDir.pm line 31. # ' # expected: undef # Failed test 'path is a dev dir' # at t/Path-IsDev/is_dev/Changelog.t line 31. # got: undef # expected: anything else # Looks like you failed 2 tests of 4. t/Path-IsDev/is_dev/Changelog.t .... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests # Failed test 'Can call without exception' # at t/Path-IsDev/is_dev/DZil.t line 12. # got: 'The my_desktop method is not implemented on this plat +form at C:\MY64BI~1\data\.cpanm\work\1383571121.2816\Path-IsDev-1.000 +000\blib\lib/Path/IsDev/NegativeHeuristic/HomeDir.pm line 31. # ' # expected: undef # Failed test 'path is a dev dir' # at t/Path-IsDev/is_dev/DZil.t line 31. # got: undef # expected: anything else # Looks like you failed 2 tests of 4. t/Path-IsDev/is_dev/DZil.t ......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests # Failed test 'Can call without exception' # at t/Path-IsDev/is_dev/DevDir.t line 12. # got: 'The my_desktop method is not implemented on this plat +form at C:\MY64BI~1\data\.cpanm\work\1383571121.2816\Path-IsDev-1.000 +000\blib\lib/Path/IsDev/NegativeHeuristic/HomeDir.pm line 31. # ' # expected: undef # Failed test 'path is a dev dir' # at t/Path-IsDev/is_dev/DevDir.t line 31. # got: undef # expected: anything else # Looks like you failed 2 tests of 4. t/Path-IsDev/is_dev/DevDir.t ....... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests # Failed test 'Can call without exception' # at t/Path-IsDev/is_dev/META.t line 12. # got: 'The my_desktop method is not implemented on this plat +form at C:\MY64BI~1\data\.cpanm\work\1383571121.2816\Path-IsDev-1.000 +000\blib\lib/Path/IsDev/NegativeHeuristic/HomeDir.pm line 31. # ' # expected: undef # Failed test 'path is a dev dir' # at t/Path-IsDev/is_dev/META.t line 31. # got: undef # expected: anything else # Looks like you failed 2 tests of 4. t/Path-IsDev/is_dev/META.t ......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests # Failed test 'Can call without exception' # at t/Path-IsDev/is_dev/MYMETA.t line 12. # got: 'The my_desktop method is not implemented on this plat +form at C:\MY64BI~1\data\.cpanm\work\1383571121.2816\Path-IsDev-1.000 +000\blib\lib/Path/IsDev/NegativeHeuristic/HomeDir.pm line 31. # ' # expected: undef # Failed test 'path is a dev dir' # at t/Path-IsDev/is_dev/MYMETA.t line 31. # got: undef # expected: anything else # Looks like you failed 2 tests of 4. t/Path-IsDev/is_dev/MYMETA.t ....... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests # Failed test 'Can call without exception' # at t/Path-IsDev/is_dev/MakeMaker.t line 12. # got: 'The my_desktop method is not implemented on this plat +form at C:\MY64BI~1\data\.cpanm\work\1383571121.2816\Path-IsDev-1.000 +000\blib\lib/Path/IsDev/NegativeHeuristic/HomeDir.pm line 31. # ' # expected: undef # Failed test 'path is a dev dir' # at t/Path-IsDev/is_dev/MakeMaker.t line 31. # got: undef # expected: anything else # Looks like you failed 2 tests of 4. t/Path-IsDev/is_dev/MakeMaker.t .... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests # Failed test 'Can call without exception' # at t/Path-IsDev/is_dev/ModuleBuild.t line 12. # got: 'The my_desktop method is not implemented on this plat +form at C:\MY64BI~1\data\.cpanm\work\1383571121.2816\Path-IsDev-1.000 +000\blib\lib/Path/IsDev/NegativeHeuristic/HomeDir.pm line 31. # ' # expected: undef # Failed test 'path is a dev dir' # at t/Path-IsDev/is_dev/ModuleBuild.t line 31. # got: undef # expected: anything else # Looks like you failed 2 tests of 4. t/Path-IsDev/is_dev/ModuleBuild.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests # Failed test 'Can call without exception' # at t/Path-IsDev/is_dev/TestDir.t line 12. # got: 'The my_desktop method is not implemented on this plat +form at C:\MY64BI~1\data\.cpanm\work\1383571121.2816\Path-IsDev-1.000 +000\blib\lib/Path/IsDev/NegativeHeuristic/HomeDir.pm line 31. # ' # expected: undef # Failed test 'path is a dev dir' # at t/Path-IsDev/is_dev/TestDir.t line 31. # got: undef # expected: anything else # Looks like you failed 2 tests of 4. t/Path-IsDev/is_dev/TestDir.t ...... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests The my_desktop method is not implemented on this platform at C:\MY64BI +~1\data\.cpanm\work\1383571121.2816\Path-IsDev-1.000000\blib\lib/Path +/IsDev/NegativeHeuristic/HomeDir.pm line 31. t/basic.t .......................... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Test Summary Report ------------------- t/Path-IsDev-Object/_matches.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/Path-IsDev-Object/basic.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/Path-IsDev/is_dev/Changelog.t (Wstat: 512 Tests: 4 Failed: 2) Failed tests: 3-4 Non-zero exit status: 2 t/Path-IsDev/is_dev/DZil.t (Wstat: 512 Tests: 4 Failed: 2) Failed tests: 3-4 Non-zero exit status: 2 t/Path-IsDev/is_dev/DevDir.t (Wstat: 512 Tests: 4 Failed: 2) Failed tests: 3-4 Non-zero exit status: 2 t/Path-IsDev/is_dev/META.t (Wstat: 512 Tests: 4 Failed: 2) Failed tests: 3-4 Non-zero exit status: 2 t/Path-IsDev/is_dev/MYMETA.t (Wstat: 512 Tests: 4 Failed: 2) Failed tests: 3-4 Non-zero exit status: 2 t/Path-IsDev/is_dev/MakeMaker.t (Wstat: 512 Tests: 4 Failed: 2) Failed tests: 3-4 Non-zero exit status: 2 t/Path-IsDev/is_dev/ModuleBuild.t (Wstat: 512 Tests: 4 Failed: 2) Failed tests: 3-4 Non-zero exit status: 2 t/Path-IsDev/is_dev/TestDir.t (Wstat: 512 Tests: 4 Failed: 2) Failed tests: 3-4 Non-zero exit status: 2 t/basic.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=13, Tests=62, 10 wallclock secs ( 0.06 usr + 0.03 sys = 0.09 C +PU) Result: FAIL Failed 11/13 test programs. 18/62 subtests failed. -> FAIL Installing Path::IsDev failed. See C:\MY64BI~1\data\.cpanm\wor +k\1383571121.2816\build.log for details. Retry with --force to force +install it. Searching Path::FindDev on cpanmetadb ... --> Working on Path::FindDev Fetching http://www.cpan.org/authors/id/K/KE/KENTNL/Path-FindDev-0.4.1 +.tar.gz -> OK Unpacking Path-FindDev-0.4.1.tar.gz Entering Path-FindDev-0.4.1 Checking configure dependencies from META.json Checking if you have Module::Build 0.4007 ... Yes (0.4007) Checking if you have Module::Build 0.36 ... Yes (0.4007) Configuring Path-FindDev-0.4.1 Running Build.PL Checking prerequisites... requires: ! Path::IsDev is not installed ! Path::IsDev::Object is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the v +ersions of the modules indicated above before proceeding with this installatio +n Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Path-FindDev' version '0.4.1' -> OK Checking dependencies from MYMETA.json ... Checking if you have Scalar::Util 0 ... Yes (1.27) Checking if you have FindBin 0 ... Yes (1.51) Checking if you have File::Spec 0 ... Yes (3.40) Checking if you have IO::Handle 0 ... Yes (1.33) Checking if you have Sub::Exporter 0 ... Yes (0.985) Checking if you have IPC::Open3 0 ... Yes (1.12) Checking if you have Path::IsDev::Object 0 ... No Checking if you have Module::Build 0.4007 ... Yes (0.4007) Checking if you have Class::Tiny 0.010 ... Yes (0.012) Checking if you have Path::Tiny 0.038 ... Yes (0.044) Checking if you have warnings 0 ... Yes (1.13) Checking if you have Path::IsDev v0.2.2 ... No Checking if you have Carp 0 ... Yes (1.26) Checking if you have Test::More 0.99 ... Yes (0.99) Checking if you have strict 0 ... Yes (1.07) ==> Found dependencies: Path::IsDev::Object, Path::IsDev Searching Path::IsDev::Object on cpanmetadb ... Already tried Path-IsDev-1.000000. Skipping. Already tried Path::IsDev. Skipping. -> FAIL Installing the dependencies failed: Module 'Path::IsDev::Objec +t' is not installed, Module 'Path::IsDev' is not installed -> FAIL Bailing out the installation for Path-FindDev-0.4.1. -> FAIL Installing the dependencies failed: Module 'Path::IsDev' is no +t installed, Module 'Path::FindDev' is not installed -> FAIL Bailing out the installation for File-ShareDir-ProjectDistDir- +0.5.2. -> FAIL Installing the dependencies failed: Module 'File::ShareDir::Pr +ojectDistDir' is not installed -> FAIL Bailing out the installation for Pod-Spell-1.13.
I tried installing a few modules like, MIME::Lite, Excel::Writer::XLSX, and a few other modules and they installed fine. I tried installing Path::FindDev seperately, but got similar errors.
We were using DWIM Perl Version 5.14.2 as of now, but its not updated from a while so thought its better to got the Portable Strawberry Perl way.
I will be extremely thankful if someone could tell me where I am going wrong.
|
---|