Build mod_perl and Perl with multiplicity, but without ithreads

Build mod_perl and Perl with multiplicity, but without ithreads

am 05.10.2011 18:03:01 von Orlovsky Alexander

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

(useithreads=3Dundef, usemultiplicity=3Dde=
fine) (-Duseshrplib enabled)
And I found that it's impossible to us=
e=A0multiplicity w/o threads in mod_perl:



.....*warnings*.....
/mod_perl.src.dir/mod_pe=
rl.c:732: error: 'my_perl' undeclared (first use in this function)<=
/div>
....*errors & warnings*......

Tell m=
e please, is it reasonable behavior=A0or it's mod_perl's bug?






--20cf300fb2bddacb8904ae8f584b--

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

am 05.10.2011 19:18:58 von torsten.foertsch

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:
>=20
> .....*warnings*.....
> /mod_perl.src.dir/mod_perl.c:732: error: 'my_perl' undeclared (first
> use in this function)
> ....*errors & warnings*......
>=20
> 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=20
appreciate if someone would sit down to sort it out.

Patches welcome.

Torsten Förtsch

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

Like fantasy? http://kabatinte.net