Install GD Failure

I would like to install the modules needed to run Circos. One of the necessary modules is GD .

  • * OS: Mac OS X Version 10.7.4
  • Installed libgd: brew install libgd *

Following 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 

Any ideas on how to resolve this?

+4
source share
1 answer

For this particular module, passing unit tests is pretty hit-or-miss . If you like this one test failure (which is about writing jpeg files ), then just force it.

 cpan[1]> force install GD 

or

 $ cpan -f GD 

Since test failure is a jpeg problem, you can see if libjpeg and her friends are installed correctly.

+7
source

Source: https://habr.com/ru/post/1439830/


All Articles