O blessed ones --

We are hoping to get local::lib working on an HP-UX system via the instructions from the local::lib manpage

...and we run into errors at the

perl Makefile.PL --bootstrap

step (for Module::Build) namely:

t/basic.t ...................... 22/58 # Failed test at t/basic.t line 141. # got: '--bar' # expected: '1' # Failed test 'bar' # at t/basic.t line 142. # got: '-bat=hello' # expected: '2' # Failed test 'bat' # at t/basic.t line 143. # got: undef # expected: 'hello' # Failed test at t/basic.t line 158. # got: '--bar' # expected: '1' # Failed test at t/basic.t line 162. # got: '--bar' # expected: '1'

Is there an enlightened/elegant way to get past this snag? We've gone looking for the test files to see what they're really testing and haven't found them (not in ./lib, not in /tmp/*...)

Test Summary Report ------------------- t/basic.t (Wstat: 1280 Tests: 58 Failed: 5) Failed tests: 28-30, 37, 40 Non-zero exit status: 5 Files=47, Tests=1120, 159 wallclock secs ( 0.71 usr 0.40 sys + 120.39 + cusr 36.17 csys = 157.67 CPU) Result: FAIL Failed 1/47 test programs. 5/1120 subtests failed. DAGOLDEN/Module-Build-0.3624.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports DAGOLDEN/Module-Build-0.3624.tar.gz Warning (usually harmless): 'YAML' not installed, will not store persi +stent state Running Build install make test had returned bad status, won't install without force *** Module::Build installation failed. *** Module::AutoInstall installation finished. Checking if your kit is complete... Looks good Warning: prerequisite Module::Build 0.36 not found. We have 0.340201. Writing Makefile for local::lib

We also ran perl Makefile.PL --bootstrap | tee Building.out which produces slightly different output (when STDOUT isn't to a TTY) and can provide that if it's helpful.

(edited to remove stray partial-paragraph)


In reply to Errors when trying to install Module::Build via local::lib bootstrap by trillich

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.