Skip Menu |

This queue is for tickets about the XML-XSH2 CPAN distribution.

Report information
The Basics
Id: 130915
Status: resolved
Priority: 0/
Queue: XML-XSH2

People
Owner: CHOROBA [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.2.4
Fixed in: 2.2.6



Subject: Can't locate XML/XSH2/Help.pm in @INC
The test suite fails, probably only if there's no former installation of XML::XSH2 on the host (which would include the missing .pm file): ... PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Can't locate XML/XSH2/Help.pm in @INC (you may need to install the XML::XSH2::Help module) (@INC contains: ... .) at /usr/home/cpansand/.cpan/build/2019110601/XML-XSH2-2.2.4-0/blib/lib/XML/XSH2/Functions.pm line 11. BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2019110601/XML-XSH2-2.2.4-0/blib/lib/XML/XSH2/Functions.pm line 11. Compilation failed in require at /usr/home/cpansand/.cpan/build/2019110601/XML-XSH2-2.2.4-0/blib/lib/XML/XSH2.pm line 16. BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2019110601/XML-XSH2-2.2.4-0/blib/lib/XML/XSH2.pm line 16. Compilation failed in require at t/01basic.t line 174. BEGIN failed--compilation aborted at t/01basic.t line 174. # Failed test 1 in t/01basic.t at line 173 # t/01basic.t line 173 is: END { ok(0) unless $loaded; } t/01basic.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 70/70 subtests ...
Thanks, yes, I know. The files shouldn't come from a previous install, but they should be generated during the make phase. Somehow, it doesn't work. I'll investigate.
In the end, solved by using the PM in MakeMaker. Thanks for the report.