Skip Menu |

This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id: 25668
Status: resolved
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: Julian_Dunn [...] cbc.ca
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: cannot build SOAP::Lite with mod_perl 1.29
Date: Thu, 22 Mar 2007 10:51:00 -0400
To: <bug-SOAP-Lite [...] rt.cpan.org>
From: "Julian Dunn" <Julian_Dunn [...] cbc.ca>
Tests 15 and 19 fail from t/06-modules.t. If I run with debugging on, I see this: # Running under perl version 5.008003 for linux # Current time local: Thu Mar 22 10:49:27 2007 # Current time GMT: Thu Mar 22 14:49:27 2007 # Using Test.pm version 1.24 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 Undefined subroutine &Apache::Constants::OK called at /export/home/jdunn/rpm/SOURCES/SOAP-Lite-0.69/blib/lib/SOAP/Transport/HTTP.pm line 565. Compilation failed in require at (eval 114) line 3. # Failed test 15 in t/06-modules.t at line 24 fail #15 Could it be that SOAP::Transport::HTTP is trying to invoke OK as a subroutine instead of as a constant? I am not so good with Perl so I don't really understand this code. - Julian -- -- Julian C. Dunn, P.Eng. <Julian_Dunn@cbc.ca> -- Platform Administrator * CBC.ca Production & Operations -- Office: 2C310-J * Tel.: (416) 205-3311 x6988
Hi Julian, this is due to mod_perl <2's behaviour, which does not export constants (like Apache::Constant::OK) when not running under mod_perl (e.g. when called from a test script). I removed the tests in question, as they can never work with mod_perl < 2 installed. Fixed in CVS, will be in next release. Thanks for reporting, Martin