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

Hi Monks

This is what my build.log has to say

dmake.exe: Error code 255, while making'test_dynamic' cpanm (App::cpanminus) 1.5007 on perl 5.014002 built for MSWin32-x86-m +ulti-thread Work directory is /.cpanm/work/1409908853.3344 You have make D:\Dwimperl\c\bin\dmake.exe You have LWP 6.03 Falling back to Archive::Tar 1.80 --> Working on . Entering C:/Users/KIRAN/Documents/Warn_re-Recompile Configuring C:/Users/KIRAN/Documents/Warn_re-Recompile Running Makefile.PL Generating a dmake-style Makefile Writing Makefile for Warn_re::Recompile Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::More 0 ... Yes (0.98) Checking if you have re 0 ... Yes (0.18) Building and testing Warn_re-Recompile-0.01 Skip blib\lib\Warn_re\Recompile.pm (unchanged) D:\Dwimperl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harne +ss" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', + 'blib\arch')" t/*.t # Testing Warn_re::Recompile 0.01, Perl 5.014002, D:\Dwimperl\perl\bin +\perl.exe # Looks like your test exited with 25 just after 1. t/00-load.t ....... Dubious, test returned 25 (wstat 6400, 0x1900) All 1 subtests passed t/boilerplate.t ... ok t/manifest.t ...... skipped: Author tests not required for installatio +n t/pod-coverage.t .. ok t/pod.t ........... ok Test Summary Report ------------------- t/00-load.t (Wstat: 6400 Tests: 1 Failed: 0) Non-zero exit status: 25 t/boilerplate.t (Wstat: 0 Tests: 3 Failed: 0) TODO passed: 3 Files=5, Tests=6, 2 wallclock secs ( 0.27 usr + 0.05 sys = 0.31 CPU +) Result: FAIL Failed 1/5 test programs. 0/6 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' -> FAIL Installing . failed. See \.cpanm\build.log for details.

Replies are listed 'Best First'.
Re: Issue while installing my module from my local distribution.
by Corion (Patriarch) on Sep 05, 2014 at 14:41 UTC

    Have you run the failing test alone? What is the output?

    Have you looked at  \.cpanm\build.log as the error message suggests?

      yes Corion. i have posted my build.log result in the question.

        Maybe now is the time to run the failing test in isolation, so you can see why it fails.

        One thing i could see in my code is

        sub import{ return method; #when i say this there is problem in installation. but +when i say return "method"; #installation going fine but my code is not working. }
Re: Issue while installing my module from my local distribution.
by Anonymous Monk on Sep 05, 2014 at 14:15 UTC
    tell me you ain't gonna put something called “Warn_re-Recompile” on the CPAN?

      Yes.. i am gonna ..put. it on CPAN.

        if there is problem with this name, i can make it out it but current problem must be solved.

        I am able to install it by forcing it but not normally what could be the issue.