Has anybody figured this out yet? Is there going to be a new version of
mod_perl coming out soon that fixes this problem? It seems pretty serious...

        - Tyler
--- Begin Message ---
I just upgraded to httpd 2.2.2 and tried to install mod_perl. This upgrade
was made on top of my existing 2.2.0 installation. Here's what happens when
I run "make" in mod_perl's source directory:

$ make
cd "src/modules/perl" && make
make[1]: Entering directory
/home/faraway/src/mod_perl-2.0.2/src/modules/perl'
cc -I/home/faraway/src/mod_perl-2.0.2/src/modules/perl
-I/home/faraway/src/mod_perl-2.0.2/xs -I/opt/apache2/include
-I/opt/apache2/include  -I/opt/apache2/include -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include
-I/usr/lib/perl/5.8/CORE -DMOD_PERL -Wall -Wmissing-prototypes
-Wstrict-prototypes -Wmissing-declarations -Werror -DAP_DEBUG
-DAP_HAVE_DESIGNATED_INITIALIZER -Wdeclaration-after-statement -g -DMP_DEBUG
-DMP_TRACE -DLINUX=2 -D_LARGEFILE64_SOURCE -DAP_DEBUG  -fPIC \
        -c mod_perl.c && mv mod_perl.o mod_perl.lo
In file included from /opt/apache2/include/httpd.h:43,
                 from modperl_apache_includes.h:26,
                 from mod_perl.h:19,
                 from mod_perl.c:16:
/opt/apache2/include/ap_config.h:260:1: error:
"AP_HAVE_DESIGNATED_INITIALIZER" redefined
<command line>:1:1: error: this is the location of the previous definition
make[1]: *** [mod_perl.lo] Error 1
make[1]: Leaving directory
/home/faraway/src/mod_perl-2.0.2/src/modules/perl'
make: *** [modperl_lib] Error 2


        Aieeee!!!

        Amazingly enough, my mod_perl that was compiled against 2.2.0 is
still working, so it's not a pressing issue for me, but it did seem kind of
odd, and I'm not sure if this is a bug with apache or mod_perl.

        Cheers,
                Tyler


--- End Message ---

Reply via email to