Subject: | Build failure with perl-5.28.0-RC1 on FreeBSD-11.1 |
While testing the perl-5.28.0-readiness of CPAN distributions today, I had occasion to use 'cpanm' to try to install this module. I got the build-time failures below.
#####
{
author => "VKON",
dist => "Tcl",
distname => "Tcl-1.05",
distversion => 1.05,
grade => "FAIL",
prereqs => undef,
test_output => [
"Building and testing Tcl-1.05",
"cp Tcl.pm blib/lib/Tcl.pm",
"Running Mkbootstrap for Tcl ()",
"chmod 644 \"Tcl.bs\"",
"\"/usr/home/jkeenan/var/tad/testing/perl-5.28.0-RC1/bin/perl\" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tcl.bs blib/arch/auto/Tcl/Tcl.bs 644",
"\"/usr/home/jkeenan/var/tad/testing/perl-5.28.0-RC1/bin/perl\" \"/usr/home/jkeenan/var/tad/testing/perl-5.28.0-RC1/lib/5.28.0/ExtUtils/xsubpp\" -typemap '/usr/home/jkeenan/var/tad/testing/perl-5.28.0-RC1/lib/5.28.0/ExtUtils/typemap' -typemap '/usr/home/jkeenan/var/tad/testing/perl-5.28.0-RC1/.cpanm/work/1527089479.86980/Tcl-1.05/typemap' Tcl.xs > Tcl.xsc",
"Please specify prototyping behavior for Tcl.xs (see perlxs manual)",
"mv Tcl.xsc Tcl.c",
"cc -c -I/usr/local/include -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION=\\\"1.05\\\" -DXS_VERSION=\\\"1.05\\\" -DPIC -fPIC \"-I/usr/home/jkeenan/var/tad/testing/perl-5.28.0-RC1/lib/5.28.0/amd64-freebsd/CORE\" -DUSE_TCL_STUBS -DLIB_RUNTIME_DIR=\\\"/usr/local/lib\\\" -DTCL_LIB_FILE=\\\"libtcl86.so\\\" Tcl.c",
"Tcl.xs:32:10: fatal error: 'tcl.h' file not found",
"#include <tcl.h>",
" ^~~~~~~",
"1 error generated.",
"*** Error code 1",
"",
"Stop.",
"make: stopped in /usr/home/jkeenan/var/tad/testing/perl-5.28.0-RC1/.cpanm/work/1527089479.86980/Tcl-1.05",
"-> FAIL Installing Tcl failed. See /usr/home/jkeenan/var/tad/testing/perl-5.28.0-RC1/.cpanm/work/1527089479.86980/build.log for details. Retry with --force to force install it.",
],
via => "App::cpanminus::reporter 0.17 (1.7043)",
}
#####
Thank you very much.
Jim Keenan