From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 Description of problem: Apache::MyConfig.pm which was a part of mod_perl rpm in rh7.3 does not seem to get installed when you install the mod_perl rpm on rh 8 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.rpm -ivh mod_perl-1.99_05-3.i386.rpm 2.perl -MApache::MyConfig -e '23' 3.find /usr/lib/perl5/ -name "MyConfig.pm" -print Actual Results: perl -MApache::MyConfig -e '23' Can't locate Apache/MyConfig.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) Additional info:
Does anyone have a work around for this other than installing a different version of mod_perl? It's breaking RT install :( Can't locate Apache/MyConfig.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread- multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread- multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/ven dor_perl/5.8.0/i386-linux-thread- multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at Makefile.PL line 27.
You need to turn on mod_perl 2.0's 1.x compatibility layer by loading "Apache::compat" before you load whatever it is you are trying to run.