On Sun, Dec 27, 2009 at 2:55 PM, Daniel Hembree
<danny-hemb...@dynamical.org> wrote:
> After upgrading perl to 510.1 I get this compile error for mod_perl-2.0.4. 
> Perl is compiled with no threads and no multiplicity. Here's the output:

Might want to try a 2.0.5 snapshot with 5.10 compatibility.

http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution

>
> perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs MP_COMPAT_1X=0
> ...
>
>  make
> cd "src/modules/perl" && make
> make[1]: Entering directory 
> `/home/danny/Projects/mod_perl-2.0.4/src/modules/perl'
> cc -I/home/danny/Projects/mod_perl-2.0.4/src/modules/perl 
> -I/home/danny/Projects/mod_perl-2.0.4/xs -I/usr/local/apache2/include 
> -I/usr/local/apache2/include  -I/usr/local/apache2/include -maltivec 
> -I/usr/lib/perl5/5.10.1/ppc64-linux-thread-multi-64int-ld/CORE -DMOD_PERL 
> -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -O3 -fPIC \
>        -c mod_perl.c && mv mod_perl.o mod_perl.lo
> mod_perl.c: In function ‘modperl_shutdown’:
> mod_perl.c:62: error: ‘my_perl’ undeclared (first use in this function)
> mod_perl.c:62: error: (Each undeclared identifier is reported only once
> mod_perl.c:62: error: for each function it appears in.)
> mod_perl.c: In function ‘modperl_hook_post_config_last’:
> mod_perl.c:718: error: ‘my_perl’ undeclared (first use in this function)
> mod_perl.c: In function ‘modperl_child_exit’:
> mod_perl.c:814: error: ‘my_perl’ undeclared (first use in this function)
> mod_perl.c: In function ‘modperl_response_handler’:
> mod_perl.c:1041: error: ‘my_perl’ undeclared (first use in this function)
> mod_perl.c: In function ‘modperl_response_handler_cgi’:
> mod_perl.c:1080: error: ‘my_perl’ undeclared (first use in this function)
> make[1]: *** [mod_perl.lo] Error 1
> make[1]: Leaving directory 
> `/home/danny/Projects/mod_perl-2.0.4/src/modules/perl'
> make: *** [modperl_lib] Error 2
>
> It will compiles and run with perl 5.8.8, , which comes with my YDL-6.2 
> distro and uses ithreads.
>
> any compile suggestions would be appreciated.
>
>
>

Reply via email to