http://www.perlmonks.org?node_id=988271

tjdexter1 has asked for the wisdom of the Perl Monks concerning the following question:

My install of Padra 0.96 was not successful saying Debug::Client 0.20 was not found. That came after I installed Stawberry Perl 5.16.1.1 (32bit) on my Window7 (64bit) workstation -- perl, itself, reported no errors or warnings during its earlier install.

Here's the Padre 0.96 install output:
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\utjd001>cpan Padre CPAN: CPAN::SQLite loaded ok (v0.202) Database was generated on Sat, 18 Aug 2012 14:03:09 GMT Running install for module 'Padre' Running make for P/PL/PLAVEN/Padre-0.96.tar.gz CPAN: Digest::SHA loaded ok (v5.71) CPAN: Compress::Zlib loaded ok (v2.055) Checksum for C:\strawberry\cpan\sources\authors\id\P\PL\PLAVEN\Padre-0 +.96.tar.gz ok CPAN: Archive::Tar loaded ok (v1.88) CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN: CPAN::Meta loaded ok (v2.120921) CPAN: Module::CoreList loaded ok (v2.70) CPAN.pm: Building P/PL/PLAVEN/Padre-0.96.tar.gz Found locale English_United States.1252 Building padre.exe Found wxWidgets 2.8.12 Found Wx.pm 0.9909 Checking if your kit is complete... Looks good Warning: prerequisite Debug::Client 0.20 not found. Writing Makefile for Padre::Util::Win32 Writing MYMETA.yml and MYMETA.json Writing Makefile for Padre Writing MYMETA.yml and MYMETA.json ---- Unsatisfied dependencies detected during ---- ---- PLAVEN/Padre-0.96.tar.gz ---- <readmore> Debug::Client [requires] Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module 'Debug::Client' Running make for B/BO/BOWTIE/Debug-Client-0.20.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\B\BO\BOWTIE\Debug-C +lient-0.20.tar.gz ok CPAN.pm: Building B/BO/BOWTIE/Debug-Client-0.20.tar.gz Checking if your kit is complete... Looks good Warning: prerequisite PadWalker 1.92 not found. Warning: prerequisite Test::Class 0.36 not found. Writing Makefile for Debug::Client Writing MYMETA.yml and MYMETA.json Warning: prerequisite PadWalker 1.92 not found. Warning: prerequisite Test::Class 0.36 not found. Writing Makefile for Debug::Client Writing MYMETA.yml and MYMETA.json ---- Unsatisfied dependencies detected during ---- ---- BOWTIE/Debug-Client-0.20.tar.gz ---- Test::Class [build_requires] PadWalker [requires] Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module 'Test::Class' Running make for A/AD/ADIE/Test-Class-0.37.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\A\AD\ADIE\Test-Clas +s-0.37.tar.gz ok CPAN: Module::Build loaded ok (v0.4002) CPAN.pm: Building A/AD/ADIE/Test-Class-0.37.tar.gz Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Test-Class' version '0.37' Building Test-Class ADIE/Test-Class-0.37.tar.gz C:\strawberry\perl\bin\perl.exe ./Build -- OK CPAN: YAML::XS loaded ok (v0.38) Running Build test t\00-load.t .................... # Testing Test::Class::Load 0.35, Per +l 5.016001, C:\strawberry\perl\bin t\00-load.t .................... ok t\20-load-classes.t ............ ok t\21-load-subclassed.t ......... ok t\Tests.t ...................... ok t\_new.t ....................... ok t\bad-autoloads.t .............. skipped: need Contextual::Return t\bailout.t .................... ok t\builder.t .................... ok t\compile.t .................... ok t\current_method.t ............. ok t\diag_on_failure.t ............ ok t\die-in-setup.t ............... t\die-in-setup.t ............... 1/1 # Failed test 'die in setup cau +sed test method to fail' # at t\die-in-setup.t line 28. # STDERR is: # # Failed test 'setup_method (for test method 'test') died (oops - +we died)' # # at t\die-in-setup.t line 27. # # (in Foo->setup_method) # # not: # # Failed test 'setup_method (for test method 'test') died (oops - +we died)' # # # at t/die-in-setup.t line 27. # # # (in Foo->setup_method) # # as expected t\die-in-setup.t ............... Failed 1/1 subtests t\die_before_plan.t ............ ok t\expected_tests.t ............. ok t\fail1.t ...................... ok t\fail2.t ...................... ok t\fail3.t ...................... ok t\filter.t ..................... ok t\filter_bad_filter.t .......... ok t\filter_fixtures.t ............ ok t\filter_fixtures_only.t ....... ok t\filter_multiple.t ............ ok t\header.t ..................... ok t\late_header.t ................ ok t\methodinfo.t ................. ok t\named_test.t ................. ok t\num_method_tests.t ........... ok t\num_tests.t .................. ok t\override.t ................... ok t\rt15870.t .................... ok t\rt17264.t .................... ok t\run_all_tests.t .............. ok t\runtests.t ................... ok t\runtests_die.t ............... ok t\runtests_extra.t ............. ok t\runtests_noplan.t ............ ok t\runtests_of.t ................ ok t\runtests_result.t ............ ok t\runtests_return.t ............ ok t\runtests_trailing.t .......... ok t\runtests_with_wrong_class.t .. ok t\show_plan_in_shutdown.t ...... ok t\skip1.t ...................... ok t\skip2.t ...................... ok t\skip_class_reason.t .......... ok t\skip_empty_classes.t ......... 1/5 # # Bar::Test->the_test t\skip_empty_classes.t ......... ok t\spaces.t ..................... ok t\startup.t .................... ok t\startup_that_dies.t .......... ok t\test_classes.t ............... ok t\test_deep.t .................. ok t\test_method.t ................ ok t\test_verbose.t ............... ok t\todo.t ....................... # Test::More: 0.98 t\todo.t ....................... ok Test Summary Report ------------------- t\die-in-setup.t (Wstat: 0 Tests: 1 Failed: 1) Failed test: 1 Files=54, Tests=186, 5 wallclock secs ( 0.17 usr + 0.03 sys = 0.20 +CPU) Result: FAIL Failed 1/54 test programs. 1/186 subtests failed. ADIE/Test-Class-0.37.tar.gz C:\strawberry\perl\bin\perl.exe ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports ADIE/Test-Class-0.37.tar.gz Running Build install make test had returned bad status, won't install without force Stopping: 'install' failed for 'Test::Class'. <readmore/>
Guidance is humbly requested by this initiate.
  • Comment on Padre Install: Warning: prerequisite Debug::Client 0.20 not found.
  • Download Code

