in reply to Tk installation fails on Windows 10 with strawberry perl
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk installation fails on Windows 10 with strawberry perl
by RichardStamper (Initiate) on Sep 30, 2020 at 14:44 UTC | |
|
Re^2: Tk installation fails on Windows 10 with strawberry perl
by Dirk80 (Pilgrim) on Sep 02, 2020 at 08:31 UTC | |
by marto (Cardinal) on Sep 02, 2020 at 08:46 UTC | |
by Dirk80 (Pilgrim) on Sep 02, 2020 at 08:43 UTC | |
|
Re^2: Tk installation fails on Windows 10 with strawberry perl
by djibel (Novice) on Jan 26, 2021 at 13:49 UTC | |
|
Re^2: Tk installation fails on Windows 10 with strawberry perl
by ateague (Monk) on Nov 07, 2020 at 16:39 UTC | |
|
Re^2: Tk installation fails on Windows 10 with strawberry perl
by Anonymous Monk on Jan 15, 2021 at 05:51 UTC |