On Sun, Sep 28, 2008 at 12:13:14PM -0700, Eric Wilhelm wrote:
> # from Eric Wilhelm
> # on Sunday 28 September 2008:
>
> ># from Dmitry Karasik
> ># on Sunday 28 September 2008:
> >
> >>> Would it be enough to just add the distribution directory itself to
> >>> PERL5LIB? That has some risk of polluting @INC in a way that could
> >>> cause problems -- but I think the risk is low.
> >>
> >>In Prima's case that should work, but it won't in general case.
> >
> >So `ln -s ../ blib` would do the trick?
>
> ENOTAWAKEYET. That is: `mkdir blib; ln -s ../../ blib/lib`. And of course,
> only when you have symlinks and only for the purposes of appearing to be a
> standard distro, etc, and doesn't solve the problem in general for
> cpantesters but does allow the 2500 line Makefile.PL to go largely unchanged.
That's correct, ln -s ../.. to blib/lib and blib/auto should do it. At least,
I'd expect it to. However, as you correctly noticed, that wouldn't do the trick
for win32 builds.
--
Sincerely,
Dmitry Karasik