Thanks!
Eureka  thanks so much Rob

Il giorno dom 29 nov 2020 alle ore 01:22 sisyphus <sisyphus...@gmail.com>
ha scritto:

> Hi stefano,
>
> You'll need to install Tk.
> Normally, to do that, you would simply run:
> cpan -i Tk
>
> Unfortunately that won't work because the current Tk-804.035 source needs
> a small amendment.
> One thing that does work is to download and unpack the source, make the
> needed alteration to encGlue.c, and then build & install the module
> manually.
>
> Follow the instructions at https://www.perlmonks.org/?node_id=11122541.
>
> The change you need to make to encGlue.c is a small one.
> At lines 38, 39, and 40 of that file you'll see:
>
> #if !defined(USE_XFT_FONTS) && PERL_VERSION > 19 || (PERL_VERSION == 19 &&
> PERL_SUBVERSION >= 9)
> #define NEED_PUSHSTACK_HACK
> #endif
>
> Immediately below that, you need to insert:
>
> #undef  MAX
> #define MAX(a,b) ((a)>(b)?(a):(b))
>
> (The actual encGlue.c patch can be viewed at
> https://www.perlmonks.org/?node_id=11121263).
>
> Cheers,
> Rob
>
>
>
> On Sun, Nov 29, 2020 at 5:06 AM stefano cerbioni <stf...@gmail.com> wrote:
>
>> hi guys  anybody know  why and  how to resolve  this issue ?
>>
>> C:\Users\stefano\Desktop\GuiAmu>perl GuiAmu.pl
>> Can't locate Tk.pm in @INC (you may need to install the Tk module) (@INC
>> contains: C:/Strawberry/perl/site/lib/MSWin32-x64-multi-thread
>> C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib
>> C:/Strawberry/perl/lib) at GuiAmu.pl line 1.
>> BEGIN failed--compilation aborted at GuiAmu.pl line 1.
>>
>> i have:
>> This is perl 5, version 32, subversion 0 (v5.32.0) built for
>> MSWin32-x64-multi-thread
>> This a re-port of a perl interface to Tk8.4.
>> Strawberry Perl (64-bit) 5.32.0.1-64bit README ===
>> in windows 10 64 bit
>>
>> thankz at all
>>
>

Reply via email to