我正在尝试在Mac上安装Tkx,并且在Perlbrew下使用Perl 5.16.0。不断收到此错误:
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
[当我在CPAN shell内执行reports GAAS/Tkx-1.09.tar.gz
时,我得到了:
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
[在此过程的早期,我注意到在〜/ .cpan / sources / authors / id目录中,大约一半目录归root拥有,其他目录归我所有。我在.cpan级别上执行了“ chown -R $ USER”,所有其他安装都正常。此外,“安装Tk”成功;我想我可以恢复为Tk,但是我真的很想尝试Tkx。如此之多,以至于我跑了“ notest install Tk”。我敢肯定,我很快就会遇到问题,因此,如果对此问题有解决的办法,我希望听到它。
Tkx的最新发布时间是十年前,已有twice as many FAIL as PASS reports in CPAN Testers。除非您有足够的勇气和时间自行修复,否则我不认为您真的想尝试Tkx
。