mod_perl seems to have a wacky @INC order. Nicholas Vinen recommended the following solution in getting RT to work properly in this environment. Not only does his patch avoid the problem, but it is a better workaround than the recommended way of deleting the default QuotedPrint.pm that comes with perl (as recommended in the gentoo install guide on wiki.bestpractical.com). I think we should submit a patch to RT in gentoo and keep it until the mod_perl @INC bug is fixed (it has been around for a while, and it doesn't look like it's about to be resolved). Anyway, here's what he posted in another bug (i tried it and it works): ------- Additional Comment #5 From Nicholas Vinen 2005-02-01 12:30 PST ------- I have a highly customised installation but here is what I do (it's a bit hacky). Edit RT's "webmux.pl" in the bin directory. (/usr/bin/webmux.pl) Inside the topmost BEGIN { block, add something like the following: @INC = ('/usr/lib/perl5/site_perl/5.8.5/i686-linux', '/usr/lib/perl5/site_perl/5.8.5', '/usr/lib/perl5/site_perl/5.8.2/i686-linux', '/usr/lib/perl5/site_perl/5.8.2', '/usr/lib/perl5/site_perl', '/usr/lib/perl5/vendor_perl/5.8.5/i686-linux', '/usr/lib/perl5/vendor_perl/5.8.5', '/usr/lib/perl5/vendor_perl/5.8.2/i686-linux', '/usr/lib/perl5/vendor_perl/5.8.2', '/usr/lib/perl5/vendor_perl', '/usr/lib/perl5/5.8.5/i686-linux', '/usr/lib/perl5/5.8.5', '/usr/local/lib/site_perl', '/usr/lib/perl5/site_perl/5.8.2/i686-linux', '/usr/lib/perl5/site_perl/5.8.2', '.', '/etc/apache/', '/etc/apache/lib/perl'); of course 5.8.5, 5.8.2 etc. depend upon your perl version. The easiest way to generate the correct list is to run a small perl script on the shell. something like: perl -e 'print join("\n",@INC)' And then stick the apache paths on the end. This overrides the built in path and allows it to work. Hope that helps as a work-around for now. Reproducible: Always Steps to Reproduce: 1. 2. 3.
did you run the perl-cleaner after updating perl?
perl-cleaner isn't relevant here. Looking for the other bug to mark this a dup of...
*** This bug has been marked as a duplicate of 69671 ***