develooper Front page | perl.perl5.porters | Postings from August 2009

Re: Smoke [5.11.0] blead-1964-g2adbc9b FAIL(F) MSWin32 Win2000 SP4 (x86/1 cpu)

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
August 28, 2009 08:25
Subject:
Re: Smoke [5.11.0] blead-1964-g2adbc9b FAIL(F) MSWin32 Win2000 SP4 (x86/1 cpu)
Message ID:
20090828152519.GT60303@plum.flirble.org

On Fri, Aug 28, 2009 at 04:10:59PM +0100, Steve Hay wrote:
> Nicholas Clark wrote on 2009-08-28:

> > Which will all be the same place.
> > 
> > So when run from the directory C:/gitclients/perl/ext/DynaLoader, what
> do
> > 
> >     File::Spec::Functions::rel2abs($_,
> > 'C:/gitclients/perl/ext/DynaLoader');
> > 
> > and
> > 
> >     File::Spec::Functions::rel2abs($_);
> > 
> > generate (for ../../lib and ../../t) ?
> 
> C:\gitclients\perl\ext\DynaLoader>..\..\perl -MFile::Spec::Functions -e
> "print File::Spec::Functions::rel2abs('../../lib',
> 'C:/gitclients/perl/ext/DynaLoader')"
> C:\gitclients\perl\lib
> 
> C:\gitclients\perl\ext\DynaLoader>..\..\perl -MFile::Spec::Functions -e
> "print File::Spec::Functions::rel2abs('../../t',
> 'C:/gitclients/perl/ext/DynaLoader')"
> C:\gitclients\perl\t

And the same output for File::Spec::Functions::rel2abs($_); for the two
(ie no second argument)


There's also Craig's suggestion:

On Fri, Aug 28, 2009 at 10:05:44AM -0500, Craig A. Berry wrote:
> On Fri, Aug 28, 2009 at 9:50 AM, Nicholas Clark<nick@ccl4.org> wrote:
> 
> 
> > But it should still be the same (actual) path, and nothing is changing
> > directory here. Hence why I'm really confused, as I would have thought
> > that all the C runtime gubbins loading the DLL will be loading it either
> > as ../../lib/$whatever or C:/gitclients/perl/ext/DynaLoader/../../lib/$whatever
> > or C:/gitclients/perl/lib/$whatever
> 
> Setting PERL_DL_DEBUG in the environment should get it to spit out
> where it's looking for what, assuming it's finding DynaLoader but then
> failing to find other things.

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About