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

Hello,

I'm new to the 'perlmonks.org' site and not wanting to violate the existing rules here, but I would like to ask at which section - if any of course - could I present a problem with which I struggle ?

I want to install the module 'Module::Starter::AddModule'. However, during installation the 'Distribution::Guess::BuildSystem' module the error occurs. The 'Distribution::Guess::BuildSystem' is a required component.

Testing of Distribution::Guess::BuildSystem does not pass.

[root@pars-k-018 ~/tt1/Distribution-Guess-BuildSystem-0.12]# make test PERL_DL_NONLAZY=1 "/usr/local/bin/perl5" "-MExtUtils::Command::MM" "-M +Test::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, +'blib/lib', 'blib/arch')" t/*.t t/_setting.t .................... ok t/file_has_string.t ............. ok t/just_give_me_a_hash.t ......... ok t/load.t ........................ ok t/makemaker-build-either.t ...... ok t/makemaker-build-wrapped.t ..... ok t/makemaker-true.t .............. 1/? # Failed test 'makemaker_version returns true (good)' # at t/makemaker-true.t line 94. # Looks like you failed 1 test of 30. t/makemaker-true.t .............. Dubious, test returned 1 (wstat 256, + 0x100) Failed 1/30 subtests t/module-build-compat.t ......... ok t/module-build.t ................ ok t/module-install-autoinstall.t .. ok t/module-install.t .............. ok t/pod.t ......................... skipped: Test::Pod 1.00 required for + testing POD t/pod_coverage.t ................ skipped: Test::Pod::Coverage 1.00 re +quired for testing POD coverage t/preferred.t ................... ok Test Summary Report ------------------- t/makemaker-true.t (Wstat: 256 Tests: 30 Failed: 1) Failed test: 20 Non-zero exit status: 1 Files=14, Tests=261, 6 wallclock secs ( 0.22 usr 0.07 sys + 3.91 cu +sr 0.65 csys = 4.84 CPU) Result: FAIL Failed 1/14 test programs. 1/261 subtests failed. *** Error code 255 Stop. make: stopped in /root/tt1/Distribution-Guess-BuildSystem-0.12

Would You be so kind to help me with this or point me, where can I get a help to resolve this problem.

I'm running it on the following system:

# uname -a FreeBSD pars-k-018 10.0-RELEASE-p18 FreeBSD 10.0-RELEASE-p18 #0: Wed F +eb 25 01:08:00 UTC 2015 root@amd64-builder.daemonology.net:/usr/o +bj/usr/src/sys/GENERIC amd64

Thank you in advance for your help

Replies are listed 'Best First'.
Re: Problem with 'Distribution::Guess::BuildSystem' module
by Discipulus (Canon) on Nov 30, 2015 at 08:59 UTC
    welcome Krzysztofc, or well.. witam! to the monastery,

    About the section, you choosed th right one: they are described here

    Depending on the tool you use to install modules (cpan cpanp cpanm clients) you can always force the installation when tests fail (typically -f switch).

    In addition you can check the usefull cpantester matrix to get an idea about the installability of the module. Some module are not well distributed to go in every OSs but probably is not that case, being the author one of most smart here around..

    Is important to see also what perl version are you using, ie the output of perl -v. Note also that is considered bad practice to modify the system's perl and adviceable to have another perl under your path.

    HtH
    L*
    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.