[rt-users] Installing and Using ExternalAuth

Bill Cole rtusers-20090205 at billmail.scconsult.com
Wed May 13 15:02:30 EDT 2009


Eric Chatham wrote, On 5/13/09 12:14 PM:
> Hello All,
>
> I am trying to install the current PM for RT::Authen::ExternalAuth PM
> from CPAN.  I am using the wiki.bestpractical guide for the
> installation.
>
> http://wiki.bestpractical.com/view/ExternalAuth

See the "Versions" note on that page. In another post, you say you are 
installing RT 3.6.6, but below it looks like you are trying to install 
RT::Authen::ExternalAuth 0.08. That won't work. I'm not sure that it is the 
source of your current issue, but you should get compatible versions before 
proceeding.

>
> I am stuck at the point where it is asking me to enter the path to the RT
> PM.  I tried looking up RT.pm in the system and using the path to it in
> the Makefile.PL portion, but it is not taking.  I also tried copying the
> RT.pm to one of the selections in the Makefile.PL answer prompt to no
> avail.  Please assist in any way possible.  I tried both the cpan install
> and manual installation.  I am stuck at both places with the Makefile.PL
> script.  Thank you greatly. :)
>
> Examples:
>
> [root@ ~ RT-Authen-ExternalAuth-0.08]# find / -name RT.pm
> /usr/lib/perl5/vendor_perl/5.8.8/RT/RT.pm
> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/RR/RT.pm
> /usr/lib/perl5/vendor_perl/5.8.8/RT.pm

Obviously the second one is not the right RT.pm It, but the others are also 
in very odd places for RT.pm. Typically RT's perl modules are NOT installed 
under the general-use perl directory tree, but in a distinct directory such 
as /opt/rt3/. The specific layout is defined as part of the build/install 
process, and results in the various paths being defined in the RT.pm that 
gets installed. If you start moving parts of RT around after installation, 
you will break it.

> [root@ ~ RT-Authen-ExternalAuth-0.08]# cp /usr/lib/perl5/vendor_perl/5.8.8/RT.pm /usr/lib/perl5/vendor_perl/5.8.8/RT
> [root@ ~ RT-Authen-ExternalAuth-0.08]# perl Makefile.PL
> Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm
> Cannot determine author info from lib/RT/Authen/ExternalAuth.pm
> Cannot determine license info from lib/RT/Authen/ExternalAuth.pm
> Cannot find the location of RT.pm that defines $RT::LocalPath in: inc /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /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 /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /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:  /usr/lib/perl5/vendor_perl/5.8.8/
> Cannot find the location of RT.pm that defines $RT::LocalPath in: inc /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /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 /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /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 /usr/lib/perl5/vendor_perl/5.8.8/ /usr/lib/perl5/vendor_perl/5.8.8//rt3/lib /usr/lib/perl5/vendor_perl/5.8.8//lib/rt3 /usr/lib/perl5/vendor_perl/5.8.8//lib
> Path to your RT.pm:

3 possibilities:

1. This is because of the version mismatch.
2. That RT.pm is not the RT.pm you are looking for, i.e. it is not the 
top-level module for Request Tracker.
3. That RT.pm is not readable by the install process. (one might achieve 
such an oddity with something like SELinux)








More information about the rt-users mailing list