Re: fatal error: tcl.h: No such file or directory

[email protected] ("S.J. Luo") Sat, 21 Jul 2018 05:35:06 +0800
Newsgroups perl.tcltk
Message-ID <CAMoHPCaOHqTOcHXFGRnWBcvKryNw1TUjf5g8xx6KTHg4FHMy_Q@mail.gmail.com>
--000000000000c5a6d6057175116b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Well I have no idea. All the strange failures occurred within two-minutes
period. There might have been some network problem or something. IMO they
are tester problem and we could just ignore it. :)

I think 'open(...) or die' did not work should be an issue of Strawberry
Perl. I have filed a ticket for it. https://rt.cpan.org/Ticket/
Display.html?id=3D125895

SJ


2018-07-21 0:40 GMT+08:00 Konovalov, Vadim <[email protected]>:

> Ok I=E2=80=99ve made some another release 1.21,
>
>
>
> but
>
> https://www.cpantesters.org/cpan/report/d03c8124-8c09-
> 11e8-8fb1-ef5133556b3f
>
>
>
> ------------------------------
>
> PROGRAM OUTPUT
>
> ------------------------------
>
>
>
> Output from '/mnt/nas/home/pi2/njh/perl5/perlbrew/perls/perl-5.12.5/bin/p=
erl
> Makefile.PL':
>
>
>
> Can't open perl script "Makefile.PL": No such file or directory
>
>
>
> How this could be??
>
>
>
> *From:* Konovalov, Vadim [mailto:[email protected]]
> *Sent:* Friday, July 20, 2018 12:59 PM
> *To:* S.J. Luo
> *Cc:* [email protected]
>
> *Subject:* RE: fatal error: tcl.h: No such file or directory
>
>
>
> Very true. But why??
>
> Thanks. J
>
>
>
> *From:* S.J. Luo [mailto:[email protected] <[email protected]>]
> *Sent:* Friday, July 20, 2018 8:29 AM
> *To:* Konovalov, Vadim
> *Subject:* RE: fatal error: tcl.h: No such file or directory
>
>
>
> Hi,
>
>
>
>  I have noticed some Linux and OpenBSD systems got failed in 1.20 while
> there were no fail record on them since 1.15. Maybe we have to check both
> $? and return value of open().
>
>
>
> SJ
>
>
>
> 2018=E5=B9=B47=E6=9C=8820=E6=97=A5 =E4=B8=8A=E5=8D=883:18=EF=BC=8C"Konova=
lov, Vadim" <[email protected]>=E5=AF=AB=E9=81=93=EF=BC=9A
>
> Bingo! That=E2=80=99s it. Thanks J
>
>
>
> Fixed in 1.20; indeed the error is simple when looking back into it,
> moreover =E2=80=93 we already had similar lines in Makefile.PL
>
>
>
> Meanwhile, I made a bit of =E2=80=9Cnoisy=E2=80=9D release, they will out=
put some more
> information from Tcl.xs during DLL load;
>
> so these 1.19 and 1.20 should be rather development releases, but who
> cares.
>
>
>
> Fortunately the last bug ever will be fixed in 1.21! J
>
>
>
> *From:* S.J. Luo [mailto:[email protected]]
> *Sent:* Thursday, July 19, 2018 8:27 PM
> *To:* [email protected]
> *Subject:* Re: fatal error: tcl.h: No such file or directory
>
>
>
> > but we do have these lines I Makefile.PL now:
> >
> > ...
> > $incpath =3D $tclcfg{TCL_INCLUDE_SPEC};
> >
> > # https://www.cpantesters.org/cpan/report/18397198-6bf4-
> 1014-85e5-4e79f459b9c5
> > # Tcl.xs:32:10: fatal error: tcl.h: No such file or directory
> > if ($incpath) {
> > my @tclh =3D grep {-f "$_/tcl.h"} $incpath=3D~/-I(\S+)/g;
> > if ($#tclh=3D=3D-1) {
> > _die "incpath $incpath from your tclconfig $tclconfig does not provide
> tcl.h"
> > }
> > } else {_die "can not figure out incpath from your tclconfig $tclconfig=
"}
> >
> > How come this happen to avoid my otherwise perfect check??
>
> Hi,
>
> I got some try on Strawberry Perl. I got similar result without installin=
g
> any tcl binary distribution.
>
> ----------
> C:\strawberry\cpan\build\Tcl-1.16-0>perl Makefile.PL
> 'tclsh' is not recognized as an internal or external command,
> operable program or batch file.
> Use of uninitialized value $tclcfg{"tcl_library"} in pattern match (m//)
> at Makefile.PL line 164.
> Use of uninitialized value $tclver in substitution (s///) at Makefile.PL
> line 171.
> Use of uninitialized value $tclver in concatenation (.) or string at
> Makefile.PL line 182.
> LIBS   =3D  -ltcl
> Use of uninitialized value $incpath in concatenation (.) or string at
> Makefile.PL line 190.
> INC    =3D
> DEFINE =3D
> tclConfig.sh =3D
> Use of uninitialized value $incpath in string at Makefile.PL line 208.
> Checking if your kit is complete...
> Looks good
> Warning (mostly harmless): No library found for -ltcl
> Generating a dmake-style Makefile
> Writing Makefile for Tcl
> Writing MYMETA.yml and MYMETA.json
>
> C:\strawberry\cpan\build\Tcl-1.16-0>dmake
> cp Tcl.pm blib\lib\Tcl.pm
> Running Mkbootstrap for Tcl ()
> "C:\strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644
> "Tcl.bs"
> "C:\strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty
> -- Tcl.bs blib\arch\auto\Tcl\Tcl.bs 644
> "C:\strawberry\perl\bin\perl.exe" "C:\strawberry\perl\lib\ExtUtils\xsubpp=
"
>  -typemap C:\strawberry\perl\lib\ExtUtils\typemap -typema
> p C:\strawberry\cpan\build\Tcl-1.16-0\typemap  Tcl.xs > Tcl.xsc
> Please specify prototyping behavior for Tcl.xs (see perlxs manual)
> "C:\strawberry\perl\bin\perl.exe" -MExtUtils::Command -e mv -- Tcl.xsc
> Tcl.c
> gcc -c          -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE
> -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwra=
pv
> -f
> no-strict-aliasing -mms-bitfields -s -O2          -DVERSION=3D\"1.16\"
>  -DXS_VERSION=3D\"1.16\"  "-IC:\strawberry\perl\lib\CORE"   Tcl
> .c
> Tcl.xs:32:17: fatal error: tcl.h: No such file or directory
>  #include <tcl.h>
>                  ^
> compilation terminated.
> dmake:  Error code 129, while making 'Tcl.o'
> ----------
>
> The key is why it can pass the check Makefile.PL. In Strawberry Perl, the
> following code got a weird result (Tcl.pm 1.16):
>
> C:\strawberry\cpan\build\Tcl-1.16-0>perl -E "open(FH, 'foo |') or die;
> say 'I am still alive';"
> I am still alive
> 'foo' is not recognized as an internal or external command,
> operable program or batch file.
>
>
>
> It seems open() with pipe returns true even if there is no 'foo' program
> existed. I my Cygwin environment, the same program gets following result
>
>
>
> % perl -E "open(FH, 'foo |') or die; say 'I am still alive';"
> Died at -e line 1.
>
> The Strawberry Perl I use is  5.24.4 x86_64 version in Win7.
>
> The result in Tcl.pm 1.18  http://matrix.cpantesters.org/
> ?dist=3DTcl%201.18;os=3Dmswin32;perl=3D5.28.0;reports=3D1  seems to be ca=
used
> from the same issue.
>
>
> SJ
>
>

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

<div dir=3D"ltr"><div>Well I have no idea. All the strange failures occurre=
d within=20
two-minutes period. There might have been some network problem or=20
something. IMO they are tester problem and we could just ignore it. :)<br><=
div><br>I think &#39;open(...) or die&#39; did not work should be an issue =
of Strawberry Perl. I have filed a ticket for it. <a href=3D"https://rt.cpa=
n.org/Ticket/Display.html?id=3D125895" target=3D"_blank">https://rt.cpan.or=
g/Ticket/<wbr>Display.html?id=3D125895</a><br><br></div><div>SJ<br></div><d=
iv><br></div></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail=
_quote">2018-07-21 0:40 GMT+08:00 Konovalov, Vadim <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:[email protected]" target=3D"_blank">Vadim.Konovalov=
@dell.com</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link=3D"blue" vlink=3D"purple" lang=3D"EN-US">
<div class=3D"m_-1191085654954451502WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Ok I=E2=80=99ve made some another rel=
ease 1.21,<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">but
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d"><a href=3D"https://www.cpantesters.or=
g/cpan/report/d03c8124-8c09-11e8-8fb1-ef5133556b3f" target=3D"_blank">https=
://www.cpantesters.org/<wbr>cpan/report/d03c8124-8c09-<wbr>11e8-8fb1-ef5133=
556b3f</a><u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-right:22.5pt;margin-bottom:7.2pt;mar=
gin-left:22.5pt">
<span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;color:b=
lack">------------------------------<u></u><u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-right:22.5pt;margin-bottom:7.2pt;mar=
gin-left:22.5pt">
<span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;color:b=
lack">PROGRAM OUTPUT<u></u><u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-right:22.5pt;margin-bottom:7.2pt;mar=
gin-left:22.5pt">
<span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;color:b=
lack">------------------------------<u></u><u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-right:22.5pt;margin-bottom:7.2pt;mar=
gin-left:22.5pt">
<span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;color:b=
lack"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-right:22.5pt;margin-bottom:7.2pt;mar=
gin-left:22.5pt">
<span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;color:b=
lack">Output from &#39;/mnt/nas/home/pi2/njh/perl5/<wbr>perlbrew/perls/perl=
-5.12.5/<wbr>bin/perl Makefile.PL&#39;:<u></u><u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-right:22.5pt;margin-bottom:7.2pt;mar=
gin-left:22.5pt">
<span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;color:b=
lack"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-right:22.5pt;margin-bottom:7.2pt;mar=
gin-left:22.5pt">
<span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;color:b=
lack">Can&#39;t open perl script &quot;Makefile.PL&quot;: No such file or d=
irectory<u></u><u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-right:22.5pt;margin-bottom:7.2pt;mar=
gin-left:22.5pt">
<span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;color:b=
lack"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">How this could be??<u></u><u></u></sp=
an></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div style=3D"border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:&quot=
;Calibri&quot;,sans-serif">From:</span></b><span style=3D"font-size:11.0pt;=
font-family:&quot;Calibri&quot;,sans-serif"> Konovalov, Vadim [mailto:<a hr=
ef=3D"mailto:[email protected]" target=3D"_blank">Vadim.Konovalov@de=
ll.<wbr>com</a>]
<br>
<b>Sent:</b> Friday, July 20, 2018 12:59 PM<br>
<b>To:</b> S.J. Luo<br>
<b>Cc:</b> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
rg</a></span></p><div><div class=3D"h5"><br>
<b>Subject:</b> RE: fatal error: tcl.h: No such file or directory<u></u><u>=
</u></div></div><p></p>
</div>
</div><div><div class=3D"h5">
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Very true. But why??<u></u><u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Thanks.
</span><span style=3D"font-size:11.0pt;font-family:Wingdings;color:#1f497d"=
>J</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sa=
ns-serif;color:#1f497d"><u></u><u></u></span></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:&quot=
;Calibri&quot;,sans-serif">From:</span></b><span style=3D"font-size:11.0pt;=
font-family:&quot;Calibri&quot;,sans-serif"> S.J. Luo [<a href=3D"mailto:sj=
[email protected]" target=3D"_blank">mailto:[email protected]</a>]
<br>
<b>Sent:</b> Friday, July 20, 2018 8:29 AM<br>
<b>To:</b> Konovalov, Vadim<br>
<b>Subject:</b> RE: fatal error: tcl.h: No such file or directory<u></u><u>=
</u></span></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">Hi,<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<p class=3D"MsoNormal">=C2=A0I have noticed some Linux and OpenBSD systems =
got failed in 1.20 while there were no fail record on them since 1.15. Mayb=
e we have to check both $? and return value of open().<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">SJ<u></u><u></u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">2018<span style=3D"font-family:&quot;Calibri&quot;,s=
ans-serif">=E5=B9=B4</span>7<span style=3D"font-family:&quot;Calibri&quot;,=
sans-serif">=E6=9C=88</span>20<span style=3D"font-family:&quot;Calibri&quot=
;,sans-serif">=E6=97=A5</span>
<span style=3D"font-family:&quot;Calibri&quot;,sans-serif">=E4=B8=8A=E5=8D=
=88</span>3:18<span style=3D"font-family:&quot;Calibri&quot;,sans-serif">=
=EF=BC=8C</span>&quot;Konovalov, Vadim&quot; &lt;<a href=3D"mailto:Vadim.Ko=
[email protected]" target=3D"_blank">[email protected]</a>&gt;<span s=
tyle=3D"font-family:&quot;Calibri&quot;,sans-serif">=E5=AF=AB=E9=81=93=EF=
=BC=9A</span><u></u><u></u></p>
<blockquote style=3D"border:none;border-left:solid #cccccc 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-=
bottom:5.0pt">
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Bingo! That=E2=80=99s it. Thanks
</span><span style=3D"font-size:11.0pt;font-family:Wingdings;color:#1f497d"=
>J</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Fixed in 1.20; indeed the error is si=
mple when looking back into it, moreover =E2=80=93 we already had similar
 lines in Makefile.PL</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Meanwhile, I made a bit of =E2=80=9Cn=
oisy=E2=80=9D release, they will output some more information from Tcl.xs d=
uring
 DLL load;</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">so these 1.19 and 1.20 should be rath=
er development releases, but who cares.</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Fortunately the last bug ever will be=
 fixed in 1.21!
</span><span style=3D"font-size:11.0pt;font-family:Wingdings;color:#1f497d"=
>J</span><u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:&quot=
;Calibri&quot;,sans-serif">From:</span></b><span style=3D"font-size:11.0pt;=
font-family:&quot;Calibri&quot;,sans-serif"> S.J. Luo [mailto:<a href=3D"ma=
ilto:[email protected]" target=3D"_blank">[email protected]</a>]
<br>
<b>Sent:</b> Thursday, July 19, 2018 8:27 PM<br>
<b>To:</b> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
rg</a><br>
<b>Subject:</b> Re: fatal error: tcl.h: No such file or directory</span><u>=
</u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">&gt; but we do have t=
hese lines I Makefile.PL now:<br>
&gt;<br>
&gt; ...<br>
&gt; $incpath =3D $tclcfg{TCL_INCLUDE_SPEC};<br>
&gt;<br>
&gt; # <a href=3D"https://www.cpantesters.org/cpan/report/18397198-6bf4-101=
4-85e5-4e79f459b9c5" target=3D"_blank">
https://www.cpantesters.org/<wbr>cpan/report/18397198-6bf4-<wbr>1014-85e5-4=
e79f459b9c5</a><br>
&gt; # Tcl.xs:32:10: fatal error: tcl.h: No such file or directory<br>
&gt; if ($incpath) {<br>
&gt; my @tclh =3D grep {-f &quot;$_/tcl.h&quot;} $incpath=3D~/-I(\S+)/g;<br=
>
&gt; if ($#tclh=3D=3D-1) {<br>
&gt; _die &quot;incpath $incpath from your tclconfig $tclconfig does not pr=
ovide tcl.h&quot;<br>
&gt; }<br>
&gt; } else {_die &quot;can not figure out incpath from your tclconfig $tcl=
config&quot;}<br>
&gt;<br>
&gt; How come this happen to avoid my otherwise perfect check??<br>
<br>
Hi,<br>
<br>
I got some try on Strawberry Perl. I got similar result without installing =
any tcl binary distribution.<br>
<br>
----------<br>
C:\strawberry\cpan\build\Tcl-<wbr>1.16-0&gt;perl Makefile.PL<br>
&#39;tclsh&#39; is not recognized as an internal or external command,<br>
operable program or batch file.<br>
Use of uninitialized value $tclcfg{&quot;tcl_library&quot;} in pattern matc=
h (m//) at Makefile.PL line 164.<br>
Use of uninitialized value $tclver in substitution (s///) at Makefile.PL li=
ne 171.<br>
Use of uninitialized value $tclver in concatenation (.) or string at Makefi=
le.PL line 182.<br>
LIBS =C2=A0 =3D =C2=A0-ltcl<br>
Use of uninitialized value $incpath in concatenation (.) or string at Makef=
ile.PL line 190.<br>
INC =C2=A0 =C2=A0=3D<br>
DEFINE =3D<br>
tclConfig.sh =3D<br>
Use of uninitialized value $incpath in string at Makefile.PL line 208.<br>
Checking if your kit is complete...<br>
Looks good<br>
Warning (mostly harmless): No library found for -ltcl<br>
Generating a dmake-style Makefile<br>
Writing Makefile for Tcl<br>
Writing MYMETA.yml and MYMETA.json<br>
<br>
C:\strawberry\cpan\build\Tcl-<wbr>1.16-0&gt;dmake<br>
cp Tcl.pm blib\lib\Tcl.pm<br>
Running Mkbootstrap for Tcl ()<br>
&quot;C:\strawberry\perl\bin\perl.<wbr>exe&quot; -MExtUtils::Command -e chm=
od -- 644 &quot;Tcl.bs&quot;<br>
&quot;C:\strawberry\perl\bin\perl.<wbr>exe&quot; -MExtUtils::Command::MM -e=
 cp_nonempty -- Tcl.bs blib\arch\auto\Tcl\Tcl.bs 644<br>
&quot;C:\strawberry\perl\bin\perl.<wbr>exe&quot; &quot;C:\strawberry\perl\l=
ib\<wbr>ExtUtils\xsubpp&quot; =C2=A0-typemap C:\strawberry\perl\lib\<wbr>Ex=
tUtils\typemap -typema<br>
p C:\strawberry\cpan\build\Tcl-<wbr>1.16-0\typemap =C2=A0Tcl.xs &gt; Tcl.xs=
c<br>
Please specify prototyping behavior for Tcl.xs (see perlxs manual)<br>
&quot;C:\strawberry\perl\bin\perl.<wbr>exe&quot; -MExtUtils::Command -e mv =
-- Tcl.xsc Tcl.c<br>
gcc -c =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-s -O2 -DWIN32 -DWIN64 -DCONSERVAT=
IVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fw=
rapv -f<br>
no-strict-aliasing -mms-bitfields -s -O2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
-DVERSION=3D\&quot;1.16\&quot; =C2=A0 =C2=A0-DXS_VERSION=3D\&quot;1.16\&quo=
t; =C2=A0&quot;-IC:\strawberry\perl\lib\<wbr>CORE&quot; =C2=A0 Tcl<br>
.c<br>
Tcl.xs:32:17: fatal error: tcl.h: No such file or directory<br>
=C2=A0#include &lt;tcl.h&gt;<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^<br>
compilation terminated.<br>
dmake: =C2=A0Error code 129, while making &#39;Tcl.o&#39;<br>
----------<br>
<br>
The key is why it can pass the check Makefile.PL. In Strawberry Perl, the f=
ollowing code got a weird result (Tcl.pm 1.16):<u></u><u></u></p>
<div style=3D"margin-left:30.0pt">
<p class=3D"MsoNormal">C:\strawberry\cpan\build\Tcl-<wbr>1.16-0&gt;perl -E =
&quot;open(FH, &#39;foo |&#39;) or die; say &#39;I am still alive&#39;;&quo=
t;<br>
I am still alive<br>
&#39;foo&#39; is not recognized as an internal or external command,<br>
operable program or batch file.<u></u><u></u></p>
</div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<p class=3D"MsoNormal">It seems open() with pipe returns true even if there=
 is no &#39;foo&#39; program existed. I my Cygwin environment, the same pro=
gram gets following result<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<div style=3D"margin-left:30.0pt">
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">% perl -E &quot;open(=
FH, &#39;foo |&#39;) or die; say &#39;I am still alive&#39;;&quot;<br>
Died at -e line 1.<u></u><u></u></p>
</div>
<p class=3D"MsoNormal">The Strawberry Perl I use is=C2=A0 5.24.4 x86_64 ver=
sion in Win7.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">The result in Tcl.pm 1.18=C2=A0
<a href=3D"http://matrix.cpantesters.org/?dist=3DTcl%201.18;os=3Dmswin32;pe=
rl=3D5.28.0;reports=3D1" target=3D"_blank">
http://matrix.cpantesters.org/<wbr>?dist=3DTcl%201.18;os=3Dmswin32;<wbr>per=
l=3D5.28.0;reports=3D1</a>=C2=A0 seems to be caused from the same issue.<u>=
</u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><br>
SJ<u></u><u></u></p>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>

--000000000000c5a6d6057175116b--