On Mon, 2011-04-04 at 19:09 -0400, slaven@rezic.de via RT wrote:
Show quoted text> Queue: Module-Install-TemplateInstallPath
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=67193 >
>
> "Diab Jerius via RT"
> <bug-Module-Install-TemplateInstallPath@rt.cpan.org> writes:
>
> > <URL:
https://rt.cpan.org/Ticket/Display.html?id=67193 >
> >
> > On Sun Apr 03 10:11:48 2011, SREZIC wrote:
> >
> > Thanks for noticing the failures.
> >
> > I'm not sure if adding Module::Install is the solution (technically it's
> > supposed to be self contained) as I have other modules which use
> > Module::Install and don't declare it as a dependency (e.g.
> >
http://search.cpan.org/~djerius/Params-Validate-Aggregated-0.05/ ) and
> > they don't seem to have the same failures. I'll set up a clean Perl
> > environment and see if I can figure out what's happening.
>
> You're right --- as you bundle Module/Install.pm you shouldn't setup a
> dependency. It seems that the template.t test just needs another
> directory in @INC
>
> Can't locate inc/Module/Install.pm in @INC (@INC contains:
> /var/tmp/CPAN-build/Module-Install-TemplateInstallPath-0.01-lmeCaA/inc
> /var/tmp/CPAN-build/Module-Install-TemplateInstallPath-0.01-lmeCaA/blib/lib
> /var/tmp/CPAN-build/Module-Install-TemplateInstallPath-0.01-lmeCaA/blib/arch
> /home/cpansand/var/ctps/5140RC0/install/perl-v5.13.11-368-gc2c97af/lib/site_perl/5.14.0/i386-freebsd
> /home/cpansand/var/ctps/5140RC0/install/perl-v5.13.11-368-gc2c97af/lib/site_perl/5.14.0
> /home/cpansand/var/ctps/5140RC0/install/perl-v5.13.11-368-gc2c97af/lib/5.14.0/i386-freebsd
> /home/cpansand/var/ctps/5140RC0/install/perl-v5.13.11-368-gc2c97af/lib/5.14.0
> .) at Makefile.PL line 1.
>
> So apparently
> "/var/tmp/CPAN-build/Module-Install-TemplateInstallPath-0.01-lmeCaA"
> (without the "inc") needs to be added to @INC before running "perl
> Makefile.Pl" in the test.
I went through some gyrations trying to get the test working; not
enough, apparently! I'll have to set up a pristine Perl distribution
and use that for testing.
Thanks,
Diab