You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/09/18 16:36:14 UTC

mp2 static build polish

gozer@apache.org wrote:

>   +To enable statically linking mod_perl into Apache, use the
>   +C<L<MP_USE_STATIC|/MP_USE_STATIC>> flag like this:
>   +
>   +  % perl Makefile.PL MP_USE_STATIC=1 MP_AP_BUILD=1 \
>   +    MP_AP_PREFIX=$HOME/src/httpd-2.x \
>   +    MP_AP_CONFIGURE="--with-mpm=prefork"

Why do we need MP_AP_BUILD=1 flag? Can't we do without it?

Can MP_USE_STATIC=1 be used w/o MP_AP_BUILD=1?

Has MP_AP_BUILD=1 any other use besides static build?

-- 
__________________________________________________________________
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


Re: mp2 static build polish

Posted by "Philippe M. Chiasson" <go...@ectoplasm.org>.
Stas Bekman wrote:

> Philippe M. Chiasson wrote:
>
>> Stas Bekman wrote:
>>
>>> gozer@apache.org wrote:
>>>
>>>>   +To enable statically linking mod_perl into Apache, use the
>>>>   +C<L<MP_USE_STATIC|/MP_USE_STATIC>> flag like this:
>>>>   +
>>>>   +  % perl Makefile.PL MP_USE_STATIC=1 MP_AP_BUILD=1 \
>>>>   +    MP_AP_PREFIX=$HOME/src/httpd-2.x \
>>>>   +    MP_AP_CONFIGURE="--with-mpm=prefork"
>>>
>>>
>>>
>>>
>>> Why do we need MP_AP_BUILD=1 flag? Can't we do without it?
>>>
>> Now that the defaults have changed from MP_USE_DSO = MP_USE_STATIC = 1,
>> to just MP_USE_DSO, we don't need MP_AP_BUILD anymore, that is correct.
>>
>>  > Can MP_USE_STATIC=1 be used w/o MP_AP_BUILD=1?
>>
>> Well, yes, and it will only result in building a mod_perl.a
>>
>>  > Has MP_AP_BUILD=1 any other use besides static build?
>>
>> Nope.
>>
>> So I guess now it's safe to remove MP_AP_BUILD.
>
>
> +1
>
It's now gone.

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


Re: mp2 static build polish

Posted by Stas Bekman <st...@stason.org>.
Philippe M. Chiasson wrote:
> Stas Bekman wrote:
> 
>> gozer@apache.org wrote:
>>
>>>   +To enable statically linking mod_perl into Apache, use the
>>>   +C<L<MP_USE_STATIC|/MP_USE_STATIC>> flag like this:
>>>   +
>>>   +  % perl Makefile.PL MP_USE_STATIC=1 MP_AP_BUILD=1 \
>>>   +    MP_AP_PREFIX=$HOME/src/httpd-2.x \
>>>   +    MP_AP_CONFIGURE="--with-mpm=prefork"
>>
>>
>>
>> Why do we need MP_AP_BUILD=1 flag? Can't we do without it?
>>
> Now that the defaults have changed from MP_USE_DSO = MP_USE_STATIC = 1,
> to just MP_USE_DSO, we don't need MP_AP_BUILD anymore, that is correct.
> 
>  > Can MP_USE_STATIC=1 be used w/o MP_AP_BUILD=1?
> 
> Well, yes, and it will only result in building a mod_perl.a
> 
>  > Has MP_AP_BUILD=1 any other use besides static build?
> 
> Nope.
> 
> So I guess now it's safe to remove MP_AP_BUILD.

+1

-- 
__________________________________________________________________
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


Re: mp2 static build polish

Posted by "Philippe M. Chiasson" <go...@ectoplasm.org>.
Stas Bekman wrote:

> gozer@apache.org wrote:
>
>>   +To enable statically linking mod_perl into Apache, use the
>>   +C<L<MP_USE_STATIC|/MP_USE_STATIC>> flag like this:
>>   +
>>   +  % perl Makefile.PL MP_USE_STATIC=1 MP_AP_BUILD=1 \
>>   +    MP_AP_PREFIX=$HOME/src/httpd-2.x \
>>   +    MP_AP_CONFIGURE="--with-mpm=prefork"
>
>
> Why do we need MP_AP_BUILD=1 flag? Can't we do without it?
>
Now that the defaults have changed from MP_USE_DSO = MP_USE_STATIC = 1,
to just MP_USE_DSO, we don't need MP_AP_BUILD anymore, that is correct.

 > Can MP_USE_STATIC=1 be used w/o MP_AP_BUILD=1?

Well, yes, and it will only result in building a mod_perl.a

 > Has MP_AP_BUILD=1 any other use besides static build?

Nope.

So I guess now it's safe to remove MP_AP_BUILD.

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