Re: Test::SDK breaks Test::Harness Makefile
[email protected] (Michael G Schwern) Wed, 26 Sep 2001 17:12:40 -0400
| Newsgroups | perl.sdk |
|---|---|
| Message-ID | <20010926171240.D1960@blackrider> |
On Thu, Sep 27, 2001 at 05:01:11AM +0900, Tatsuhiko Miyagawa wrote: > With older Test::Harness in system, when you type "install > Test::Harness" on CPAN shell now, it will install Test::Harness > into site_perl directory, instead of "perl" directory, you know. <snip> > I guess this breaks Test::Harness's Makefile.PL option > 'INSTALLDIRS=perl', because Test-SDK Makefile.PL doesn't have it. > (I dunno much about MakeMaker, so this is only a guess) The problem is thus. Test-SDK-0.03/Test-Harness-1.25/Makefile.PL has INSTALLDIRS=perl set. Test-SDK-0.03/Makefile.PL does not (since we want everything but Test::Harness to go into site_perl). The actions of Makefile.PL and make are recursive. However, "make install" is not. MakeMaker puts everything into Test-SDK-0.03/blib/lib and installs out of it with only one INSTALLDIRS setting using the top-level Test-SDK-0.03/Makefile. I have no idea how to fix this without building a much more complicated SDK bundling system. -- Michael G. Schwern <[email protected]> http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[email protected]> Kwalitee Is Job One If you'll mount me, I'll let you bomb Canada until they swoon.