Hello all!
I'm working on installing Bricolage 1.8.2 on Mac OS X 10.3.5 (stock perl v5.8.1-RC3). One of the required modules is SOAP::Lite. However, I'm having make test failures installing it via CPAN (v1.76). It seems that I'm having a problem with MIME::Parser. (Something wrong with MIME message: MIME::Parser: can't flush: at /Library/Perl/5.8.1/MIME/Parser.pm line 789). I'm unfamiliar with how to attempt to reinstall MIME::Parser in case there's a problem with my MIME::Parser install. I believe it was installed as a requirement for another module I installed via CPAN.
Relevant sections posted below. Any additional information cheerfully submitted upon request.
Thanks for any help!
Michael Glaesemann grzm myrealbox com
Dali:~ glaesema$ sudo perl -MCPAN -e 'install SOAP::Lite' CPAN: Storable loaded ok Going to read /Users/glaesema/.cpan/Metadata Database was generated on Tue, 02 Nov 2004 20:13:16 GMT Running install for module SOAP::Lite Running make for B/BY/BYRNE/SOAP/SOAP-Lite-0.60a.tar.gz
<snip />
Removing previously used /Users/glaesema/.cpan/build/SOAP-Lite-0.60
CPAN.pm: Going to build B/BY/BYRNE/SOAP/SOAP-Lite-0.60a.tar.gz
We are about to install SOAP::Lite and for your convenience will provide you with list of modules and prerequisites, so you'll be able to choose only modules you need for your configuration.
XMLRPC::Lite, UDDI::Lite, and XML::Parser::Lite are included by default. Installed transports can be used for both SOAP::Lite and XMLRPC::Lite.
Press <enter> to see the detailed list. Feature Prerequisites Install? ----------------------------- ---------------------------- -------- Core Package [*] XML::Parser (v2.23) always [*] MIME::Base64 [*] URI Client HTTP support [*] LWP::UserAgent [ yes ] Client HTTPS support [ ] Crypt::SSLeay [ no ] Client SMTP/sendmail support [ ] MIME::Lite [ no ] Client FTP support [*] IO::File [ yes ] [*] Net::FTP Standalone HTTP server [*] HTTP::Daemon [ yes ] Apache/mod_perl server [*] Apache [ yes ] FastCGI server [ ] FCGI [ no ] POP3 server [*] MIME::Parser [ yes ] [*] Net::POP3 IO server [*] IO::File [ yes ] MQ transport support [ ] MQSeries [ no ] JABBER transport support [ ] Net::Jabber [ no ] MIME messages [*] MIME::Parser [ yes ] SSL Support for TCP Transport [ ] IO::Socket::SSL [ no ] Compression support for HTTP [*] Compress::Zlib [ yes ] MIME interoperability w/ Axis [ ] MIME::Parser (v6.106) [ no ] --- An asterix '[*]' indicates if the module is currently installed.
Do you want to proceed with this configuration? [yes]
During "make test" phase we may run tests with several SOAP servers that may take long and may fail due to server/connectivity problems.
Do you want to perform these tests in addition to core tests? [no] Checking if your kit is complete... Looks good
<snip />
Running make test
PERL_DL_NONLAZY=1 /usr/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 41/125# Failed test 42 in t/02-payload.t at line 271
# t/02-payload.t line 271 is: ok($serialized =~ m!<SOAP__SOM(?: xsi:type="namesp(\d+):SOAP__SOM"| xmlns:namesp\d+="http://namespaces.soaplite.com/perl"| xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"| xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"| xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"| xmlns:xsd="http://www.w3.org/1999/XMLSchema"){6}><a xsi:type="xsd:int">1</a><_current(?: SOAP-ENC:arrayType="xsd:ur-type\[0\]"| xsi:type="SOAP-ENC:Array"){2}/></SOAP__SOM>!);
t/02-payload...........FAILED test 42
Failed 1/125 tests, 99.20% okay
t/03-server............# Failed test 1 in t/03-server.t at line 138
t/03-server............NOK 1# t/03-server.t line 138 is: $_ =~ /XML/ || $is_mimeparser ? ok(($result->faultstring || '') =~ /Failed to access class \(Calculator\)/)
# Failed test 2 in t/03-server.t at line 138 fail #2
t/03-server............ok 4/30# Failed test 5 in t/03-server.t at line 148
t/03-server............NOK 5# t/03-server.t line 148 is: $_ =~ /XML/ || $is_mimeparser ? ok(($result->result || 0) == 7)
# Failed test 6 in t/03-server.t at line 148 fail #2
t/03-server............FAILED tests 1-2, 5-6
Failed 4/30 tests, 86.67% okay
t/04-attach............Something wrong with MIME message: MIME::Parser: can't flush: at /Library/Perl/5.8.1/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
3/18 skipped: various reasons
t/07-xmlrpc_payload....ok
t/08-schema............ok
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------ -------
t/02-payload.t 125 1 0.80% 42
t/03-server.t 30 4 13.33% 1-2 5-6
t/04-attach.t 255 65280 15 30 200.00% 1-15
3 subtests skipped.
Failed 3/8 test scripts, 62.50% okay. 20/308 subtests failed, 93.51% okay.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Dali:~ glaesema$ sudo perl -MCPAN -e 'install MIME::Parser'
CPAN: Storable loaded ok
Going to read /Users/glaesema/.cpan/Metadata
Database was generated on Tue, 02 Nov 2004 20:13:16 GMT
MIME::Parser is up to date.
Dali:~ glaesema$