A couple if people have had problems building mod_perl-1.27 on
Win32 because ModuleConfig.c wasn't generated (when no APACHE_SRC
was specified). John Petrakis <[EMAIL PROTECTED]> tracked this
down to $PERL_DIRECTIVE_HANDLERS in Makefile.PL not being defined
in this instance - the attached diff fixes this. This also
includes an earlier diff replacing a touch() call by a perl
equivalent, for the benefit of Win32.
--
best regards,
randy
Index: Makefile.PL
===================================================================
RCS file: /home/cvspublic/modperl/Makefile.PL,v
retrieving revision 1.204
diff -u -r1.204 Makefile.PL
--- Makefile.PL 19 Jun 2002 16:31:52 -0000 1.204
+++ Makefile.PL 2 Sep 2002 16:24:28 -0000
@@ -479,6 +479,7 @@
if($Is_Win32) {
$NO_HTTPD = 1;
+ $PERL_DIRECTIVE_HANDLERS = 1;
}
@@ -1600,7 +1601,10 @@
my $to = '$(INST_ARCHLIB)/' . "auto/Apache/include/$_";
unless ($self->{PM}->{$from}) {
$self->{PM}->{$from} = $to;
- system "$Config{touch} $from";
+ my @args = ($Config{perlpath}, '-MExtUtils::Command', '-e', 'touch',
+$from);
+ system(@args) == 0
+ or die "system @args failed: $?";
+# system "$Config{touch} $from";
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]