On Mon, Nov 23, 2009 at 10:48:52AM -0000, Steve Hay wrote:
> Steve Hay wrote on 2009-11-23:
> > Automated smoke report for 5.11.2 patch
> > 02b203e04b3608f934ad6d2d29e54f3c318addb8 v5.11.2-42-g02b203e
> > maldoror.bath.planit.group: Intel(R) Core(TM)2 CPU 6700 @
> 2.66GHz(~2660
> > MHz) (x86/2 cpu)
> >     on        MSWin32 - WinXP/.Net SP3
> >     using     gcc version 3.4.5
> >     smoketime 1 hour 27 minutes (average 8 minutes 42 seconds)
> > 
> > Summary: FAIL(M)
> > 
> 
> No time to look right now, but here's the failure:
> 
> Running Makefile.PL in cpan/podlators
> C:\gitclients\perl\win32\..\miniperl.exe Makefile.PL INSTALLDIRS=perl
> INSTALLMAN1DIR=none INSTALLMAN3DIR=none PERL_CORE=1
> Writing Makefile for Pod
> Making all in cpan/podlators
>  nmake -nologo all PERL_CORE=1
> cp lib/Pod/ParseLink.pm ..\..\lib\Pod\ParseLink.pm
> cp lib/Pod/Text/Termcap.pm ..\..\lib\Pod\Text\Termcap.pm
> cp lib/Pod/Text.pm ..\..\lib\Pod\Text.pm
> cp lib/Pod/Text/Color.pm ..\..\lib\Pod\Text\Color.pm
> cp lib/Pod/Text/Overstrike.pm ..\..\lib\Pod\Text\Overstrike.pm
> cp lib/Pod/Man.pm ..\..\lib\Pod\Man.pm
>         cd ..\lib\unicore &&  ..\..\miniperl.exe -I..
> -I..\..\cpan\Cwd\lib mktables -check ..\lib\unicore\Canonical.pl
> ..\lib\unicore\Canonical.pl
> Can't locate Cwd.pm in @INC (@INC contains: .. ..\..\cpan\Cwd\lib .) at
> ../File/Find.pm line 8.
> Compilation failed in require at mktables line 11.
> BEGIN failed--compilation aborted at mktables line 11.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.

Try the appended?

I forget - there was a reason, wasn't there, why win32 couldn't use the -C
option to mktables to have mktables do the chdir? (Which would be after
modules have been used, so would simplify the @INC setup)

Nicholas Clark

diff --git a/win32/Makefile b/win32/Makefile
index b184482..9ed2be5 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -1235,7 +1235,7 @@ inst_lib : $(CONFIGPM)
 
 $(UNIDATAFILES) : $(MINIPERL) $(CONFIGPM) ..\lib\unicore\mktables 
Extensions_nonxs
        cd ..\lib\unicore && \
-       ..\$(MINIPERL) -I.. -I..\..\cpan\Cwd\lib mktables -check $@ 
$(FIRSTUNIFILE)
+       ..\$(MINIPERL) -I.. -I..\..\cpan\Cwd\lib -I..\..\cpan\Cwd mktables 
-check $@ $(FIRSTUNIFILE)
 
 minitest : $(MINIPERL) $(GLOBEXE) $(CONFIGPM) utils $(UNIDATAFILES)
        $(XCOPY) $(MINIPERL) ..\t\$(NULL)
diff --git a/win32/makefile.mk b/win32/makefile.mk
index 960589f..db00168 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -1608,7 +1608,7 @@ inst_lib : $(CONFIGPM)
 
 $(UNIDATAFILES) .UPDATEALL : $(MINIPERL) $(CONFIGPM) ..\lib\unicore\mktables 
Extensions_nonxs
        cd ..\lib\unicore && \
-       ..\$(MINIPERL) -I.. -I..\..\cpan\Cwd\lib mktables
+       ..\$(MINIPERL) -I.. -I..\..\cpan\Cwd\lib -I..\..\cpan\Cwd mktables
 
 minitest : $(MINIPERL) $(GLOBEXE) $(CONFIGPM) $(UNIDATAFILES) utils
        $(XCOPY) $(MINIPERL) ..\t\$(NULL)

Reply via email to