Trying to build HTTP::Server::Simple::Mason on Solaris fails

Hi,
I am trying to install rt-3.4.5 on my Solaris NV b39 test system (SunOS
brscs22 5.11 snv_39 sun4u sparc SUNW,Ultra-60)
with perl 5.8.8.
I have perl installed in /opt/perl-5.8.8 and have setenv PERL
/opt/perl-5.8.8/bin/perl and setenv CC cc which is the SunStudio 10
compiler.
I ran make fixdeps which failed on :-
HTTP::Server::Simple::Mason 0.09…MISSING
XML::Simple …MISSING
Test::WWW::Mechanize …MISSING
When I run the tests manually I get:-
root: pwd
/var/tmp/.cpan/build/HTTP-Server-Simple-Mason-0.09
root: /opt/perl-5.8.8/bin/perl Makefile.PL
Checking if your kit is complete…
Looks good
Writing Makefile for HTTP::Server::Simple::Mason
root: make
cp lib/HTTP/Server/Simple/Mason.pm blib/lib/HTTP/Server/Simple/Mason.pm
Manifying blib/man3/HTTP::Server::Simple::Mason.3
root: make test
PERL_DL_NONLAZY=1 /opt/perl-5.8.8/bin/perl “-MExtUtils::Command::MM”
“-e” “test_harness(0, ‘inc’, ‘blib/lib’, ‘blib/arch’)” t/*.t
t/00smoke…ok

t/01live…ok 1/5Use of uninitialized value in pattern match
(m//) at t/01live.t line 18, line 16.

Failed test ‘Returns a page containing only 2’

in t/01live.t at line 18.

undef

doesn’t match ‘(?-xism:2$)’

t/01live…ok 5/5# Looks like you failed 1 test of
5.
t/01live…dubious

    Test returned status 1 (wstat 256, 0x100)

DIED. FAILED test 4
Failed 1/5 tests, 80.00% okay
t/02pod…skipped
all skipped: Test::Pod 1.14 required for testing POD
t/03podcoverage…skipped
all skipped: Test::Pod::Coverage 1.04 required for testing POD
coverage
t/04unhandlederrors…ok
1/5

Failed test ‘Returns an empty page’

in t/04unhandlederrors.t at line 18.

t/04unhandlederrors…NOK 4# got:
undef

expected: ‘’

Looks like you failed 1 test of 5.

t/04unhandlederrors…dubious

    Test returned status 1 (wstat 256, 0x100)

DIED. FAILED test 4
Failed 1/5 tests, 80.00% okay
t/05handlederrors…ok
1/5

Failed test ‘custom error handler called’

in t/05handlederrors.t at line 18.

t/05handlederrors…NOK 4# got:
undef

expected: ‘We handled this error’

Looks like you failed 1 test of 5.

t/05handlederrors…dubious

    Test returned status 1 (wstat 256, 0x100)

DIED. FAILED test 4
Failed 1/5 tests, 80.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
t/01live.t 1 256 5 1 20.00% 4
t/04unhandlederrors.t 1 256 5 1 20.00% 4
t/05handlederrors.t 1 256 5 1 20.00% 4
2 tests skipped.
Failed 3/6 test scripts, 50.00% okay. 3/23 subtests failed, 86.96% okay.
*** Error code 1
make: Fatal error: Command failed for target `test_dynamic’

Any ideas?

Cheers

Richard Skelton
Richard.Skelton@infineon.com
Infineon Technologies UK Ltd
Infineon House
Great Western Court
Hunts Ground Road
Stoke Gifford
Bristol
BS34 8HP
Tel +44(0)117 9528808

Richard Skelton wrote:

Hi Jesse,
I fixed the XML::Simple by installing XML::SAX::Expat

So the only problem left at this stage is Test::WWW::Mechanize

If I grep the RT .pm files I see no mention of the word Mechanize is
this a good test for its use in a production system?

Sorry if I replied to you off-list before. It’s better if we keep Ccing
rt-users.

That dependency is only needed for testing.

signature.asc (191 Bytes)