[rt-users] RT Gentoo and conflicting perl module versions

Roland, Ryan M rmroland at indiana.edu
Mon Jan 3 14:37:44 EST 2005


I'm installing RT 3.2.1 on Gentoo and I was running across an error when I
first try to access the web interface.  I get a server error, and the apache
error log (see below) complains of incorrect perl module version.  When I go
and look at the filesystem, I find two files:

.../perl5/5.8.5/i686-linux/MIME/QuotedPrint.pm
and
.../perl5/vendor_perl/5.8.5/i686-linux/MIME/QuotedPrint.pm

Now I'm not real familiar with the perl environment, but I notice that one
is v3.03 and the other is v3.01.  However, when I run:

# perl -e 'use MIME::QuotedPrint; print "$MIME::QuotedPrint::VERSION\n"'
> 3.03

So it appears that apache/mod_perl/RT is seeing a different version of this
module than the CLI.  Not sure how that happens or a good workaround (other
than deleting the 3.01 version) - and I'm not sure of any adverse effects of
that method.

I've found this bug that seems to be related:

http://bugs.gentoo.org/show_bug.cgi?id=69625

But it doesn't appear to have been resolved. Thoughts? 

Secondly, just as a commendation, the ebuild for 3.2.1 is stellar.  Kudos to
Renat for that godsend!  Any ideas regarding 3.2.2 or 3.2.3 or should we
just wait for 3.4.0?


Thanks,




Ryan Roland

Application Developer
Information Technology
Division of Recreational Sports
Indiana University

812.855.9617
rmroland at indiana.edu







apache/error_log:

[Fri Dec 31 15:45:24 2004] [alert] [client *.*.*.165]
/var/www/localhost/htdocs/rt/.htaccess: MIME::QuotedPrint version 3.03
required--this is only version 3.01 at
/usr/lib/perl5/vendor_perl/5.8.5/MIME/Words.pm line 86.\nBEGIN
failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.8.5/MIME/Words.pm line 86.\nCompilation failed
in require at /usr/lib/perl5/vendor_perl/5.8.5/MIME/Head.pm line 123.\nBEGIN
failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/MIME/Head.pm
line 123.\nCompilation failed in require at
/usr/lib/perl5/vendor_perl/5.8.5/MIME/Entity.pm line 235.\nBEGIN
failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.8.5/MIME/Entity.pm line 235.\nCompilation
failed in require at /usr/lib/RT/I18N.pm line 44.\nBEGIN failed--compilation
aborted at /usr/lib/RT/I18N.pm line 44.\nCompilation failed in require at
/usr/lib/RT.pm line 29.\n BEGIN failed--compilation aborted at
/usr/lib/RT.pm line 29.\nCompilation failed in require at /usr/bin/webmux.pl
line 43.\nBEGIN failed--compilation aborted at /usr/bin/webmux.pl line
43.\nCompilation failed in require at (eval 9) line 1.\n

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3030 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050103/d078f611/attachment.bin>


More information about the rt-users mailing list