----- Original Message ----- 
From: "Rafael Garcia-Suarez" <[EMAIL PROTECTED]>
To: <makemaker@perl.org>
Sent: Thursday, April 20, 2006 5:51 PM
Subject: Re: PDL build failure with perl-5.8.8


> "Sisyphus" wrote in perl.makemaker :
> > For the workaround all we've done is to insert 'use blib;' near the
start of
> > Demos/BAD_demo.pm.PL and Demos/BAD2_demo.pm.PL .
> > And that takes care of the only instance I know of where this problem
> > arises.
>
> I see. Ugly, but works :/ Thanks.
>

Yes, it's a bit ugly - but I can't think of a prettier solution from within
the PDL source (which is not to say that a far prettier solution doesn't
exist :-)

My initial thought was to replace:

use PDL::Config;

with:

require '../Basic/Core/Config.pm';

because that would ensure that the desired PDL::Config was found - rather
than some other PDL::Config that was elsewhere in @INC from a previous PDL
installation.

But someone else suggested 'use blib;' and we went with that instead. The
correct PDL::Config still gets found, so I guess that's the important thing.

Cheers,
Rob


Reply via email to