[rt-users] RT 3.8.8: Extension installation via CPAN does not work

chrislist chrislist at de-punkt.de
Sun Aug 15 08:43:02 EDT 2010


Hi,

when updating our old installation to 3.8.8, I installed RT in
/usr/local/rt manually (not via CPAN) and am now trying to install the
QuickDelete and ReportSpam plugins via CPAN. Although these are
installed, I cannot enable them since RT won't restart after enabling
the plugins in RT_SiteConfig.pm.

This is what I put in to enable them:
Set(@Plugins,qw(Extension::ReportSpam Extension::QuickDelete ));

This is the error:
[Sun Aug 15 14:36:39 2010] [error] Can't locate Extension/ReportSpam.pm
in @INC (@INC contains: /usr/local/rt/bin/../local/lib
/usr/local/rt/bin/../lib /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
/etc/apache2) at /usr/local/rt/bin/../lib/RT.pm line 659.\nCompilation
failed in require at (eval 2) line 1.\n

These are the core variables:
RT::BasePath 	/usr/local/rt
RT::BinPath 	/usr/local/rt/bin
RT::EtcPath 	/usr/local/rt/etc
RT::LocalEtcPath 	/usr/local/rt/local/etc
RT::LocalLexiconPath 	/usr/local/rt/local/po
RT::LocalLibPath 	/usr/local/rt/local/lib
RT::LocalPath 	/usr/local/rt/local
RT::LocalPluginPath 	/usr/local/rt/local/plugins
RT::MasonComponentRoot 	/usr/local/rt/share/html
RT::MasonDataDir 	/usr/local/rt/var/mason_data
RT::MasonLocalComponentRoot 	/usr/local/rt/local/html
RT::MasonSessionDir 	/usr/local/rt/var/session_data
RT::PluginPath 	/usr/local/rt/plugins
RT::SbinPath 	/usr/local/rt/sbin
RT::VERSION 	3.8.8
RT::VarPath 	/usr/local/rt/var


The plugins end up in
/usr/local/rt/local/plugins/RT-Extension-QuickDelete and
[..]/RT-Extension-ReportSpam, so they are where I'd expect them to be.
However, RT doesn't like them.

What am I doing wrong there?

Regards,

--ck



More information about the rt-users mailing list