perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
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 
> (http://perl.apache.org/docs/2.0/user/install/install.html#Prerequisites), 
> but there is no mention of what is required on Win32.
> 
> The Win32-specific notes 
> (http://perl.apache.org/docs/2.0/os/win32/install.html) 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 
> http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2004-12/msg00437.html.
> 
> Therefore, I want to configure my Perl with MULTIPLICITY and 
> USE_ITHREADS, but not PERL_IMPLICIT_SYS.  That way, I can enable 
> PERL_MALLOC.
> 
> 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
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

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


Mime
View raw message