perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: What Perl configuration is required for mp2 on Win32?
Date Fri, 28 Jan 2005 22:25:10 GMT
Steve Hay wrote:
> The mp2 docs detail what Perl configuration is required for various mp2 
> setups in Unixland 
> (, 
> but there is no mention of what is required on Win32.
> The Win32-specific notes 
> ( mention that if 
> you are using ActivePerl then builds 8xx rather than 6xx are required, 
> but there is no mention of what elements of the ActivePerl configuration 
> are actually *required*.
> The reason that I'm asking is that I'd like to use a Perl that I've 
> built myself with slightly different options than ActivePerl.
> ActivePerl is built with  MULTIPLICITY, USE_ITHREADS and 
> PERL_IMPLICIT_SYS.  The first two are required to enable ithreads (which 
> I believe is required for Win32/mp2 (correct?)); the third one is 
> required to enable the fork() emulation (which I'm not sure if Win32/mp2 
> requires or not).
> Unfortunately, enabling PERL_IMPLICIT_SYS requires that you disable 
> PERL_MALLOC because Perl's malloc() does not work with the implicit 
> "host" layer.  This has a serious performance hit on Win32 because MS's 
> CRT malloc()/realloc() is desperately slow in some situations, e.g. see 
> Therefore, I want to configure my Perl with MULTIPLICITY and 
> USE_ITHREADS, but not PERL_IMPLICIT_SYS.  That way, I can enable 
> I've tried doing exactly this, but it doesn't seem to work.  Perl 
> (5.8.6) itself built and tested without error, and mp2 (RC4) also built 
> without error.  However, the mp2 test suite won't even get off the ground.

I'd ask Jan or some other ActiveState folks directly or via p5p (not sure 
if there is a special activestate perl list).

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message