[rt-users] starting httpd error: Can't locate Apache/Constants.pmin @INC

Max Bowsher maxb at ukf.net
Thu Apr 29 17:57:56 EDT 2004


Iomar Vargas wrote:
> Hi:
>
> I have Apache version 2.0.48, perl 5.8.3, mod_perl.i386 0:1.99_12-2
>
> I installed RT following the README, and the Draft Manual of RT. It
compiles
> and install, and I test the dependencies, and seems everything ok.
>
> But when I started the apache gives an error, and it doesn't start:
>
> [error] Can't locate Apache/Constants.pm in @INC


Try this:

diff -ru rt-orig/bin/webmux.pl bin/webmux.pl
--- rt-orig/bin/webmux.pl       2004-03-17 19:17:31.000000000 +0000
+++ bin/webmux.pl       2004-03-17 19:18:15.000000000 +0000
@@ -55,6 +55,7 @@
        };
     }
     if ($CGI::MOD_PERL) {
+       require Apache::compat if $CGI::MOD_PERL == 2;
        require HTML::Mason::ApacheHandler;
     }
     else {


Max.




More information about the rt-users mailing list