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 06:17
Subject:
Re: Smoke [5.11.0] blead-1964-g2adbc9b FAIL(F) MSWin32 Win2000 SP4 (x86/1 cpu)
Message ID:
20090828131731.GL60303@plum.flirble.org
On Fri, Aug 28, 2009 at 02:11:41PM +0100, Steve Hay wrote:
> Nicholas Clark wrote on 2009-08-28:
> > On Fri, Aug 28, 2009 at 02:00:27PM +0100, Steve Hay wrote:
> >> Nicholas Clark wrote on 2009-08-28:
> >>> On Fri, Aug 28, 2009 at 01:38:42PM +0100, Steve Hay wrote:
> >>>> Nicholas Clark wrote on 2009-08-28:
> > 
> >>> Thanks. Why on earth is it unhappy? On Linux I see this
> >>> 
> >>> ./perl -Ilib -MDynaLoader -lwe 'eval {DynaLoader::dl_load_file()};
> >>> print "The error was $@"' The error was Usage:
> >>> DynaLoader::dl_load_file(filename, flags=0) at -e line 1.
> >>> 
> >>> What is causing DynaLoader::dl_load_file() to have a prototype, all
> > of
> >> a
> >>> sudden? The line "MODULE = DynaLoader	PACKAGE = DynaLoader" in
> >>> win32/dl_win32.xs dates from 1997.
> >>  Not sure, but running the test directly from ext\DynaLoader, rather
> >> than using t\harness, is fine:
> >> 
> >> C:\gitclients\perl\ext\DynaLoader>..\..\perl -T t\DynaLoader.t
> > 
> > How about
> > 
> > ..\..\perl -I..\..\t -MTestInit=U2T,NC -T t\DynaLoader.t
> > 
> > ?
> 
> That works fine too.

That makes no sense. I'm stuck. That's the command line that t/harness and
t/TEST will now run, with ext/DynaLoader as the current directory. And it
works on your machine.

(Or I claim that it is. What did I miss?)

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