I'm trying to install Tkx on my Mac, with Perl 5.16.0 under perlbrew. Keep getting this error:
Test Summary Report
-------------------
t/tcl.t (Wstat: 0 Tests: 18 Failed: 1)
Failed test: 18
Files=8, Tests=54, 8 wallclock secs ( 0.04 usr 0.02 sys + 1.58 cusr 0.83 csys = 2.47 CPU)
Result: FAIL
Failed 1/8 test programs. 1/54 subtests failed.
make: *** [test_dynamic] Error 255
GAAS/Tkx-1.09.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports GAAS/Tkx-1.09.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
GAAS/Tkx-1.09.tar.gz : make_test NO
When I execute reports GAAS/Tkx-1.09.tar.gz
(inside the CPAN shell) I get this:
Distribution: G/GA/GAAS/Tkx-1.09.tar.gz
Fetching 'http://www.cpantesters.org/show/Tkx.yaml'...DONE
Catching error: "CPAN::Exception::yaml_process_error=HASH(0x7fb392b404b8)" at /Users/daryl/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/CPAN.pm line 392.
CPAN::shell() called at -e line 1
Early in this process, I noticed that in the directory ~/.cpan/sources/authors/id about half the directories were owned by root, the others by me. I did "chown -R $USER" at the .cpan level and all my other installs have been okay. Also, "install Tk" succeeded; I guess I can revert to Tk but I really wanted to try Tkx. So much so that I ran "notest install Tk". I'm sure I'll run into an issue soon, so if there is an answer to this problem, I'd love to hear it.
I tried to install
Tkx
on macOS Catalina, perlbrew with perl version 5.30.1 Runningcpanm Tkx
fails with the package Tcl. It is the tests for the packageTcl
that fails (first):failed 20/20 test programs. 0/0 subtests failed.
:If I download the distribution and run one of the tests manually, I get a segfault:
See also this bug report.