I created this ticket with the solution.
Tested on Windows 10 with Strawberry 5.32
--- encGlue.c.org 2020-09-01 17:34:14.514068300 +0200 +++ encGlue.c 2020-09-01 17:42:48.710327700 +0200 @@ -39,6 +39,9 @@ #define NEED_PUSHSTACK_HACK #endif +#undef MAX +#define MAX(a,b) ((a)>(b)?(a):(b)) + /* ------------------------------------------------------------------ +-------- */ /* UTF8-ness routines /* ------------------------------------------------------------------ +-------- */
So, start cmd and:
C:> cd \Strawberry\cpan\build\Tk-804.035.0 C:\Strawberry\cpan\build\Tk-804.035.0> vim encGlue.c -- make the above change C:\Strawberry\cpan\build\Tk-804.035.0> gmake C:\Strawberry\cpan\build\Tk-804.035.0> gmake test C:\Strawberry\cpan\build\Tk-804.035.0> gmake install
Update 2020-09-08: This fix is queued for the next release of Tk.
In reply to Re: Tk installation fails on Windows 10 with strawberry perl
by Tux
in thread Tk installation fails on Windows 10 with strawberry perl
by Dirk80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |