我想安装运行Circos所需的模块。其中一个必需的模块是GD
。
brew install libgd
* 关注cpan[1]> install GD
Test Summary Report
-------------------
t/GD.t (Wstat: 0 Tests: 12 Failed: 1)
Failed test: 10
Files=2, Tests=13, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.11 cusr 0.02 csys = 0.15 CPU)
Result: FAIL
Failed 1/2 test programs. 1/13 subtests failed.
make: *** [test_dynamic] Error 255
LDS/GD-2.46.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports LDS/GD-2.46.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
LDS/GD-2.46.tar.gz : make_test NO
关于如何解决此问题的任何想法?
答案 0 :(得分:7)
对于这个特定模块,传递单元测试非常hit-or-miss。如果您对这个单一测试失败(大约writing jpeg files)感到满意,那么只需强行安装即可。
cpan[1]> force install GD
或
$ cpan -f GD
由于测试失败是一个jpeg问题,您可能想看看是否正确安装了libjpeg及其朋友。