You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Randy Kobes <ra...@theoryx5.uwinnipeg.ca> on 2006/04/21 05:20:23 UTC

RE: Win32 Embperl fails to run with libxml2.dll error

On Tue, 24 Jan 2006, Gerald Richter wrote:

>> Wondering if Win32 build is working.  Followed the directions
>> on th Embperl website and no luck.
>>
>> Apache refused to start, popping up an error at the
>> "PerlModule Embperl" directive, so I ran embpexec.bat, which
>> popped up the same error in a windows dialog box.
>>
>> The error is:
>>    The procedure entry point xmlLoadExtDtdDefaultValue could
>> not be located in the dynamic link library
>>    libxml2.dll.
>>
>
> Looks like a version mismatch, that Embperl is compiled for a different
> version of libxml2

I'm afraid I haven't had any luck building the latest
Embperl for perl-5.8 on Win32, even without mod_perl
support - the tests immediately crash with an access
violation in the perl58 dll. This problem doesn't happen
with perl-5.6. I'll try to debug things to see where
it's failing.

-- 
best regards,
Randy Kobes

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Win32 Embperl fails to run with libxml2.dll error

Posted by RobertCZ <ro...@robert.cz>.
Randy Kobes wrote:
> Wow, I'm impressed! Yes, that does fix the problem. I've placed an 
> Embperl ppm package up at
>   http://theoryx5.uwinnipeg.ca/ppms/
> for ActivePerl 8xx, based on 2.2.0; this doesn't have
> mod_perl-1 support built in, as I'm having (local)
> difficulties with this, but it does include libxml2
> support (a post-install script should offer to download
> the relevant external dlls for you).
>

Excellent! Randy, any chance this becomes part of your all-in-one 
distribution?

- Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: Win32 Embperl fails to run with libxml2.dll error

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Fri, 21 Apr 2006, Gerald Richter wrote:

> Do you see any chance to create a version with mod_perl-1 at later time?

I've now placed a Win32 ppm package (called Embperl-1)
for ActivePerl 8xx that includes mod_perl-1 support at
    http://theoryx5.uwinnipeg.ca/ppms/
This also includes libxml2 support. Let me know if you
find troubles with it - thanks.

-- 
best regards,
Randy

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: Win32 Embperl fails to run with libxml2.dll error

Posted by Gerald Richter <ri...@ecos.de>.
> 
> Wow, I'm impressed! Yes, that does fix the problem. 

Seems like Perl redefines the stat call in an incompatible way, so the
returned struct is bigger than the original one, which has overwritten some
data..

> I've 
> placed an Embperl ppm package up at
>    http://theoryx5.uwinnipeg.ca/ppms/
> for ActivePerl 8xx, based on 2.2.0; this doesn't have

Great! Thanks!

> mod_perl-1 support built in, as I'm having (local) 
> difficulties with this, but it does include libxml2 support 
> (a post-install script should offer to download the relevant 
> external dlls for you).
> 

Do you see any chance to create a version with mod_perl-1 at later time?

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: Win32 Embperl fails to run with libxml2.dll error

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Fri, 21 Apr 2006, Gerald Richter wrote:

>>
>> I'm afraid I haven't had any luck building the latest Embperl
>> for perl-5.8 on Win32, even without mod_perl support - the
>> tests immediately crash with an access violation in the
>> perl58 dll. This problem doesn't happen with perl-5.6. I'll
>> try to debug things to see where it's failing.
>>
>
> Randy, please try to replace the call to stat () in line 733 of epcache.c
> with _stat(). Does this change anything?
>
> Gerald

Wow, I'm impressed! Yes, that does fix the problem. I've 
placed an Embperl ppm package up at
   http://theoryx5.uwinnipeg.ca/ppms/
for ActivePerl 8xx, based on 2.2.0; this doesn't have
mod_perl-1 support built in, as I'm having (local)
difficulties with this, but it does include libxml2
support (a post-install script should offer to download
the relevant external dlls for you).

-- 
best regards,
Randy

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: Win32 Embperl fails to run with libxml2.dll error

Posted by Gerald Richter <ri...@ecos.de>.
> 
> I'm afraid I haven't had any luck building the latest Embperl 
> for perl-5.8 on Win32, even without mod_perl support - the 
> tests immediately crash with an access violation in the 
> perl58 dll. This problem doesn't happen with perl-5.6. I'll 
> try to debug things to see where it's failing.
> 

Randy, please try to replace the call to stat () in line 733 of epcache.c
with _stat(). Does this change anything?

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org