[Maypole] Apache2

michael@diaspora.gen.nz michael@diaspora.gen.nz
Wed, 17 Nov 2004 13:20:16 +1300


Brian Glass writes:
>I'm going crazy here trying to get Maypole 2 (from CPAN) to work in 
>Apache2 with mod_perl2. I installed libapreq2-2.02_02-dev.tar.gz (I'm 
>trying to use XAMPP and previously Mandrake 10.0 Apache) and I just 
>can't get it to work.
>
>The error I'm getting right now is:
>
>    Can't locate auto/Apache/Request/print.al in @INC

Try this patch (had the same problem on Debian using -unstable packages
for apache2 and mod_perl2):

pivot$ svn diff
Index: lib/Apache/MVC.pm
===================================================================
--- lib/Apache/MVC.pm   (revision 280)
+++ lib/Apache/MVC.pm   (working copy)
@@ -12,6 +12,7 @@

 if (APACHE2) {
     require Apache2;
+    require Apache::RequestIO;
     require Apache::RequestRec;
     require Apache::RequestUtil;
     require APR::URI;