I did a test compile of mod_perl as a DSO, and ran into a problem with another module I use (mod_dav). It requires EXPAT to be defined in the ap_auto_config.h file. However, I found this in the mod_perl Makefile.PL:
# Do not disable the rule EXPAT for Stronghold, since this # rule is not implementated yet and breaks the configure process. if(is_ssl() !~ /stronghold/i) { $cmd .= " --disable-rule=EXPAT"; }
So, I'm not certain about how to rectify this with mod_dav.
That comment is not very clear. Should it be disabled only for SSL servers, but not stronghold? That change was made at:
revision 1.157 date: 2000/04/21 05:56:19; author: dougm; state: Exp; lines: +2 -1 --disable-rule=EXPAT is passed to Apache's configure to avoid XML::Parser conflicts PR: Obtained from: Submitted by: Reviewed by:
I suggest that you search the mailing list archives for --disable-rule=EXPAT around this date, find the discussion leading to this change and this will clarify thinigs.
If this change was made only for ssl servers, this might work:
ndex: Makefile.PL =================================================================== RCS file: /home/cvs/modperl/Makefile.PL,v retrieving revision 1.213 diff -u -r1.213 Makefile.PL --- Makefile.PL 5 Jun 2003 07:38:46 -0000 1.213 +++ Makefile.PL 11 Jun 2003 01:22:24 -0000 @@ -1033,7 +1033,8 @@
# Do not disable the rule EXPAT for Stronghold, since this # rule is not implementated yet and breaks the configure process. - if(is_ssl() !~ /stronghold/i) { + my $is_ssl = is_ssl(); + if($is_ssl && $is_ssl !~ /stronghold/i) { $cmd .= " --disable-rule=EXPAT"; }
But I'm not sure if that's the case.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com