strawberry installation TK fault

--00000000000060599505b52ea1dc
Content-Type: text/plain; charset="UTF-8"

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

--00000000000060599505b52ea1dc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>hi guys=C2=A0 anybody know=C2=A0 why and=C2=A0 how to=
 resolve=C2=A0 this issue ?</div><div><br></div><div>C:\Users\stefano\Deskt=
op\GuiAmu&gt;perl GuiAmu.pl<br>Can&#39;t locate Tk.pm in @INC (you may need=
 to install the Tk module) (@INC contains: C:/Strawberry/perl/site/lib/MSWi=
n32-x64-multi-thread C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/=
lib C:/Strawberry/perl/lib) at GuiAmu.pl line 1.<br>BEGIN failed--compilati=
on aborted at GuiAmu.pl line 1.</div><div><br></div><div>i have: <br></div>=
<div>This is perl 5, version 32, subversion 0 (v5.32.0) built for MSWin32-x=
64-multi-thread</div><div>This a re-port of a perl interface to Tk8.4.</div=
><div>Strawberry Perl (64-bit) 5.32.0.1-64bit README =3D=3D=3D</div><div>in=
 windows 10 64 bit <br></div><div><br></div><div>thankz at all<br></div></d=
iv>

--00000000000060599505b52ea1dc--
0
stfn77
11/28/2020 6:05:53 PM
perl.beginners 29388 articles. 4 followers. Follow

3 Replies
196 Views

Similar Articles

[PageSpeed] 47
Get it on Google Play
Get it on Apple App Store

Because you=E2=80=99re using windows. =20

(Sent from iPhone, so please accept my apologies in advance for any spelling=
 or grammatical errors.)

> On Nov 28, 2020, at 12:06 PM, stefano cerbioni <stfn77@gmail.com> wrote:
>=20
> =EF=BB=BF
> hi guys  anybody know  why and  how to resolve  this issue ?
>=20
> C:\Users\stefano\Desktop\GuiAmu>perl GuiAmu.pl
> Can't locate Tk.pm in @INC (you may need to install the Tk module) (@INC c=
ontains: C:/Strawberry/perl/site/lib/MSWin32-x64-multi-thread C:/Strawberry/=
perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib) at GuiAm=
u.pl line 1.
> BEGIN failed--compilation aborted at GuiAmu.pl line 1.
>=20
> i have:=20
> This is perl 5, version 32, subversion 0 (v5.32.0) built for MSWin32-x64-m=
ulti-thread
> This a re-port of a perl interface to Tk8.4.
> Strawberry Perl (64-bit) 5.32.0.1-64bit README =3D=3D=3D
> in windows 10 64 bit=20
>=20
> thankz at all
0
hal
11/28/2020 7:10:56 PM
--0000000000004c2c9205b533e300
Content-Type: text/plain; charset="UTF-8"

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 <stfn77@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
>

--0000000000004c2c9205b533e300
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi stefano,<div><br></div><div>You&#39;ll need to install =
Tk.</div><div>Normally, to do that, you would simply run:</div><div>cpan -i=
 Tk</div><div><br></div><div>Unfortunately that won&#39;t work because the =
current Tk-804.035 source needs a small amendment.</div><div>One thing that=
 does work is to download and unpack the source, make the needed alteration=
 to encGlue.c, and then build &amp; install the module manually.</div><div>=
<br></div><div>Follow the instructions at=C2=A0<a href=3D"https://www.perlm=
onks.org/?node_id=3D11122541">https://www.perlmonks.org/?node_id=3D11122541=
</a>.</div><div><br></div><div>The change you need to make to encGlue.c is =
a small one.</div><div>At lines 38, 39, and 40 of that file you&#39;ll see:=
</div><div><br></div><div>#if !defined(USE_XFT_FONTS) &amp;&amp; PERL_VERSI=
ON &gt; 19 || (PERL_VERSION =3D=3D 19 &amp;&amp; PERL_SUBVERSION &gt;=3D 9)=
<br>#define NEED_PUSHSTACK_HACK<br>#endif<br></div><div><br></div><div>Imme=
diately below that, you need to insert:</div><div><br></div><div>#undef =C2=
=A0MAX<br>#define MAX(a,b) ((a)&gt;(b)?(a):(b))<br></div><div><br></div><di=
v>(The actual encGlue.c patch can be viewed at=C2=A0<a href=3D"https://www.=
perlmonks.org/?node_id=3D11121263">https://www.perlmonks.org/?node_id=3D111=
21263</a>).</div><div><br></div><div>Cheers,</div><div>Rob</div><div><cente=
r><table width=3D"98%"><tbody><tr><td width=3D"80%" class=3D"gmail-main_con=
tent" valign=3D"top"><form action=3D"?" enctype=3D"multipart/form-data" met=
hod=3D"post"><div class=3D"gmail-notes" style=3D"text-align:center"><table =
width=3D"100%" id=3D"gmail-replies_table" border=3D"0" cellspacing=3D"1" ce=
llpadding=3D"1"><tbody><tr class=3D"gmail-reply-body gmail-pmnote-200365" b=
gcolor=3D"#ffffff"><td class=3D"gmail-reply-body"><div><font face=3D"monosp=
ace"><span style=3D"white-space:pre"><br></span></font></div></td></tr></tb=
ody></table></div></form></td></tr></tbody></table></center></div><div><br>=
</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_=
attr">On Sun, Nov 29, 2020 at 5:06 AM stefano cerbioni &lt;<a href=3D"mailt=
o:stfn77@gmail.com">stfn77@gmail.com</a>&gt; wrote:<br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
 rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>hi guys=C2=A0 any=
