[rt-users] Cannot locate RT/FM.pm

Woody - Wild Things woody at wildthingsafaris.com
Thu May 28 04:29:21 EDT 2009


Ruslan Zakirov wrote:
> Could you please add something like that to that code, before "for" loop:
> 
> use Data::Dumper;
> warn "INC: ". Dumper \@INC;
> warn "local lib path: ". $RT::LocalLibPath;
> 
> Then stop/start server. In apache's error log you should see this
> entries. This can help us debug issue.

Hi Ruslan,

Sorry for the delay.
Here is the first 3 dumps

INC: $VAR1 = [
           '/var/www/rt.mysite.com/local/lib',
           '/var/www/rt.mysite.com/lib',
           '/var/www/cms-live/modules',
           '/var/www/cms-live/modules/planner',
           '/var/www/rt.mysite.com/bin/../local/lib',
           '/var/www/rt.mysite.com/bin/../lib',
           '/home/httpd/perl',
           '/etc/perl',
           '/usr/lib/perl5/vendor_perl/5.8.8/i486-linux',
           '/usr/lib/perl5/vendor_perl/5.8.8',
           '/usr/lib/perl5/vendor_perl',
           '/usr/lib/perl5/site_perl/5.8.8/i486-linux',
           '/usr/lib/perl5/site_perl/5.8.8',
           '/usr/lib/perl5/site_perl',
           '/usr/lib/perl5/5.8.8/i486-linux',
           '/usr/lib/perl5/5.8.8',
           '/usr/local/lib/site_perl',
           '.',
           '/usr/lib/apache2'
         ];
local lib path: /var/www/rt.mysite.com/local/lib at 
/var/www/rt.mysite.com/lib/RT.pm line 605.
INC: $VAR1 = [
           '/var/www/rt.mysite.com/local/lib',
           '/var/www/rt.mysite.com/lib',
           '/var/www/cms-live/modules',
           '/var/www/cms-live/modules/planner',
           '/var/www/rt.mysite.com/bin/../local/lib',
           '/var/www/rt.mysite.com/bin/../lib',
           '/home/httpd/perl',
           '/etc/perl',
           '/usr/lib/perl5/vendor_perl/5.8.8/i486-linux',
           '/usr/lib/perl5/vendor_perl/5.8.8',
           '/usr/lib/perl5/vendor_perl',
           '/usr/lib/perl5/site_perl/5.8.8/i486-linux',
           '/usr/lib/perl5/site_perl/5.8.8',
           '/usr/lib/perl5/site_perl',
           '/usr/lib/perl5/5.8.8/i486-linux',
           '/usr/lib/perl5/5.8.8',
           '/usr/local/lib/site_perl',
           '.',
           '/usr/lib/apache2'
         ];
local lib path: /var/www/rt.mysite.com/local/lib at 
/var/www/rt.mysite.com/lib/RT.pm line 605.
INC: $VAR1 = [
           '/var/www/rt.mysite.com/local/lib',
           '/var/www/rt.mysite.com/lib',
           '/var/www/cms-live/modules',
           '/var/www/cms-live/modules/planner',
           '/var/www/rt.mysite.com/bin/../local/lib',
           '/var/www/rt.mysite.com/bin/../lib',
           '/home/httpd/perl',
           '/etc/perl',
           '/usr/lib/perl5/vendor_perl/5.8.8/i486-linux',
           '/usr/lib/perl5/vendor_perl/5.8.8',
           '/usr/lib/perl5/vendor_perl',
           '/usr/lib/perl5/site_perl/5.8.8/i486-linux',
           '/usr/lib/perl5/site_perl/5.8.8',
           '/usr/lib/perl5/site_perl',
           '/usr/lib/perl5/5.8.8/i486-linux',
           '/usr/lib/perl5/5.8.8',
           '/usr/local/lib/site_perl',
           '.',
           '/usr/lib/apache2',
           '/var/www/rt.mysite.com/local/plugins/RTx-Calendar/lib',
           '/var/www/rt.mysite.com/local/plugins/RT-FM/lib',
 
'/var/www/rt.mysite.com/local/plugins/RT-Extension-MandatorySubject/lib',
           '/var/www/rt.mysite.com/local/plugins/RTx-EmailCompletion/lib'
         ];
local lib path: /var/www/rt.mysite.com/local/lib at 
/var/www/rt.mysite.com/lib/RT.pm line 605.

> FYI, with your change files in local/lib wouldn't override matching
> libraries of plugins.

yes, I see that as a prob.

thanks for your help.

Woody.

-- 
-----------------------
Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Mobile: +255 (0) 773 503 502

http://www.wildthingsafaris.com
http://www.wildthingsafaris.com/pub/woody.html



More information about the rt-users mailing list