perl 5.12 / mod_perl

Last I check mod_perl from SVN did not play well with 5.12. Is this =
still the case?=
R P [ Do, 06 Mai 2010 12:38 ] [ ID #2041002 ]

Re: perl 5.12 / mod_perl

On Thursday 06 May 2010 12:38:13 tech_list wrote:
> Last I check mod_perl from SVN did not play well with 5.12. Is this still
> the case?
>
trunk compiles and passes all tests here with 5.12.0 and 5.10.1 threaded an=
d
non-threaded:

uname=3D'linux opi 2.6.31.12-0.2-desktop #1 smp preempt 2010-03-16 21:2=
5:39
+0100 x86_64 x86_64 x86_64 gnulinux '
config_args=3D'-ds -e -Dprefix=3D/home/r2/PERLINST/5.12.0-perlio-nonthr=
eaded/
=2DDi_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=3Dtrue -Doptimize=3D-fmes=
sage-
length=3D0 -O2 -Wall -D_FORTIFY_SOURCE=3D2 -fstack-protector -funwind-table=
s -
fasynchronous-unwind-tables -g -Wall -pipe -Accflags=3D-DPERL_USE_SAFE_PUTE=
NV -
Dnoextensions=3DODBM_File -Uuseithreads -Uusemultiplicity' =
=

hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine =
=

useithreads=3Dundef, usemultiplicity=3Dundef =
=

useperlio=3Ddefine, d_sfio=3Dundef, uselargefiles=3Ddefine, usesocks=3D=
undef =

use64bitint=3Ddefine, use64bitall=3Ddefine, uselongdouble=3Dundef =
=

usemymalloc=3Dn, bincompat5005=3Dundef =
=



uname=3D'linux opi 2.6.31.12-0.2-desktop #1 smp preempt 2010-03-16 21:2=
5:39
+0100 x86_64 x86_64 x86_64 gnulinux '
config_args=3D'-ds -e -Dprefix=3D/home/r2/PERLINST/5.12.0-perlio-thread=
ed/ -
Di_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=3Dtrue -Doptimize=3D-fmessag=
e-
length=3D0 -O2 -Wall -D_FORTIFY_SOURCE=3D2 -fstack-protector -funwind-table=
s -
fasynchronous-unwind-tables -g -Wall -pipe -Accflags=3D-DPERL_USE_SAFE_PUTE=
NV -
Dnoextensions=3DODBM_File -Duseithreads' =
=

hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine =
=

useithreads=3Ddefine, usemultiplicity=3Ddefine =
=

useperlio=3Ddefine, d_sfio=3Dundef, uselargefiles=3Ddefine, usesocks=3D=
undef =

use64bitint=3Ddefine, use64bitall=3Ddefine, uselongdouble=3Dundef =
=

usemymalloc=3Dn, bincompat5005=3Dundef =
=



uname=3D'linux opi 2.6.31.12-0.2-desktop #1 smp preempt 2010-03-16 21:2=
5:39
+0100 x86_64 x86_64 x86_64 gnulinux '
config_args=3D'-ds -e -Dprefix=3D/home/r2/PERLINST/5.10.1-perlio-thread=
ed/ -
Di_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=3Dtrue -Doptimize=3D-fmessag=
e-
length=3D0 -O2 -Wall -D_FORTIFY_SOURCE=3D2 -fstack-protector -funwind-table=
s -
fasynchronous-unwind-tables -g -Wall -pipe -Accflags=3D-DPERL_USE_SAFE_PUTE=
NV -
Dnoextensions=3DODBM_File -Duseithreads' =
=

hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine =
=

useithreads=3Ddefine, usemultiplicity=3Ddefine =
=

useperlio=3Ddefine, d_sfio=3Dundef, uselargefiles=3Ddefine, usesocks=3D=
undef =

use64bitint=3Ddefine, use64bitall=3Ddefine, uselongdouble=3Dundef =
=

usemymalloc=3Dn, bincompat5005=3Dundef =
=



uname=3D'linux opi 2.6.31.12-0.2-desktop #1 smp preempt 2010-03-16 21:2=
5:39
+0100 x86_64 x86_64 x86_64 gnulinux '
config_args=3D'-ds -e -Dprefix=3D/home/r2/PERLINST/5.10.1-perlio-nonthr=
eaded/
=2DDi_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=3Dtrue -Doptimize=3D-fmes=
sage-
length=3D0 -O2 -Wall -D_FORTIFY_SOURCE=3D2 -fstack-protector -funwind-table=
s -
fasynchronous-unwind-tables -g -Wall -pipe -Accflags=3D-DPERL_USE_SAFE_PUTE=
NV -
Dnoextensions=3DODBM_File' =
=

hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine =
=

useithreads=3Dundef, usemultiplicity=3Dundef =
=

useperlio=3Ddefine, d_sfio=3Dundef, uselargefiles=3Ddefine, usesocks=3D=
undef =

use64bitint=3Ddefine, use64bitall=3Ddefine, uselongdouble=3Dundef =
=

usemymalloc=3Dn, bincompat5005=3Dundef =
=


Torsten Förtsch

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

Like fantasy? http://kabatinte.net
torsten.foertsch [ Do, 06 Mai 2010 13:09 ] [ ID #2041003 ]

Re: perl 5.12 / mod_perl

--Apple-Mail-1-631774579
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=iso-8859-1

perl Makefile.PL gives me this:
[ error] '/usr/local/apache2/bin/apxs -q EXTRA_CPPFLAGS' failed:
[ error] Use of assignment to $[ is deprecated at =
/usr/local/apache2/bin/apxs line 86.

[ error] '/usr/local/apache2/bin/apxs -q NOTEST_CPPFLAGS' failed:
[ error] Use of assignment to $[ is deprecated at =
/usr/local/apache2/bin/apxs line 86.

On May 6, 2010, at 6:09 AM, Torsten Förtsch wrote:

> On Thursday 06 May 2010 12:38:13 tech_list wrote:
>> Last I check mod_perl from SVN did not play well with 5.12. Is this =
still
>> the case?
>>
> trunk compiles and passes all tests here with 5.12.0 and 5.10.1 =
threaded and
> non-threaded:
>
> uname=3D'linux opi 2.6.31.12-0.2-desktop #1 smp preempt 2010-03-16 =
21:25:39
> +0100 x86_64 x86_64 x86_64 gnulinux '
> config_args=3D'-ds -e =
-Dprefix=3D/home/r2/PERLINST/5.12.0-perlio-nonthreaded/
> -Di_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=3Dtrue =
-Doptimize=3D-fmessage-
> length=3D0 -O2 -Wall -D_FORTIFY_SOURCE=3D2 -fstack-protector =
-funwind-tables -
> fasynchronous-unwind-tables -g -Wall -pipe =
-Accflags=3D-DPERL_USE_SAFE_PUTENV -
> Dnoextensions=3DODBM_File -Uuseithreads -Uusemultiplicity' =
=

> hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine =
=

> useithreads=3Dundef, usemultiplicity=3Dundef =
=

> useperlio=3Ddefine, d_sfio=3Dundef, uselargefiles=3Ddefine, =
usesocks=3Dundef =

> use64bitint=3Ddefine, use64bitall=3Ddefine, uselongdouble=3Dundef =
=

> usemymalloc=3Dn, bincompat5005=3Dundef =
=

>
>
> uname=3D'linux opi 2.6.31.12-0.2-desktop #1 smp preempt 2010-03-16 =
21:25:39
> +0100 x86_64 x86_64 x86_64 gnulinux '
> config_args=3D'-ds -e =
-Dprefix=3D/home/r2/PERLINST/5.12.0-perlio-threaded/ -
> Di_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=3Dtrue =
-Doptimize=3D-fmessage-
> length=3D0 -O2 -Wall -D_FORTIFY_SOURCE=3D2 -fstack-protector =
-funwind-tables -
> fasynchronous-unwind-tables -g -Wall -pipe =
-Accflags=3D-DPERL_USE_SAFE_PUTENV -
> Dnoextensions=3DODBM_File -Duseithreads' =
=

> hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine =
=

> useithreads=3Ddefine, usemultiplicity=3Ddefine =
=

> useperlio=3Ddefine, d_sfio=3Dundef, uselargefiles=3Ddefine, =
usesocks=3Dundef =

> use64bitint=3Ddefine, use64bitall=3Ddefine, uselongdouble=3Dundef =
=

> usemymalloc=3Dn, bincompat5005=3Dundef =
=

>
>
> uname=3D'linux opi 2.6.31.12-0.2-desktop #1 smp preempt 2010-03-16 =
21:25:39
> +0100 x86_64 x86_64 x86_64 gnulinux '
> config_args=3D'-ds -e =
-Dprefix=3D/home/r2/PERLINST/5.10.1-perlio-threaded/ -
> Di_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=3Dtrue =
-Doptimize=3D-fmessage-
> length=3D0 -O2 -Wall -D_FORTIFY_SOURCE=3D2 -fstack-protector =
-funwind-tables -
> fasynchronous-unwind-tables -g -Wall -pipe =
-Accflags=3D-DPERL_USE_SAFE_PUTENV -
> Dnoextensions=3DODBM_File -Duseithreads' =
=

> hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine =
=

> useithreads=3Ddefine, usemultiplicity=3Ddefine =
=

> useperlio=3Ddefine, d_sfio=3Dundef, uselargefiles=3Ddefine, =
usesocks=3Dundef =

> use64bitint=3Ddefine, use64bitall=3Ddefine, uselongdouble=3Dundef =
=

> usemymalloc=3Dn, bincompat5005=3Dundef =
=

>
>
> uname=3D'linux opi 2.6.31.12-0.2-desktop #1 smp preempt 2010-03-16 =
21:25:39
> +0100 x86_64 x86_64 x86_64 gnulinux '
> config_args=3D'-ds -e =
-Dprefix=3D/home/r2/PERLINST/5.10.1-perlio-nonthreaded/
> -Di_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=3Dtrue =
-Doptimize=3D-fmessage-
> length=3D0 -O2 -Wall -D_FORTIFY_SOURCE=3D2 -fstack-protector =
-funwind-tables -
> fasynchronous-unwind-tables -g -Wall -pipe =
-Accflags=3D-DPERL_USE_SAFE_PUTENV -
> Dnoextensions=3DODBM_File' =
=

> hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine =
=

> useithreads=3Dundef, usemultiplicity=3Dundef =
=

> useperlio=3Ddefine, d_sfio=3Dundef, uselargefiles=3Ddefine, =
usesocks=3Dundef =

> use64bitint=3Ddefine, use64bitall=3Ddefine, uselongdouble=3Dundef =
=

> usemymalloc=3Dn, bincompat5005=3Dundef =
=

>
> Torsten Förtsch
>
> --
> Need professional modperl support? Hire me! (http://foertsch.name)
>
> Like fantasy? http://kabatinte.net


--Apple-Mail-1-631774579
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=iso-8859-1

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span =
class=3D"Apple-style-span" style=3D"font-family: arial, sans-serif; =
border-collapse: collapse; font-size: 13px; ">perl <a =
href=3D"http://Makefile.PL">Makefile.PL</a> gives me =
this:</span><div><span class=3D"Apple-style-span" style=3D"font-family: =
arial, sans-serif; border-collapse: collapse; font-size: 13px; ">[ =
 error] '/usr/local/apache2/bin/apxs -q EXTRA_CPPFLAGS' =
failed:<br>[  error] Use of assignment to $[ is deprecated at =
/usr/local/apache2/bin/apxs line 86.<br><br>[  error] =
'/usr/local/apache2/bin/apxs -q NOTEST_CPPFLAGS' failed:<br>[ =
 error] Use of assignment to $[ is deprecated at =
/usr/local/apache2/bin/apxs line =
86.<br></span><div><div><br></div><div>On May 6, 2010, at 6:09 AM, =
Torsten Förtsch wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div>On =
Thursday 06 May 2010 12:38:13 tech_list wrote:<br><blockquote =
type=3D"cite">Last I check mod_perl from SVN did not play well with =
5.12.  Is this still<br></blockquote><blockquote type=3D"cite"> the =
case?<br></blockquote><blockquote type=3D"cite"><br></blockquote>trunk =
compiles and passes all tests here with 5.12.0 and 5.10.1 threaded and =
<br>non-threaded:<br><br>    uname=3D'linux opi =
2.6.31.12-0.2-desktop #1 smp preempt 2010-03-16 21:25:39 <br>+0100 =
x86_64 x86_64 x86_64 gnulinux '<br>    config_args=3D'-ds =
-e -Dprefix=3D/home/r2/PERLINST/5.12.0-perlio-nonthreaded/ <br>-Di_db =
-Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=3Dtrue =
-Doptimize=3D-fmessage-<br>length=3D0 -O2 -Wall -D_FORTIFY_SOURCE=3D2 =
-fstack-protector -funwind-tables -<br>fasynchronous-unwind-tables -g =
-Wall -pipe -Accflags=3D-DPERL_USE_SAFE_PUTENV =
-<br>Dnoextensions=3DODBM_File -Uuseithreads -Uusemultiplicity' =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            <b=
r>    hint=3Drecommended, useposix=3Dtrue, =
d_sigaction=3Ddefine =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;      <br> =
   useithreads=3Dundef, usemultiplicity=3Dundef =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
     <br>    useperlio=3Ddefine, =
d_sfio=3Dundef, uselargefiles=3Ddefine, usesocks=3Dundef =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp; <br>    use64bitint=3Ddefine, =
use64bitall=3Ddefine, uselongdouble=3Dundef =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;          <br> =
   usemymalloc=3Dn, bincompat5005=3Dundef =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
           <br><br>=
<br>    uname=3D'linux opi 2.6.31.12-0.2-desktop #1 smp =
preempt 2010-03-16 21:25:39 <br>+0100 x86_64 x86_64 x86_64 gnulinux =
'<br>    config_args=3D'-ds -e =
-Dprefix=3D/home/r2/PERLINST/5.12.0-perlio-threaded/ -<br>Di_db -Di_dbm =
-Di_ndbm -Di_gdbm - -Duseshrplib=3Dtrue =
-Doptimize=3D-fmessage-<br>length=3D0 -O2 -Wall -D_FORTIFY_SOURCE=3D2 =
-fstack-protector -funwind-tables -<br>fasynchronous-unwind-tables -g =
-Wall -pipe -Accflags=3D-DPERL_USE_SAFE_PUTENV =
-<br>Dnoextensions=3DODBM_File -Duseithreads' =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;        <br> =
   hint=3Drecommended, useposix=3Dtrue, =
d_sigaction=3Ddefine =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;      <br> =
   useithreads=3Ddefine, usemultiplicity=3Ddefine =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
   <br>    useperlio=3Ddefine, =
d_sfio=3Dundef, uselargefiles=3Ddefine, usesocks=3Dundef =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp; <br>    use64bitint=3Ddefine, =
use64bitall=3Ddefine, uselongdouble=3Dundef =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;          <br> =
   usemymalloc=3Dn, bincompat5005=3Dundef =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
           <br><br>=
<br>    uname=3D'linux opi 2.6.31.12-0.2-desktop #1 smp =
preempt 2010-03-16 21:25:39 <br>+0100 x86_64 x86_64 x86_64 gnulinux =
'<br>    config_args=3D'-ds -e =
-Dprefix=3D/home/r2/PERLINST/5.10.1-perlio-threaded/ -<br>Di_db -Di_dbm =
-Di_ndbm -Di_gdbm - -Duseshrplib=3Dtrue =
-Doptimize=3D-fmessage-<br>length=3D0 -O2 -Wall -D_FORTIFY_SOURCE=3D2 =
-fstack-protector -funwind-tables -<br>fasynchronous-unwind-tables -g =
-Wall -pipe -Accflags=3D-DPERL_USE_SAFE_PUTENV =
-<br>Dnoextensions=3DODBM_File -Duseithreads' =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;        <br> =
   hint=3Drecommended, useposix=3Dtrue, =
d_sigaction=3Ddefine =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;      <br> =
   useithreads=3Ddefine, usemultiplicity=3Ddefine =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
   <br>    useperlio=3Ddefine, =
d_sfio=3Dundef, uselargefiles=3Ddefine, usesocks=3Dundef =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp; <br>    use64bitint=3Ddefine, =
use64bitall=3Ddefine, uselongdouble=3Dundef =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;          <br> =
   usemymalloc=3Dn, bincompat5005=3Dundef =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
           <br><br>=
<br>    uname=3D'linux opi 2.6.31.12-0.2-desktop #1 smp =
preempt 2010-03-16 21:25:39 <br>+0100 x86_64 x86_64 x86_64 gnulinux =
'<br>    config_args=3D'-ds -e =
-Dprefix=3D/home/r2/PERLINST/5.10.1-perlio-nonthreaded/ <br>-Di_db =
-Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=3Dtrue =
-Doptimize=3D-fmessage-<br>length=3D0 -O2 -Wall -D_FORTIFY_SOURCE=3D2 =
-fstack-protector -funwind-tables -<br>fasynchronous-unwind-tables -g =
-Wall -pipe -Accflags=3D-DPERL_USE_SAFE_PUTENV =
-<br>Dnoextensions=3DODBM_File' =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
       <br> =
   hint=3Drecommended, useposix=3Dtrue, =
d_sigaction=3Ddefine =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;      <br> =
   useithreads=3Dundef, usemultiplicity=3Dundef =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
     <br>    useperlio=3Ddefine, =
d_sfio=3Dundef, uselargefiles=3Ddefine, usesocks=3Dundef =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp; <br>    use64bitint=3Ddefine, =
use64bitall=3Ddefine, uselongdouble=3Dundef =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;          <br> =
   usemymalloc=3Dn, bincompat5005=3Dundef =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
            &n=
bsp;           &nbs=
p;            =
           <br><br>=
Torsten Förtsch<br><br>-- <br>Need professional modperl support? Hire =
me! (<a =
href=3D"http://foertsch.name">http://foertsch.name</a>)<br><br>Like =
fantasy? <a =
href=3D"http://kabatinte.net">http://kabatinte.net</a><br></div></blockquo=
te></div><br></div></body></html>=

--Apple-Mail-1-631774579--
R P [ Do, 06 Mai 2010 13:10 ] [ ID #2041004 ]

Re: perl 5.12 / mod_perl

On Thursday 06 May 2010 13:10:34 tech_list wrote:
> perl Makefile.PL gives me this:
> [ error] '/usr/local/apache2/bin/apxs -q EXTRA_CPPFLAGS' failed:
> [ error] Use of assignment to $[ is deprecated at
> /usr/local/apache2/bin/apxs line 86.
>
> [ error] '/usr/local/apache2/bin/apxs -q NOTEST_CPPFLAGS' failed:
> [ error] Use of assignment to $[ is deprecated at
> /usr/local/apache2/bin/apxs line 86.
>
apxs is not part of modperl. It belongs to apache. Maybe your apache is too=

old?

Torsten Förtsch

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

Like fantasy? http://kabatinte.net
torsten.foertsch [ Do, 06 Mai 2010 13:44 ] [ ID #2041005 ]

Re: perl 5.12 / mod_perl

On May 6, 2010, at 6:44 AM, Torsten Förtsch wrote:

> On Thursday 06 May 2010 13:10:34 tech_list wrote:
>> perl Makefile.PL gives me this:
>> [ error] '/usr/local/apache2/bin/apxs -q EXTRA_CPPFLAGS' failed:
>> [ error] Use of assignment to $[ is deprecated at
>> /usr/local/apache2/bin/apxs line 86.
>>
>> [ error] '/usr/local/apache2/bin/apxs -q NOTEST_CPPFLAGS' failed:
>> [ error] Use of assignment to $[ is deprecated at
>> /usr/local/apache2/bin/apxs line 86.
>>
> apxs is not part of modperl. It belongs to apache. Maybe your apache =
is too
> old?
>
> Torsten Förtsch
>
> --
> Need professional modperl support? Hire me! (http://foertsch.name)
>
> Like fantasy? http://kabatinte.net







It's the latest release

# httpd -V
Server version: Apache/2.2.15 (Unix)
Server built: Apr 25 2010 20:07:15
Server's Module Magic Number: 20051115:24
Server loaded: APR 1.4.2, APR-Util 1.3.9
Compiled using: APR 1.4.2, APR-Util 1.3.9
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR=3D"server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=3D128
-D HTTPD_ROOT=3D"/usr/local/apache2"
-D SUEXEC_BIN=3D"/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG=3D"logs/httpd.pid"
-D DEFAULT_SCOREBOARD=3D"logs/apache_runtime_status"
-D DEFAULT_LOCKFILE=3D"logs/accept.lock"
-D DEFAULT_ERRORLOG=3D"logs/error_log"
-D AP_TYPES_CONFIG_FILE=3D"conf/mime.types"
-D SERVER_CONFIG_FILE=3D"conf/httpd.conf"
R P [ Do, 06 Mai 2010 13:53 ] [ ID #2041006 ]

Re: perl 5.12 / mod_perl

On Thursday 06 May 2010 13:53:37 tech_list wrote:
> >> [ error] '/usr/local/apache2/bin/apxs -q NOTEST_CPPFLAGS' failed:
> >> [ error] Use of assignment to $[ is deprecated at
> >> /usr/local/apache2/bin/apxs line 86.
>
Okay, I see. My apxs starts with

#!/usr/bin/perl -w

and this perl is still 5.10.0.

Nevertheless apxs is not part of modperl. Best you'd file bug against httpd.

In the meantime simply delete line 86 in apxs. $[ is 0 per default. So,
C<local $[=3D0> is useless. It's usage has been deprecated for a long time.

Normally this message is a warning. Do you really see an error? Or is it on=
ly
this message that bothers you?

Torsten Förtsch

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

Like fantasy? http://kabatinte.net
torsten.foertsch [ Do, 06 Mai 2010 14:33 ] [ ID #2041007 ]

Re: perl 5.12 / mod_perl

2010/5/6 Torsten Förtsch <torsten.foertsch [at] gmx.net>:
> On Thursday 06 May 2010 13:53:37 tech_list wrote:
>> >> [ =A0error] '/usr/local/apache2/bin/apxs -q NOTEST_CPPFLAGS' failed:
>> >> [ =A0error] Use of assignment to $[ is deprecated at
>> >> /usr/local/apache2/bin/apxs line 86.
>>
> Okay, I see. My apxs starts with
>
> =A0#!/usr/bin/perl -w
>
> and this perl is still 5.10.0.
>
> Nevertheless apxs is not part of modperl. Best you'd file bug against htt=
pd.
>
> In the meantime simply delete line 86 in apxs. $[ is 0 per default. So,
> C<local $[=3D0> is useless. It's usage has been deprecated for a long tim=
e.

Here's the committed httpd fix:

http://svn.apache.org/viewvc/httpd/httpd/trunk/support/apxs. in?r1=3D807930&=
r2=3D932791&diff_format=3Dh

It should be in the next 2.2.x release.
Jeff Trawick [ Do, 06 Mai 2010 14:45 ] [ ID #2041008 ]
Webserver » gmane.comp.apache.mod-perl » perl 5.12 / mod_perl

Vorheriges Thema: Handling visible redirects
Nächstes Thema: Getting graceful signal delivered to worker processes and IP onServer Status page