You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Wi...@Bertelsmann.de on 2000/06/30 14:05:09 UTC

mod_perl and perl 5.6.0

Is there a way to compile Apache 1.3.3 with mod_perl 1.21 and perl 5.6.0 (Solaris 2.6)?
I get Apache compiled with perl 5.004_04 and all works fine. But with perl 5.6.0 the
compilation stopped and produced the following output:

mod_perl.c: In function `perl_startup':
mod_perl.c:663: warning: unused variable `Perl___notused'
mod_perl.c: In function `perl_handler':
mod_perl.c:783: `PL_siggv' undeclared (first use in this function)
mod_perl.c:783: (Each undeclared identifier is reported only once
mod_perl.c:783: for each function it appears in.)
mod_perl.c:753: warning: unused variable `Perl___notused'
mod_perl.c: In function `mod_perl_end_cleanup':
mod_perl.c:1037: warning: unused variable `Perl___notused'
mod_perl.c: In function `perl_call_handler':
mod_perl.c:1327: warning: unused variable `Perl___notused'
make[2]: *** [mod_perl.o] Error 1
make[1]: *** [all] Error 1
make: *** [subdirs] Error 1

Thanks,

Winni


Re: mod_perl and perl 5.6.0

Posted by Jay J <3p...@iname.com>.
Winfried.Soltys@Bertelsmann.de wrote:
> 
> Is there a way to compile Apache 1.3.3 with mod_perl 1.21 and perl 5.6.0 (Solaris 2.6)?
> I get Apache compiled with perl 5.004_04 and all works fine. But with perl 5.6.0 the
> compilation stopped and produced the following output:
> 
> mod_perl.c: In function `perl_startup':
> mod_perl.c:663: warning: unused variable `Perl___notused'
> mod_perl.c: In function `perl_handler':
> mod_perl.c:783: `PL_siggv' undeclared (first use in this function)
> mod_perl.c:783: (Each undeclared identifier is reported only once
> mod_perl.c:783: for each function it appears in.)
> mod_perl.c:753: warning: unused variable `Perl___notused'
> mod_perl.c: In function `mod_perl_end_cleanup':
> mod_perl.c:1037: warning: unused variable `Perl___notused'
> mod_perl.c: In function `perl_call_handler':
> mod_perl.c:1327: warning: unused variable `Perl___notused'
> make[2]: *** [mod_perl.o] Error 1
> make[1]: *** [all] Error 1
> make: *** [subdirs] Error 1
> 
> Thanks,
> 
> Winni

Perl 5.6 no longer defines PERL_POLLUTE by default .. this might be the
problem. So perhaps a -DPERL_POLLUTE, or "perl Makefile.PL POLLUTE=1" in
there somewhere.

Just curious, why Apache 1.3.3 .. or even mod_perl 1.21, for that
matter? They're both free ya'know :-)

-Jay J