I have built 5.8.RC1 on my wintel NTSP6 box (smooth)
I am now trying to reapply the bundle of what is already installed on my good ole 5.6.1 - and this is not going very smoothly. Until now I have been unable to build Archive::Tar and Tk (surely others will pop up).
The error is related to this line:D:\home\alf\.cpan58\build\Archive-Tar-0.22>nmake test ... cp Tar.pm blib\lib\Archive\Tar.pm D:\perl58\bin\perl.exe -MExtUtils::Command -e cp ptar blib\scr +ipt\ptar pl2bat.bat blib\script\ptar D:\perl58\bin\perl.exe "-Iblib\lib" "-Iblib\arch" test.pl 1..10 ok 1 ok 2 ok 3 Can't call method "gzwrite" on an undefined value at blib\lib/Archive/ +Tar.pm line 493. NMAKE : fatal error U1077: 'D:\perl58\bin\perl.exe' : return code '0xf +f' Stop.
I tried to change it thusly:$fh = Compress::Zlib::gzdopen_ ($fh, $mode, 0) or &_drat;
Which solves the problem in test 4 and 5, only to fail on test 6:$fh = Compress::Zlib::gzdopen_ (fileno($fh),$mode,0) or &_drat;
The reason for this failure is deeper however and I cannot comprehend it, also because it appears to be time-dependent: if I step through the code with the debugger quickly the failure appears rooted at the line:ok 5 Can't call method "gzseek" on an undefined value at blib\lib/Archive/T +ar.pm line 846.
which 'drats', while if I debug more slowly i can get to the end of the test (which prints not ok 6) and the situation unravels later on;sysseek ($_[0], 0, 0) or goto &_drat;
cl -c -I.. -I../pTk/mTk/xlib -nologo -Gf -W3 -MD -DNDEBUG -O +1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT _SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION= +\"800.024\ " -DXS_VERSION=\"800.024\" "-ID:\perl58\lib\CORE" Xlib.c Xlib.c ..\pTk/tkWinPort.h(135) : error C2143: syntax error : missing ')' befo +re '(' ..\pTk/tkWinPort.h(135) : error C2143: syntax error : missing ')' befo +re '(' ..\pTk/tkWinPort.h(135) : error C2091: function returns function ..\pTk/tkWinPort.h(135) : error C2091: function returns function ..\pTk/tkWinPort.h(135) : error C2146: syntax error :missing ')' befor +e identifier 'Perl_get_context' NMAKE : fatal error U1077: 'cl' : return code '0x2'
In reply to Archive::Tar, TK failures for 5.8.0RC1 on Win32 by alien_life_form
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |