Skip Menu |

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 68175
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: arfreitas [...] cpan.org
Cc:
AdminCc:

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



Subject: XML::Parser::Expat is not loading it's DLL
Greetings, I was trying to install SOAP::WSDL which uses XML::Parser::Expat to execute some of it's automatic tests (an probably internally too). I got the following error during the tests: (in a dialog box): "perl.exe - Unable to locate Component This application has failed to start because libexpat-1_.dll was not found. Re-installing the application may fix this problem." In the CPAN shell I got error from trying to load the expat.dll, giving the full path. The DLL file was in the location given. I tried to force installation of XML::Parser from CPAN shell and it was executed without problem. Running again the installation of SOAP::WSDL just raised the same error. I tried to run then the following snipet from the XML::Parser::Expat POD: use XML::Parser::Expat; my $parser = XML::Parser::Expat->new; $parser->setHandlers( 'Start' => \&sh, 'End' => \&eh, 'Char' => \&ch ); open( FOO, '<', 'XMLFile1.xml' ) or die "Couldn't open"; $parser->parse(*FOO); close(FOO); All I got was: There is no function &main.sh Since XML::Parser is a core module, I'm opening this ticket here. I was able to install SOAP::WSDL without any problem in another box (with Ubuntu Linux) running Perl 5.10.1. I'm running Strawberry 5.12.2.0 on Windows XP.I tried to reinstall Strawberry and got an error with MsiExec.exe Regards, Alceu
Subject: strawberry-error.pdf
Download strawberry-error.pdf
application/pdf 352.2k

Message body not shown because it is not plain text.

The trouble is with poorly written t/SOAP/WSDL/Server/CGI.t which cleans PATH env variable.

Quick workaround is to copy c:\strawberry\c\bin\libexpat-1_.dll to c:\strawberry\perl\bin\libexpat-1_.dll

I am leaving this open as it is worth considering moving some DLLs c:\strawberry\c\bin to c:\strawberry\perl\bin

--
kmx