Mod_perl and rt incompatible?

rt is working fine, but I need to install a new tool that needs modperl.
When I include my perl.conf file, I suddenly get lots of perl errors
that appear to be associated with rt (and requiring utf-8). When I
comment rt out of my apache conf file, all but one error goes away. Is
there a known conflict between rt 3.0.11 and modperl? I know 5.8.3 is
the recommended perl, but we don’t have that working on our version of
linux yet, so I’m trying to use perl 5.8.0–is that the problem? The
perl errors occur in the apache error log upon starting apache.

Use of uninitialized value in length at
/usr/local/lib/perl5/site_perl/5.8.0/Regexp/Common/delimited.pm line 51.

Regexp::Common::delimited::ANON(‘Regexp::Common::Entry=HASH(0x8e03b64)’,‘undef’,‘undef’)
called at /usr/local/lib/perl5/site_perl/5.8.0/Regexp/Common.pm line 242

Regexp::Common::Entry::ANON(‘Regexp::Common::Entry=HASH(0x8e03b64)’,‘undef’,’’)
called at /usr/local/lib/perl5/site_perl/5.8.0/Regexp/Common.pm line 188

Regexp::Common::pattern(‘name’,‘ARRAY(0x8e00564)’,‘create’,‘CODE(0x8e03864)’)
called at
/usr/local/lib/perl5/site_perl/5.8.0/Regexp/Common/delimited.pm line 55
require Regexp/Common/delimited.pm called at (eval 2181) line 1
eval ‘require ‘Regexp/Common/delimited.pm’
;’ called at
/usr/local/lib/perl5/site_perl/5.8.0/Regexp/Common/delimited.pm line 0
Subroutine mkpath redefined at /usr/local/lib/perl5/5.8.0/File/Path.pm
line 122.
require File/Path.pm called at (eval 2192) line 1
eval ‘require ‘File/Path.pm’
;’ called at /usr/local/lib/perl5/5.8.0/File/Path.pm line 122
Subroutine rmtree redefined at /usr/local/lib/perl5/5.8.0/File/Path.pm
line 157.
require File/Path.pm called at (eval 2192) line 1
eval ‘require ‘File/Path.pm’
;’ called at /usr/local/lib/perl5/5.8.0/File/Path.pm line 157
Constant subroutine CGI::XHTML_DTD redefined at
/usr/local/lib/perl5/5.8.0/constant.pm line 108.
constant::import(‘constant’,‘XHTML_DTD’,‘ARRAY(0x91d7148)’)
called at /usr/local/lib/perl5/5.8.0/CGI.pm line 32
CGI::BEGIN() called at /usr/local/lib/perl5/5.8.0/CGI.pm line 33
eval {…} called at /usr/local/lib/perl5/5.8.0/CGI.pm line 33
require CGI.pm called at (eval 2235) line 1
eval ‘require ‘CGI.pm
;’ called at /usr/local/lib/perl5/5.8.0/CGI.pm line 33
Subroutine fileparse_set_fstype redefined at
/usr/local/lib/perl5/5.8.0/File/Basename.pm line 154.
require File/Basename.pm called at (eval 2434) line 1
eval ‘require ‘File/Basename.pm’
;’ called at /usr/local/lib/perl5/5.8.0/File/Basename.pm line 154
Subroutine fileparse redefined at
/usr/local/lib/perl5/5.8.0/File/Basename.pm line 168.
require File/Basename.pm called at (eval 2434) line 1
eval ‘require ‘File/Basename.pm’
;’ called at /usr/local/lib/perl5/5.8.0/File/Basename.pm line 168
Subroutine basename redefined at
/usr/local/lib/perl5/5.8.0/File/Basename.pm line 235.
require File/Basename.pm called at (eval 2434) line 1
eval ‘require ‘File/Basename.pm’
;’ called at /usr/local/lib/perl5/5.8.0/File/Basename.pm line 235
Subroutine dirname redefined at
/usr/local/lib/perl5/5.8.0/File/Basename.pm line 248.
require File/Basename.pm called at (eval 2434) line 1
eval ‘require ‘File/Basename.pm’
;’ called at /usr/local/lib/perl5/5.8.0/File/Basename.pm line 248
Constant subroutine DEBUG redefined at
/usr/local/lib/perl5/5.8.0/utf8_heavy.pl line 5.
require utf8_heavy.pl called at (eval 2440) line 1
eval ‘require ‘utf8_heavy.pl’
;’ called at /usr/local/lib/perl5/5.8.0/utf8_heavy.pl line 5
Subroutine DESTROY redefined at /usr/local/lib/perl5/5.8.0/utf8_heavy.pl
line 7.
require utf8_heavy.pl called at (eval 2440) line 1
eval ‘require ‘utf8_heavy.pl’
;’ called at /usr/local/lib/perl5/5.8.0/utf8_heavy.pl line 7
Subroutine croak redefined at /usr/local/lib/perl5/5.8.0/utf8_heavy.pl
line 11.
require utf8_heavy.pl called at (eval 2440) line 1
eval ‘require ‘utf8_heavy.pl’
;’ called at /usr/local/lib/perl5/5.8.0/utf8_heavy.pl line 11
Subroutine SWASHNEW redefined at
/usr/local/lib/perl5/5.8.0/utf8_heavy.pl line 17.
require utf8_heavy.pl called at (eval 2440) line 1
eval ‘require ‘utf8_heavy.pl’
;’ called at /usr/local/lib/perl5/5.8.0/utf8_heavy.pl line 17
Subroutine SWASHGET redefined at
/usr/local/lib/perl5/5.8.0/utf8_heavy.pl line 221.
require utf8_heavy.pl called at (eval 2440) line 1
eval ‘require ‘utf8_heavy.pl’
;’ called at /usr/local/lib/perl5/5.8.0/utf8_heavy.pl line 221

Anne

rt is working fine, but I need to install a new tool that needs modperl.

You’ll have to do that inside another Apache instance. mod_perl cannot
do two things at once.

Use of uninitialized value in length at
/usr/local/lib/perl5/site_perl/5.8.0/Regexp/Common/delimited.pm line 51.

5.8.0 is broken, specifically with UTF8. You must upgrade.

-- Niels.