Subject: | Doesn't install cleanly if RT is in a non-standard place |
Date: | Sun, 20 Jul 2008 11:00:32 +0100 |
To: | bug-RT-Authen-ExternalAuth [...] rt.cpan.org |
From: | Tim Cutts <tjrc [...] sanger.ac.uk> |
I have RT installed in:
/itch/rt-3.8.0
When I try to install RT::Authen::ExternalAuth it fails to install
because it can't find RT (even though I type in where the RT.pm module
is and it successfully manages to read my RT_SiteConfig file). Here's
a transcript of the perl Makefile.pl:
itchy:~/.cpan/build/RT-Authen-ExternalAuth-0.05# /usr/bin/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 /
etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/
lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/
local/lib/site_perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/
5.8.4 . /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: /itch/rt-3.8.0
Using RT configuration from /itch/rt-3.8.0/lib/RT.pm:
./etc => /itch/rt-3.8.0/local/plugins/RT-Authen-ExternalAuth/etc
./html => /itch/rt-3.8.0/local/plugins/RT-Authen-ExternalAuth/html
./lib => /itch/rt-3.8.0/local/plugins/RT-Authen-ExternalAuth/lib
Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm
Writing Makefile for RT::Authen::ExternalAuth
After the installation, the post-install instructions on the
BestPractical wiki say to use $RTHOME/local/etc/RT_SiteConfig.pm or
$RTHOME/local/etc/Authen-ExternalAuth/RT_SiteConfig.pm for
configuration examples, but neither file has been installed.
Seems a fairly minor thing though; I've copied the config data from
the unpacked CPAN sources, and it seems to be working, at least for
accounts that already exist in the RT database.
Tim
--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.