On Mon, 22 Mar 2004, Geoffrey Young wrote:

> > other than that, all tests passed.  nice work guys.
>
> whoops, one last thing.  it seems that MP_INST_APACHE2 had the proper effect
> in my blib but that it didn't carry over to the install process.
>
> for instance, I have
>
>   C:\src\modperl-2.0\blib\lib\Apache2\Apache\Filter.pm
>
> but after 'nmake install' Filter.pm is in
>
>   C:\Perl\site\lib\Apache\Filter.pm
>
> also, Apache2.pm and all of Apache-Test only exists in my blib and was not
> installed into C:\Perl
>
> just fyi.  let me know if there are some environment things I can dump to
> help out.

I noticed that too that not everything got installed under
Apache2/ in the Perl tree (although it was in the right
place under blib/). However, I did get Apache2.pm and
Apache-Test installed OK. Does the following help?

=============================================================
Index: lib/ModPerl/MM.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/ModPerl/MM.pm,v
retrieving revision 1.31
diff -u -r1.31 MM.pm
--- lib/ModPerl/MM.pm   4 Mar 2004 06:01:06 -0000       1.31
+++ lib/ModPerl/MM.pm   24 Mar 2004 06:16:50 -0000
@@ -90,7 +90,7 @@
     if (build_config('MP_INST_APACHE2')) {
         while (my($k,$v) = each %$hash) {
             delete $hash->{$k};
-            $k =~ s:/Apache2$::;
+            $k =~ s{[/\\:]Apache2$}{};
             $hash->{$k} = $v;
         }
     }
================================================================

-- 
best regards,
randy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to