[rt-users] RTFM Install Problem - not sure what to do

Greg Evans gevans at hcc.net
Tue Jan 22 16:32:05 EST 2008


Anyone have any ideas on what I can do to fix this issue where
$RT::LocalPath is apparently not able to be found though the RT.pm file
clearly exists in /opt/rt3/lib and $LocalPath is clearly defined in RT.pm??


>From What I can tell, RT looks to be configured correctly as it is
functioning as I expect for creation and updating of tickets. This is really
frustrating as I don't know what I have either missed or should even be
looking for.

Regards,

Greg



Previous messages below


Oops,

That was $LocalPath = '/opt/rt3/local';  not 'LocalPath=...'  I just missed
the $ when I copied and pasted.
-----Original Message-----
From: Greg Evans [mailto:gevans at hcc.net] 
Sent: Saturday, January 19, 2008 11:41 AM
To: Emmanuel Lacour
Cc: Greg Evans; rt-users at lists.bestpractical.com
Subject: Re: [rt-users] RTFM Install Problem - not sure what to do

Hi Emmanuel,  Checked what you told me and t his is what I found in / 
opt/rt3/lib/RT.pm:

LocalPath = '/opt/rt3/local';

I have beein doing everything on this machine as root, so I think that  
having permission shouldn't be  a problem. I am perplexed. I am not  
sure what I may have not configured since I am a RT newbie.

Any Ideas? I can send any config files that might be necessary as  
well, or look in any config files :)

Regards,

Greg Evans


On Jan 19, 2008, at 12:21 AM, Emmanuel Lacour wrote:

> On Fri, Jan 18, 2008 at 12:36:31PM -0800, Greg Evans wrote:
>> I had tried that previously and forgot to put that in my last  
>> message. Here
>> are the results when I do that. I looked at /opt/rt3/lib and I  
>> didn't see
>> $RT::LocalPath defined anywhere in there.
>>
>
> It should be defined in RT.pm:
>
> ex: $LocalPath = '/opt/rt3/local';
>
>> Currently the RTFM directory lies in ~/Desktop/RTFM-<version>. Do I  
>> need to
>> place it elsewhere for the install?
>>
>
> it doesn't matter.
>
>> Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
>> /usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
>> /usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/site_perl/ 
>> 5.10.0
>> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
>> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
>> /usr/lib/perl5/site_perl /us . /opt/rt3/lib /opt/lib/rt3 /opt/lib
>> /usr/local/rt3/lib /usr/local/lib/rt3 /usr/local/lib /home/rt3/lib
>> /home/lib/rt3 /home/lib /usr/rt3/lib /usr/lib/rt3 /usr/lib /sw/rt3/ 
>> lib
>> /sw/lib/rt3 /sw/lib
>> Path to your RT.pm:  /opt/rt3/lib
>> Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
>> /usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
>> /usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/site_perl/ 
>> 5.10.0
>> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
>> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
>> /usr/lib/perl5/site_perl /us . /opt/rt3/lib /opt/lib/rt3 /opt/lib
>> /usr/local/rt3/lib /usr/local/lib/rt3 /usr/local/lib /home/rt3/lib
>> /home/lib/rt3 /home/lib /usr/rt3/lib /usr/lib/rt3 /usr/lib /sw/rt3/ 
>> lib
>> /sw/lib/rt3 /sw/lib /opt/rt3/lib /opt/rt3/lib/rt3/lib /opt/rt3/lib/ 
>> lib/rt3
>> /opt/rt3/lib/lib
>> Path to your RT.pm:
>>
>
> I can't reproduce tour problem here, maybe the user that run "perl
> Makefile.PL" has no right to read /opt/rt3/lib/RT.pm ? Or maybe your  
> RT
> is half configured ?
>
> Try to first open /opt/rt3/lib/RT.pm, and look if it seems a valid  
> file
> (search for LocalPath) inside, then as the same user run your perl
> Makefile.PL, it should works.
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com





More information about the rt-users mailing list