http://www.perlmonks.org?node_id=950579


in reply to Re^8: Installing modules
in thread Installing modules

Okay, I downloaded that, and as it said in the readme file, I ran "./configure" and then "make install". The configure thing remarked that there was no support for JPEG library or Freetype 2.x library, but seemed otherwise happy. "make install" popped out a long list of errors, most of which seem to be related to gd_png.c, and concluded
make[1]: *** [gd_png.lo] Error 1 make: *** [install-recursive] Error 1

I don't know if that means it's installed or not.

Going back to the GD module, now "make" runs without complaining, but "make test" still fails:

t/GD.t (Wstat: 512 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 2 Parse errors: Bad plan. You planned 12 tests but ran 1. t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=2, Tests=1, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.06 cusr + 0.01 csys = 0.10 CPU) Result: FAIL Failed 2/2 test programs. 1/1 subtests failed. make: *** [test_dynamic] Error 2

Replies are listed 'Best First'.
Re^10: Installing modules
by Khen1950fx (Canon) on Jan 29, 2012 at 16:18 UTC
      Those all installed without a problem, as far as I can tell. But "make test" for GD still fails:

      PERL_DL_NONLAZY=1 /Users/Chuma/perl5/perlbrew/perls/perl-5.14.2/bin/pe +rl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/ +arch')" t/*.t t/GD.t ........ 1/12 Can't load './blib/arch/auto/GD/GD.bundle' for mo +dule GD: dlopen(./blib/arch/auto/GD/GD.bundle, 2): Symbol not found: +_gdFontGetGiant Referenced from: /Users/Chuma/Desktop/mess/GD-2.46/blib/arch/auto/GD +/GD.bundle Expected in: dynamic lookup at t/GD.t line 14 Compilation failed in require at t/GD.t line 14. BEGIN failed--compilation aborted at t/GD.t line 14. t/GD.t ........ Dubious, test returned 2 (wstat 512, 0x200) Failed 12/12 subtests t/Polyline.t .. Can't load '/Users/Chuma/Desktop/mess/GD-2.46/blib/arc +h/auto/GD/GD.bundle' for module GD: dlopen(/Users/Chuma/Desktop/mess/ +GD-2.46/blib/arch/auto/GD/GD.bundle, 2): Symbol not found: _gdFontGet +Giant Referenced from: /Users/Chuma/Desktop/mess/GD-2.46/blib/arch/auto/GD +/GD.bundle Expected in: dynamic lookup at /Users/Chuma/Desktop/mess/GD-2.46/blib/lib/GD/Polyline.pm line 45 Compilation failed in require at /Users/Chuma/Desktop/mess/GD-2.46/bli +b/lib/GD/Polyline.pm line 45. BEGIN failed--compilation aborted at /Users/Chuma/Desktop/mess/GD-2.46 +/blib/lib/GD/Polyline.pm line 45. Compilation failed in require at t/Polyline.t line 10. BEGIN failed--compilation aborted at t/Polyline.t line 10. t/Polyline.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests Test Summary Report ------------------- t/GD.t (Wstat: 512 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 2 Parse errors: Bad plan. You planned 12 tests but ran 1. t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=2, Tests=1, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.06 cusr + 0.01 csys = 0.10 CPU) Result: FAIL Failed 2/2 test programs. 1/1 subtests failed. make: *** [test_dynamic] Error 2