Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

gabor (1626)

gabor
  (email not shown publicly)
http://szabgab.com/

Perl developer and trainer [szabgab.com]
Test automation using Perl [szabgab.com]

Journal of gabor (1626)

Sunday December 19, 2004
01:29 PM

SOAP::Lite failure on AIX

[ #22370 ]
After some (political) struggle I managed to install 5.8.6 from source on this AIX machine using gcc.
  • Installing perl was simple.
  • Installing Compress::Zlib was simple
  • Installing a bunch of other prerequisites was simple
  • for XML::Parser I had to install Expat 1.95.8, I had do manually copy expat_external.h to the include directory and then I had to edit the Makefile.PL of XML::Parser. But in the end it worked.
  • The problem is that SOAP::Lite fails some of its tests :(

Heres is the output

gabor:/software/UniQPrint/gabor/install/SOAP-Lite-0.60> make test
        PERL_DL_NONLAZY=1 /software/UniQPrint/gabor/perl586/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/01-core.t t/02-payload.t t/03-server.t t/04-attach.t t/05-customxml.t t/06-modules.t t/07-xmlrpc_payload.t t/08-schema.t
t/01-core..............ok
t/02-payload...........ok
t/03-server ............ok 1/30# Failed test 2 in t/03-server.t at line 138 fail #2
#  t/03-server.t line 138 is:     $_ =~ /XML/ || $is_mimeparser ? ok(($result->faultstring || '') =~ /Failed to access class \(Calculator\)/)t/03-server............NOK 2# Failed test 3 in t/03-server.t at line 138 fail #3
t/03-server............ok 5/30# Failed test 6 in t/03-server.t at line 148 fail #2
#  t/03-server.t line 148 is:     $_ =~ /XML/ || $is_mimeparser ? ok(($result->result || 0) == 7)
t/03-server............NOK 6# Failed test 7 in t/03-server.t at line 148 fail #3
t/03-server............FAILED tests 2-3, 6-7
        Failed 4/30 tests, 86.67% okay
t/04-attach............Something wrong with MIME message: MIME::Parser: can't flush:  at /software/UniQPrint/gabor/perl586/lib/site_perl/5.8.6/MIME/Parser.pm line 789.

t/04-attach............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-15
        Failed 15/15 tests, 0.00% okay
t/05-customxml.........ok
t/06-modules...........ok
        5/18 skipped: various reasons
t/07-xmlrpc_payload....ok
t/08-schema............ok
Failed Test   Stat Wstat Total Fail  Failed  List of Failed
------------------------------------------------------------------------ -------
t/03-server.t               30    4  13.33%  2-3 6-7
t/04-attach.t  255 65280    15   30 200.00%  1-15
5 subtests skipped.
Failed 2/8 test scripts, 75.00% okay. 19/308 subtests failed, 93.83% okay.
make: 1254-004 The error code from the last command is 2.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I'm getting similar SOAP::Lite build errors on Linux, red hat 9 I think. Did you figure out what was wrong? t/03-server............ok 1/30# Failed test 2 in t/03-server.t at line 138 fail #2 # t/03-server.t line 138 is: $_ =~ /XML/ || $is_mimeparser ? ok(($result->faultstring || '') =~ /Failed to access class \(Calculator\)/) # Failed test 3 in t/03-server.t at line 138 fail #3 t/03-server............NOK 6# Failed test 6 in t/03-server.t at line 148 fail #2 # t/03-server.t line 148 is: $_ =~ /
  • I am guessing that this is the cause of our problems. Though I am not sure why. Something wrong with MIME message: MIME::Parser: can't flush And looking at the docs for that class it says "experimental class for parsing MIME streams" great! Anyway I just checked again and I have the latest version of that class and it does pass its own tests :-(