> From: Konovalov, Vadim > > Hi, > > Such an error I can not reproduce: > https://www.cpantesters.org/cpan/report/6abf7f68-6d61-1014-8cbe-f6af8038f308 > > Tcl.xs:32:10: fatal error: tcl.h: No such file or directory
C:\vad\perl-dev\tcl.pm>gmake INC= cp Tcl.pm blib\lib\Tcl.pm Running Mkbootstrap for Tcl () "C:\apps\perl-5.26.0-32\perl\bin\perl.EXE" -MExtUtils::Command -e chmod -- 644 "Tcl.bs" "C:\apps\perl-5.26.0-32\perl\bin\perl.EXE" -MExtUtils::Command::MM -e cp_nonempty -- Tcl.bs blib\arch\auto\Tcl\Tcl.bs 64 4 "C:\apps\perl-5.26.0-32\perl\bin\perl.EXE" "C:\apps\perl-5.26.0-32\perl\lib\ExtUtils/xsubpp" -typemap C:\apps\perl-5.26 .0-32\perl\lib\ExtUtils\typemap -typemap C:\vad\perl-dev\tcl.pm\typemap Tcl.xs > Tcl.xsc Please specify prototyping behavior for Tcl.xs (see perlxs manual) "C:\apps\perl-5.26.0-32\perl\bin\perl.EXE" -MExtUtils::Command -e mv -- Tcl.xsc Tcl.c gcc -c -s -O2 -DWIN32 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DU SE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" "-IC:\apps\perl -5.26.0-32\perl\lib\CORE" Tcl.c Tcl.xs:32:10: fatal error: tcl.h: No such file or directory #include <tcl.h> ^~~~~~~ compilation terminated. gmake.EXE: *** [Makefile:338: Tcl.o] Error 1 I wonder if dmake have such a behaviour that it undefines INC? Or what? How to avoid? > > I see in log: > 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 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS > -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv > -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"1.16\" > -DXS_VERSION=\"1.16\" "-IC:\STRAWB~1\perl\lib\CORE" Tcl.c >