Build mod_perl and Perl with multiplicity, but without ithreads

--20cf300fb2bddacb8904ae8f584b
Content-Type: text/plain; charset=ISO-8859-1

I tried to build mod_perl with Perl configured without ithreads but with
enabled multiplicity option
(useithreads=undef, usemultiplicity=define) (-Duseshrplib enabled)
And I found that it's impossible to use multiplicity w/o threads in
mod_perl:

......*warnings*.....
/mod_perl.src.dir/mod_perl.c:732: error: 'my_perl' undeclared (first use in
this function)
.....*errors & warnings*......

Tell me please, is it reasonable behavior or it's mod_perl's bug?

--20cf300fb2bddacb8904ae8f584b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I tried to build mod_perl with Perl configured without ithreads but with en=
abled multiplicity option=A0<div>(useithreads=3Dundef, usemultiplicity=3Dde=
fine) (-Duseshrplib enabled)<div>And I found that it's impossible to us=
e=A0multiplicity w/o threads in mod_perl:</div>

<div><br></div><div>.....*warnings*.....</div><div>/mod_perl.src.dir/mod_pe=
rl.c:732: error: 'my_perl' undeclared (first use in this function)<=
/div><div>....*errors & warnings*......</div><div><br></div><div>Tell m=
e please, is it reasonable behavior=A0or it's mod_perl's bug?</div>

<div><br></div><div><br></div><meta charset=3D"utf-8"></div>

--20cf300fb2bddacb8904ae8f584b--
Orlovsky Alexander [ Mi, 05 Oktober 2011 18:03 ] [ ID #2065283 ]

Re: Build mod_perl and Perl with multiplicity, but without ithreads

On Wednesday, 05 October 2011 18:03:01 Orlovsky Alexander wrote:
> I tried to build mod_perl with Perl configured without ithreads but
> with enabled multiplicity option
> (useithreads=3Dundef, usemultiplicity=3Ddefine) (-Duseshrplib enabled)
> And I found that it's impossible to use multiplicity w/o threads in
> mod_perl:
>
> .....*warnings*.....
> /mod_perl.src.dir/mod_perl.c:732: error: 'my_perl' undeclared (first
> use in this function)
> ....*errors & warnings*......
>
> Tell me please, is it reasonable behavior or it's mod_perl's bug?

This is a design mistake from the very beginning of mp2. We'd all
appreciate if someone would sit down to sort it out.

Patches welcome.

Torsten Förtsch

=2D-
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net
torsten.foertsch [ Mi, 05 Oktober 2011 19:18 ] [ ID #2065284 ]
Webserver » gmane.comp.apache.mod-perl » Build mod_perl and Perl with multiplicity, but without ithreads

Vorheriges Thema: Fw: CPAN Upload: P/PH/PHRED/Apache-DBI-1.11.tar.gz
Nächstes Thema: [QUESTION mp2]creating own handler for mod_perl