Subject: | Tk won't install in Strawberry Perl 5.12.3.0 |
Tk fails when installed using cpan shell. I am running on 64-bit
Windows 7 using a fresh install of Strawberry Perl 5.12.3.0
The development version can be downloaded from CPAN and extracted, then
dmake fails with windres error. This can be overcome by rerunning the
windres command line with --use-temp-file option:
windres --use-temp-file -o tkres.o --include-dir . --include-dir
mTk/win/rc mTk/win/rc/tk.rc
(note this is GNU windres (GNU Binutils) 2.20.51.20100123)
At that point, Tk compiles correctly. However, it then fails on test
with two test programs GPFing:
----------------------------------------------------------------
t\create.t ................... 1/543 # Test 270 got: "bad cursor spec
\"cursor\"
at t\\create.t line 160.\n" (t\create.t at line 168 fail #18)
# Expected: "" (Cannot re-configure TList)
# t\create.t line 168 is: ok($@,"","Cannot re-configure $class");
Tk_FreeCursor received unknown cursor argument
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
t\create.t ................... Dubious, test returned 3 (wstat 768, 0x300)
----------------------------------------------------------------
t\zzTixGrid.t ................ 1/33 Tk_FreeCursor called before Tk_GetCursor
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
t\zzTixGrid.t ................ Dubious, test returned 3 (wstat 768, 0x300)
All 33 subtests passed
Test Summary Report
-------------------
t\after.t (Wstat: 0 Tests: 6 Failed: 0)
TODO passed: 1-6
t\create.t (Wstat: 768 Tests: 271 Failed: 1)
Failed test: 270
Non-zero exit status: 3
Parse errors: Bad plan. You planned 543 tests but ran 271.
t\listbox.t (Wstat: 0 Tests: 537 Failed: 0)
TODO passed: 320-322, 328
t\text.t (Wstat: 0 Tests: 415 Failed: 0)
TODO passed: 121
t\wm-tcl.t (Wstat: 0 Tests: 315 Failed: 0)
TODO passed: 68
t\zzScrolled.t (Wstat: 0 Tests: 94 Failed: 0)
TODO passed: 52, 66, 80, 94
t\zzTixGrid.t (Wstat: 768 Tests: 33 Failed: 0)
Non-zero exit status: 3
Files=71, Tests=3956, 47 wallclock secs ( 0.70 usr + 0.05 sys = 0.75 CPU)
Result: FAIL
Failed 2/71 test programs. 1/3956 subtests failed.
dmake.EXE: Error code 3, while making 'test_dynamic'
----------------------------------------------------------------
Hope that helps!
SSF