Installing mod-perl on Tiger (OSX) issues

Installing mod-perl on Tiger (OSX) issues

am 31.05.2006 06:06:54 von gothrabbit

I am trying to install mod-perl 2.0.2 on top of apache 2.0.50 on MacOSX
Tiger (10.2.4).
I did:
perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
Then:
make
Which regenerated makefiles and told me:
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==

When I try to re-run make, I get a slew of errors such as:
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/p erl.h:2286:
parse error before "I32"
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/p erl.h:2286:
warning: no semicolon at end of struct or union
/usr/include/regexp.h:84: conflicting types for `regcomp'
/usr/local/apache2/include/pcreposix.h:79: previous declaration of
`regcomp'
/usr/include/regexp.h:85: conflicting types for `regexec'
/usr/local/apache2/include/pcreposix.h:80: previous declaration of
`regexec'
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/p erl.h:3751:
storage size of `PL_vtbl_utf8' isn't known
make[1]: *** [mod_perl.lo] Error 1
make: *** [modperl_lib] Error 2

Any ideas what could be wrong and how to get it working?
Thanks!
Rebecca