【问题标题】:Install GD Failure安装 GD 失败
【发布时间】:2012-10-15 13:48:23
【问题描述】:

我想安装运行 Circos 所需的模块。所需模块之一是GD

  • *操作系统:Mac OS X 版本 10.7.4
  • 已安装的 libgd: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

关于如何解决这个问题的任何想法?

【问题讨论】:

    标签: perl cpan perl-module


    【解决方案1】:

    对于这个特定的模块,通过单元测试是相当不错的hit-or-miss。如果您对这个单一的测试失败(大约是writing jpeg files)感到满意,那么只需强制安装。

    cpan[1]> force install GD
    

    $ cpan -f GD
    

    由于测试失败是 jpeg 问题,您可能想查看是否正确安装了 libjpeg 及其朋友。

    【讨论】:

    • 我认为失败的一般原因是因为libjpeg的版本已经升级到8,而测试文件是用62写入的,导致写入的数据/元数据有差异
    猜你喜欢
    • 1970-01-01
    • 2019-03-14
    • 1970-01-01
    • 2013-02-24
    • 1970-01-01
    • 1970-01-01
    • 2012-03-24
    • 2011-01-17
    • 2017-08-14
    相关资源
    最近更新 更多