Re: SOLVED: Re: Installing SOAP::Lite

2004-11-07 Thread Michael Glaesemann
On Nov 7, 2004, at 3:49 AM, David Wheeler wrote:
I just installed Test-Class-0.06_7 and tests still fail. But I use it 
all the time for running the Bricolage tests and haven't had any 
problems. I sent the test output to the author.

I get failures with SOAP::Lite, too, but again, I've been using it for 
a while without trouble. Again, I have sent a failure report to the 
author. They're probably fairly simple issues; hopefully the will be 
addressed soon.
David,
Thanks a lot for your feedback on this. Good to get confirmation!
Cheers,
Michael Glaesemann
grzm myrealbox com


Re: SOLVED: Re: Installing SOAP::Lite

2004-11-06 Thread David Wheeler
On Nov 6, 2004, at 3:14 AM, Michael Glaesemann wrote:
I spoke too soon. Bundle::Bricolage includes SOAP::Lite as well as 
Test::Class, both of which failed tests on my machine. From looking 
some of the Bricolage documentation, it appears Test::Class is only 
used for development, so I wasn't too worried about using force 
install.
I just installed Test-Class-0.06_7 and tests still fail. But I use it 
all the time for running the Bricolage tests and haven't had any 
problems. I sent the test output to the author.

You can reinstall by doing a "force install". I.e:
sudo perl -MCPAN -e 'force install MIME::Parser'
I did end up force installing both SOAP::Lite and Test::Class, though 
I wasn't able to do it using sudo perl -MCPAN ... for some reason. It 
still failed the tests and wouldn't install. However, I succeeded when 
I logged into the cpan shell using sudo cpan. Then using force install 
inside the shell worked just fine. Seems to be working, but a little 
odd, don't you think?
I get failures with SOAP::Lite, too, but again, I've been using it for 
a while without trouble. Again, I have sent a failure report to the 
author. They're probably fairly simple issues; hopefully the will be 
addressed soon.

Regards,
David


SOLVED: Re: Installing SOAP::Lite

2004-11-06 Thread Michael Glaesemann
Sherm (and fellow perlers),
Just wanted to give y'all a heads up on what happened.
On Nov 4, 2004, at 4:30 PM, Michael Glaesemann wrote:
On Nov 4, 2004, at 2:32 AM, Sherm Pendley wrote:
Don't forget about the Bundle::Bricolage bundle on CPAN. Bricolage 
needs a *huge* number of modules, and the bundle is easier than 
installing them all one-by-one.
Thanks for the advice. I've actually already done that. It took quite 
a while, but I think in the end it worked out okay.
I spoke too soon. Bundle::Bricolage includes SOAP::Lite as well as 
Test::Class, both of which failed tests on my machine. From looking 
some of the Bricolage documentation, it appears Test::Class is only 
used for development, so I wasn't too worried about using force 
install.

You can reinstall by doing a "force install". I.e:
sudo perl -MCPAN -e 'force install MIME::Parser'
I did end up force installing both SOAP::Lite and Test::Class, though I 
wasn't able to do it using sudo perl -MCPAN ... for some reason. It 
still failed the tests and wouldn't install. However, I succeeded when 
I logged into the cpan shell using sudo cpan. Then using force install 
inside the shell worked just fine. Seems to be working, but a little 
odd, don't you think?

Thanks again for your help!
Michael Glaesemann
grzm myrealbox com


Re: Installing SOAP::Lite

2004-11-03 Thread Michael Glaesemann
Hi Sherm,
On Nov 4, 2004, at 2:32 AM, Sherm Pendley wrote:
Don't forget about the Bundle::Bricolage bundle on CPAN. Bricolage 
needs a *huge* number of modules, and the bundle is easier than 
installing them all one-by-one.
Thanks for the advice. I've actually already done that. It took quite a 
while, but I think in the end it worked out okay.

You can reinstall by doing a "force install". I.e:
sudo perl -MCPAN -e 'force install MIME::Parser'
I'll give it a shot. Thanks!
I'd be tempted to do a "force install" on SOAP::Lite. MIME::Parser 
passed all of its own self-tests (on my machine), so a likely cause of 
the problem is that SOAP::Lite uses an API in MIME::Parser that has 
either been vanished or changed. Another possibility is simply that 
the self-tests are faulty - it happens.
I'm still in my training-wheels phase, so I'm a bit hesitant to force 
install until getting a second opinion--and now I've got it :) Thanks 
for the explanation as well.

BTW, I get the same results on my Linux machine - so it's not 
something you've done, or something wrong with your Mac.
Do you mean the MIME::Parser error or the other test failures as well? 
(Still am not sure what to do about those, though hopefully a force 
install takes care of it.)

It's definitely an issue with SOAP::Lite and the current version of 
MIME::Parser. Have you reported the problem to the SOAP::Lite 
maintainer(s)?
I haven't reported it, but I did notice that there was mention on the 
SOAP::Lite mailing list that one should really install a bleeding edge 
version of MIME::Tools that reportedly fixes this problem.

soaplite ML Thread:

updated MIME::Tools

Thanks a lot for your response. You're explanation and suggestions are 
really helpful.

Cheers!
Michael Glaesemann
grzm myrealbox com


Re: Installing SOAP::Lite

2004-11-03 Thread Sherm Pendley
On Nov 3, 2004, at 4:06 AM, Michael Glaesemann wrote:
I'm working on installing Bricolage 1.8.2 on Mac OS X 10.3.5 (stock 
perl v5.8.1-RC3).
Don't forget about the Bundle::Bricolage bundle on CPAN. Bricolage 
needs a *huge* number of modules, and the bundle is easier than 
installing them all one-by-one.

 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.
You can reinstall by doing a "force install". I.e:
sudo perl -MCPAN -e 'force install MIME::Parser'
I don't think that will fix the problem though - I get the same 
failures for SOAP::Lite's self-tests, so I doubt the problem is a 
faulty MIME::Parser installation on your machine.

I'd be tempted to do a "force install" on SOAP::Lite. MIME::Parser 
passed all of its own self-tests (on my machine), so a likely cause of 
the problem is that SOAP::Lite uses an API in MIME::Parser that has 
either been vanished or changed. Another possibility is simply that the 
self-tests are faulty - it happens.

Also, even if it *is* a bug, it may not bite you. Bricolage might not 
use SOAP::Lite in a way that triggers the bug.

BTW, I get the same results on my Linux machine - so it's not something 
you've done, or something wrong with your Mac. It's definitely an issue 
with SOAP::Lite and the current version of MIME::Parser. Have you 
reported the problem to the SOAP::Lite maintainer(s)?

sherm--


Installing SOAP::Lite

2004-11-03 Thread Michael Glaesemann
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

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  to see the detailed list.
Feature   PrerequisitesInstall?
-  
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

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!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}>1<_current(?:  
SOAP-ENC:arrayType="xsd:ur-type\[0\]"|  
xsi:type="SOAP-ENC:Array"){2}/>!);
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-serverNOK 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-serverok 4/30# Failed test 5 in t/03-server.t at line  
148
t/03-serverNOK 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-serverFAILED tests 1-2, 5-6
Failed 4/30 tests, 86.67% okay
t/04-attachSomething wrong with MIME message: MIME::Parser:  
can't flush:  at /Library/Perl/5.8.1/MIME/Parser.pm line 789.

t/04-attachdubious
Test returned status 255 (wstat 65280, 0xff00