body know=C2=A0 why and=C2=A0 how to resolve=C2=A0 this issue ?</div><div><=
br></div><div>C:\Users\stefano\Desktop\GuiAmu&gt;perl GuiAmu.pl<br>Can&#39;=
t locate Tk.pm in @INC (you may need to install the Tk module) (@INC contai=
ns: 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.p=
l line 1.<br>BEGIN failed--compilation aborted at GuiAmu.pl line 1.</div><d=
iv><br></div><div>i have: <br></div><div>This is perl 5, version 32, subver=
sion 0 (v5.32.0) built for MSWin32-x64-multi-thread</div><div>This a re-por=
t of a perl interface to Tk8.4.</div><div>Strawberry Perl (64-bit) 5.32.0.1=
-64bit README =3D=3D=3D</div><div>in windows 10 64 bit <br></div><div><br><=
/div><div>thankz at all<br></div></div>
</blockquote></div>

--0000000000004c2c9205b533e300--
0
sisyphus359
11/29/2020 12:22:12 AM
--0000000000008bbcd105b534b70c
Content-Type: text/plain; charset="UTF-8"

Thanks!
Eureka  thanks so much Rob

Il giorno dom 29 nov 2020 alle ore 01:22 sisyphus <sisyphus359@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 <stfn77@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
>>
>

--0000000000008bbcd105b534b70c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Thanks! <br></div><div>Eureka=C2=A0 thanks so much Ro=
b <br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"=
gmail_attr">Il giorno dom 29 nov 2020 alle ore 01:22 sisyphus &lt;<a href=
=3D"mailto:sisyphus359@gmail.com">sisyphus359@gmail.com</a>&gt; ha scritto:=
<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr=
">Hi stefano,<div><br></div><div>You&#39;ll need to install Tk.</div><div>N=
ormally, to do that, you would simply run:</div><div>cpan -i Tk</div><div><=
br></div><div>Unfortunately that won&#39;t work because the current Tk-804.=
035 source needs a small amendment.</div><div>One thing that does work is t=
o download and unpack the source, make the needed alteration to encGlue.c, =
and then build &amp; install the module manually.</div><div><br></div><div>=
Follow the instructions at=C2=A0<a href=3D"https://www.perlmonks.org/?node_=
id=3D11122541" target=3D"_blank">https://www.perlmonks.org/?node_id=3D11122=
541</a>.</div><div><br></div><div>The change you need to make to encGlue.c =
is a small one.</div><div>At lines 38, 39, and 40 of that file you&#39;ll s=
ee:</div><div><br></div><div>#if !defined(USE_XFT_FONTS) &amp;&amp; PERL_VE=
RSION &gt; 19 || (PERL_VERSION =3D=3D 19 &amp;&amp; PERL_SUBVERSION &gt;=3D=
 9)<br>#define NEED_PUSHSTACK_HACK<br>#endif<br></div><div><br></div><div>I=
mmediately below that, you need to insert:</div><div><br></div><div>#undef =
=C2=A0MAX<br>#define MAX(a,b) ((a)&gt;(b)?(a):(b))<br></div><div><br></div>=
<div>(The actual encGlue.c patch can be viewed at=C2=A0<a href=3D"https://w=
ww.perlmonks.org/?node_id=3D11121263" target=3D"_blank">https://www.perlmon=
ks.org/?node_id=3D11121263</a>).</div><div><br></div><div>Cheers,</div><div=
>Rob</div><div><center><table width=3D"98%"><tbody><tr><td width=3D"80%" va=
lign=3D"top"><form action=3D"http://?" enctype=3D"multipart/form-data" meth=
od=3D"post"><div style=3D"text-align:center"><table id=3D"gmail-m_845942439=
2436432851gmail-replies_table" width=3D"100%" cellspacing=3D"1" cellpadding=
=3D"1" border=3D"0"><tbody><tr bgcolor=3D"#ffffff"><td><div><font face=3D"m=
onospace"><span style=3D"white-space:pre-wrap"><br></span></font></div></td=
></tr></tbody></table></div></form></td></tr></tbody></table></center></div=
><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">On Sun, Nov 29, 2020 at 5:06 AM stefano cerbioni &lt;<a hre=
f=3D"mailto:stfn77@gmail.com" target=3D"_blank">stfn77@gmail.com</a>&gt; wr=
ote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D=
"ltr"><div>hi guys=C2=A0 anybody know=C2=A0 why and=C2=A0 how to resolve=C2=
=A0 this issue ?</div><div><br></div><div>C:\Users\stefano\Desktop\GuiAmu&g=
t;perl GuiAmu.pl<br>Can&#39;t locate Tk.pm in @INC (you may need to install=
 the Tk module) (@INC contains: C:/Strawberry/perl/site/lib/MSWin32-x64-mul=
ti-thread C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Stra=
wberry/perl/lib) at GuiAmu.pl line 1.<br>BEGIN failed--compilation aborted =
at GuiAmu.pl line 1.</div><div><br></div><div>i have: <br></div><div>This i=
s perl 5, version 32, subversion 0 (v5.32.0) built for MSWin32-x64-multi-th=
read</div><div>This a re-port of a perl interface to Tk8.4.</div><div>Straw=
berry Perl (64-bit) 5.32.0.1-64bit README =3D=3D=3D</div><div>in windows 10=
 64 bit <br></div><div><br></div><div>thankz at all<br></div></div>
</blockquote></div>
</blockquote></div>

--0000000000008bbcd105b534b70c--
0
stfn77
11/29/2020 1:21:33 AM
Reply: