Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Errors when trying to install Module::Build via local::lib bootstrap

by trillich (Sexton)
on Feb 25, 2011 at 18:11 UTC ( [id://890202]=perlquestion: print w/replies, xml ) Need Help??

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

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)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://890202]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-03-19 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found