Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl

perl 5.12 / mod_perl

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


tech_list at womenshealth

May 6, 2010, 3:38 AM

Post #1 of 7 (2688 views)
Permalink
perl 5.12 / mod_perl

Last I check mod_perl from SVN did not play well with 5.12. Is this still the case?


torsten.foertsch at gmx

May 6, 2010, 4:09 AM

Post #2 of 7 (2612 views)
Permalink
Re: perl 5.12 / mod_perl [In reply to]

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='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='-ds -e -Dprefix=/home/r2/PERLINST/5.12.0-perlio-nonthreaded/
-Di_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=true -Doptimize=-fmessage-
length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -
fasynchronous-unwind-tables -g -Wall -pipe -Accflags=-DPERL_USE_SAFE_PUTENV -
Dnoextensions=ODBM_File -Uuseithreads -Uusemultiplicity'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef


uname='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='-ds -e -Dprefix=/home/r2/PERLINST/5.12.0-perlio-threaded/ -
Di_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=true -Doptimize=-fmessage-
length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -
fasynchronous-unwind-tables -g -Wall -pipe -Accflags=-DPERL_USE_SAFE_PUTENV -
Dnoextensions=ODBM_File -Duseithreads'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef


uname='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='-ds -e -Dprefix=/home/r2/PERLINST/5.10.1-perlio-threaded/ -
Di_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=true -Doptimize=-fmessage-
length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -
fasynchronous-unwind-tables -g -Wall -pipe -Accflags=-DPERL_USE_SAFE_PUTENV -
Dnoextensions=ODBM_File -Duseithreads'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef


uname='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='-ds -e -Dprefix=/home/r2/PERLINST/5.10.1-perlio-nonthreaded/
-Di_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=true -Doptimize=-fmessage-
length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -
fasynchronous-unwind-tables -g -Wall -pipe -Accflags=-DPERL_USE_SAFE_PUTENV -
Dnoextensions=ODBM_File'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef

Torsten Förtsch

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

Like fantasy? http://kabatinte.net


tech_list at womenshealth

May 6, 2010, 4:10 AM

Post #3 of 7 (2608 views)
Permalink
Re: perl 5.12 / mod_perl [In reply to]

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='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='-ds -e -Dprefix=/home/r2/PERLINST/5.12.0-perlio-nonthreaded/
> -Di_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=true -Doptimize=-fmessage-
> length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -
> fasynchronous-unwind-tables -g -Wall -pipe -Accflags=-DPERL_USE_SAFE_PUTENV -
> Dnoextensions=ODBM_File -Uuseithreads -Uusemultiplicity'
> hint=recommended, useposix=true, d_sigaction=define
> useithreads=undef, usemultiplicity=undef
> useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
> use64bitint=define, use64bitall=define, uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
>
>
> uname='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='-ds -e -Dprefix=/home/r2/PERLINST/5.12.0-perlio-threaded/ -
> Di_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=true -Doptimize=-fmessage-
> length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -
> fasynchronous-unwind-tables -g -Wall -pipe -Accflags=-DPERL_USE_SAFE_PUTENV -
> Dnoextensions=ODBM_File -Duseithreads'
> hint=recommended, useposix=true, d_sigaction=define
> useithreads=define, usemultiplicity=define
> useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
> use64bitint=define, use64bitall=define, uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
>
>
> uname='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='-ds -e -Dprefix=/home/r2/PERLINST/5.10.1-perlio-threaded/ -
> Di_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=true -Doptimize=-fmessage-
> length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -
> fasynchronous-unwind-tables -g -Wall -pipe -Accflags=-DPERL_USE_SAFE_PUTENV -
> Dnoextensions=ODBM_File -Duseithreads'
> hint=recommended, useposix=true, d_sigaction=define
> useithreads=define, usemultiplicity=define
> useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
> use64bitint=define, use64bitall=define, uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
>
>
> uname='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='-ds -e -Dprefix=/home/r2/PERLINST/5.10.1-perlio-nonthreaded/
> -Di_db -Di_dbm -Di_ndbm -Di_gdbm - -Duseshrplib=true -Doptimize=-fmessage-
> length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -
> fasynchronous-unwind-tables -g -Wall -pipe -Accflags=-DPERL_USE_SAFE_PUTENV -
> Dnoextensions=ODBM_File'
> hint=recommended, useposix=true, d_sigaction=define
> useithreads=undef, usemultiplicity=undef
> useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
> use64bitint=define, use64bitall=define, uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
>
> Torsten Förtsch
>
> --
> Need professional modperl support? Hire me! (http://foertsch.name)
>
> Like fantasy? http://kabatinte.net


torsten.foertsch at gmx

May 6, 2010, 4:44 AM

Post #4 of 7 (2609 views)
Permalink
Re: perl 5.12 / mod_perl [In reply to]

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


tech_list at womenshealth

May 6, 2010, 4:53 AM

Post #5 of 7 (2605 views)
Permalink
Re: perl 5.12 / mod_perl [In reply to]

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="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=128
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"


torsten.foertsch at gmx

May 6, 2010, 5:33 AM

Post #6 of 7 (2606 views)
Permalink
Re: perl 5.12 / mod_perl [In reply to]

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 $[=0> 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 only
this message that bothers you?

Torsten Förtsch

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

Like fantasy? http://kabatinte.net


trawick at gmail

May 6, 2010, 5:45 AM

Post #7 of 7 (2609 views)
Permalink
Re: perl 5.12 / mod_perl [In reply to]

2010/5/6 Torsten Förtsch <torsten.foertsch [at] gmx>:
> 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 $[=0> is useless. It's usage has been deprecated for a long time.

Here's the committed httpd fix:

http://svn.apache.org/viewvc/httpd/httpd/trunk/support/apxs.in?r1=807930&r2=932791&diff_format=h

It should be in the next 2.2.x release.

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.