Subject: | t/99-pod.t fails on RHEL5 |
Hi,
I'm having trouble with installing MQSeries on RHEL5.
PERL_DL_NONLAZY=1 /opt/perl/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/99-pod.t .. 1/63
# Failed test 'POD test for MQSeries/Message/IIH.pm'
# at /opt/perl/lib/site_perl/5.18.2/Test/Pod.pm line 186.
# MQSeries/Message/IIH.pm (415): Non-ASCII character seen before =encoding in 'Villag�mez'. Assuming ISO8859-1
# Looks like you failed 1 test of 63.
t/99-pod.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/63 subtests
Test Summary Report
-------------------
t/99-pod.t (Wstat: 256 Tests: 63 Failed: 1)
Failed test: 47
Non-zero exit status: 1
Files=1, Tests=63, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.24 cusr 0.03 csys = 0.30 CPU)
Result: FAIL
Failed 1/1 test programs. 1/63 subtests failed.
make: *** [test_dynamic] Error 1
It turns out the file MQSeries/Message/IIH.pm is in ISO-8859-1, and contains non-ASCII chars. Add
=encoding ISO-8859-1
in the file, and the problem goes away.
Best regards,
Jens-Petter Salvesen