Skip Menu |

This queue is for tickets about the RT-Authen-ExternalAuth CPAN distribution.

Report information
The Basics
Id: 98016
Status: open
Priority: 0/
Queue: RT-Authen-ExternalAuth

People
Owner: Nobody in particular
Requestors: SZABGAB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: perl Makefile.PL failure with RT-Authen-ExternalAuth-0.23
$ perl Makefile.PL Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm Cannot find the location of RT.pm that defines $RT::LocalPath in: inc /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/darwin-2level /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0 /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/5.20.0/darwin-2level /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/5.20.0 . /usr/local/lib /usr/lib
Subject: Re: [rt.cpan.org #98016] perl Makefile.PL failure with RT-Authen-ExternalAuth-0.23
Date: Thu, 14 Aug 2014 14:34:54 -0400
To: bug-RT-Authen-ExternalAuth [...] rt.cpan.org
From: Alex Vandiver <alex [...] chmrr.net>
On 08/14/2014 02:24 PM, Gabor Szabo via RT wrote: Show quoted text
> $ perl Makefile.PL > Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm > Cannot find the location of RT.pm that defines $RT::LocalPath in: inc /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/darwin-2level /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0 /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/5.20.0/darwin-2level /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/5.20.0 . /usr/local/lib /usr/lib
This extension only installs if you are running RT. Where is your RT install located? - Alex
Subject: Re: [rt.cpan.org #98016] perl Makefile.PL failure with RT-Authen-ExternalAuth-0.23
Date: Thu, 14 Aug 2014 15:09:54 -0400
To: Gabor Szabo via RT <bug-RT-Authen-ExternalAuth [...] rt.cpan.org>
From: Thomas Sibley <tsibley [...] cpan.org>
On Thu, Aug 14, 2014 at 02:24:03PM -0400, Gabor Szabo via RT wrote: Show quoted text
> $ perl Makefile.PL > Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm > Cannot find the location of RT.pm that defines $RT::LocalPath in: inc /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/darwin-2level /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0 /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/5.20.0/darwin-2level /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/5.20.0 . /usr/local/lib /usr/lib
When running interactively, you'll be prompted to enter the path to RT.pm. When running non-interactively (as appears above), you need to either pass -I/path/to/rt/lib when running Makefile.PL or set RTHOME in the environment: RTHOME=/path/to/rt/lib perl Makefile.PL This could be documented better. (It is not recommended that RT is installed into any of the normal @INC paths.)
Subject: Re: [rt.cpan.org #98016] perl Makefile.PL failure with RT-Authen-ExternalAuth-0.23
Date: Fri, 15 Aug 2014 06:54:06 +0200
To: bug-RT-Authen-ExternalAuth [...] rt.cpan.org
From: Gabor Szabo <SZABGAB [...] cpan.org>
OK though I am not sure what do you mean by "interactively". I noticed this problem when I tried to instal the module using cpanm, and then I ran cpanm --look RT::Authen::ExternalAuth and ran perl Makefile.PL manually in the shell opened by that command. I have not seen a prompt in either case. I am not sure how could Makefile.PL be "fixed" but IMHO the error message that comes from it could indicate what you just wrote or point to the place where this is documented. On Fri, Aug 15, 2014 at 12:11 AM, Thomas Sibley via RT < bug-RT-Authen-ExternalAuth@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=98016 > > > On Thu, Aug 14, 2014 at 02:24:03PM -0400, Gabor Szabo via RT wrote:
> > $ perl Makefile.PL > > Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm > > Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
> /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/darwin-2level > /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0 > /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/5.20.0/darwin-2level > /Users/gabor/perl5/perlbrew/perls/perl-5.20.0/lib/5.20.0 . /usr/local/lib > /usr/lib > > When running interactively, you'll be prompted to enter the path to > RT.pm. > > When running non-interactively (as appears above), you need to either > pass -I/path/to/rt/lib when running Makefile.PL or set RTHOME in the > environment: > > RTHOME=/path/to/rt/lib perl Makefile.PL > > This could be documented better. > > (It is not recommended that RT is installed into any of the normal @INC > paths.) > >
Subject: Re: [rt.cpan.org #98016] perl Makefile.PL failure with RT-Authen-ExternalAuth-0.23
Date: Fri, 15 Aug 2014 12:07:35 -0400
To: Gabor Szabo via RT <bug-RT-Authen-ExternalAuth [...] rt.cpan.org>
From: Thomas Sibley <tsibley [...] cpan.org>
On Fri, Aug 15, 2014 at 12:54:16AM -0400, Gabor Szabo via RT wrote: Show quoted text
> OK though I am not sure what do you mean by "interactively". > I noticed this problem when I tried to instal the module using cpanm, > and then I ran cpanm --look RT::Authen::ExternalAuth and ran perl > Makefile.PL > manually in the shell opened by that command. > > I have not seen a prompt in either case.
I get a prompt: $ cpanm --look RT::Authen::ExternalAuth --> Working on RT::Authen::ExternalAuth Fetching https://cpan.metacpan.org/authors/id/A/AL/ALEXMV/RT-Authen-ExternalAuth-0.23.tar.gz... OK Fetching https://cpan.metacpan.org/authors/id/A/AL/ALEXMV/CHECKSUMS ...OK Entering /Users/trsibley/.cpanm/work/1408118176.72954/RT-Authen-ExternalAuth-0.23 with /bin/bash $ perl Makefile.PL Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm Cannot find the location of RT.pm that defines $RT::LocalPath in: inc ./lib /Users/trsibley/.perlbrew/libs/5.18@hackery/lib/perl5/darwin-2level /Users/trsibley/.perlbrew/libs/5.18@hackery/lib/perl5 /usr/local/opt/biopieces/code_perl ./lib /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl /Users/trsibley/perl5/perlbrew/perls/5.18/lib/site_perl/5.18.1/darwin-2level /Users/trsibley/perl5/perlbrew/perls/5.18/lib/site_perl/5.18.1 /Users/trsibley/perl5/perlbrew/perls/5.18/lib/5.18.1/darwin-2level /Users/trsibley/perl5/perlbrew/perls/5.18/lib/5.18.1 . /usr/local/lib /usr/lib Path to directory containing your RT.pm: I suspect you have PERL_MM_USE_DEFAULT set, which prevents MakeMaker's prompt from actually prompting. If an M:I:RTx based Makefile.PL gets to prompting you, then it's already exhausted the defaults and hence has no default to fallback upon.