Replies are listed 'Best First'.
Re: Padra Install: Warning: prerequisite Debug::Client 0.20 not found.
by syphilis (Archbishop) on Aug 19, 2012 at 01:46 UTC
    Test-Class is not passing all of its tests, and that kills the build.

    You need to use force:
    cpan -f -i Test::Class
    then try the Padre install again.

    Cheers,
    Rob
Re: Padre Install: Warning: prerequisite Debug::Client 0.20 not found.
by davido (Cardinal) on Aug 19, 2012 at 01:58 UTC

    Just force the install and forget about it. ...or read on, and then force the install.

    Look at the real error report:

    089: t\die-in-setup.t ............... 090: t\die-in-setup.t ............... 1/1 # Failed test 'die in setu +p caused test method to fail' 091: # at t\die-in-setup.t line 28. 092: # STDERR is: 093: # # Failed test 'setup_method (for test method 'test') died (oo +ps - we died)' 094: # # at t\die-in-setup.t line 27. 095: # # (in Foo->setup_method) 096: # 097: # not: 098: # # Failed test 'setup_method (for test method 'test') died (oo +ps - we died)' 099: # 100: # # at t/die-in-setup.t line 27. 101: # 102: # # (in Foo->setup_method) 103: # 104: # as expected 105: t\die-in-setup.t ............... Failed 1/1 subtests

    In other words, the test failed because the output was:

    Failed test 'setup_method (for test method 'test') died (oops - we die +d)' at t\die-in-setup.t line 27. (in Foo->setup_method)

    ...when the expected output was...

    Failed test 'setup_method (for test method 'test') died (oops - we die +d)' at t/die-in-setup.t line 27. (in Foo->setup_method)

    The test failed over the placement of three newlines -- possibly a line-endings cross-platform incompatibility. It's an innocuous failure at worst (and really rather silly).

    So by all means, force the install using sisyphus's suggestion above.


    Dave

      I discovered additional dependency errors by doing:

      cpan -f -i Test::Class

      Those got remedied in doing:

      cpanp -i Debug::Client Padre --allow_build_interactivity=0 --skiptest=0 --force --prereqs=1

      Padre installed successfully. It seems PadWalker was missing on my system, too, but the interactive install allowed me to fix it.

      Thanks to all for timely positive contributions.

        Hi,

        This issue is caused by Test::Class and Strawberry Perl.

        It is fixed in https://metacpan.org/release/BOWTIE/Debug-Client-0.21_11/ compatable with Padre 0.97+

        regards bowtie
Re: Padra Install: Warning: prerequisite Debug::Client 0.20 not found.
by Anonymous Monk on Aug 19, 2012 at 01:49 UTC