Boysenberry Payne wrote:
> Well I've tried to reinstall perl, apache2 and mod_perl.
> I have the @lib trimmed down too.  Still get the same error.
> Anything else I can do?
> 
> Here is the error again:
> 
> Can't locate mod_perl.pm in @INC (@INC contains:
> /Users/boysie/mod_perl_inc /usr/local/lib/perl5/5.8.7/darwin-2level
> /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5
> /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level
> /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .)
> at /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level/Apache2/Reload.pm
> line 160.

I think this is the same problem that just came up in a different
circumstance - $INC{'mod_perl.pm'} being a virtual file in mp2.

try this patch

--Geoff
Index: lib/Apache2/Reload.pm
===================================================================
--- lib/Apache2/Reload.pm	(revision 328346)
+++ lib/Apache2/Reload.pm	(working copy)
@@ -135,6 +135,7 @@
         my $file = $Apache2::Reload::INCS{$key};
 
         next unless defined $file;
+        next unless -f $file;       # don't try to reload /dev/null
         next if @watch_dirs && !grep { $file =~ /^$_/ } @watch_dirs;
         warn "Apache2::Reload: Checking mtime of $key\n" if $DEBUG;
 

Reply via email to