I tried to install GD-2.56 locally, but failed.

Please help me.

I did perl ./Build.PL .......it was fine

then, ./Build

then ./Build test

it fails ........

t/GD.t ........ 1/11 # Failed test 'use GD;' # at t/GD.t line 14. # Tried to use 'GD'. # Error: Can't load '/nv/vol80/hlilab/shailesh/benchmarking/modu +les/GD-2.56/t/../blib/arch/auto/GD/GD.so' for module GD: libgd.so.3: +cannot open shared object file: No such file or directory at /usr/lib +64/perl5/DynaLoader.pm line 200. # at (eval 17) line 2 # Compilation failed in require at (eval 17) line 2. # BEGIN failed--compilation aborted at (eval 17) line 2. # Failed test 'use GD::Simple;' # at t/GD.t line 15. # Tried to use 'GD::Simple'. # Error: Attempt to reload GD.pm aborted. # Compilation failed in require at /nv/vol80/hlilab/shailesh/benchmark +ing/modules/GD-2.56/t/../blib/lib/GD/Simple.pm line 160. # BEGIN failed--compilation aborted at /nv/vol80/hlilab/shailesh/bench +marking/modules/GD-2.56/t/../blib/lib/GD/Simple.pm line 160. # Compilation failed in require at (eval 18) line 2. # BEGIN failed--compilation aborted at (eval 18) line 2. # Testing using gd2 support. # Failed test 'unable to generate comparison image for test 1: Can't + locate object method "_new" via package "GD::Image" at /nv/vol80/hli +lab/shailesh/benchmarking/modules/GD-2.56/t/../blib/lib/GD/Image.pm l +ine 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 2: Can't + locate object method "_new" via package "GD::Image" at /nv/vol80/hli +lab/shailesh/benchmarking/modules/GD-2.56/t/../blib/lib/GD/Image.pm l +ine 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 3: Can't + locate object method "_new" via package "GD::Image" at /nv/vol80/hli +lab/shailesh/benchmarking/modules/GD-2.56/t/../blib/lib/GD/Image.pm l +ine 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 4: Can't + locate object method "_new" via package "GD::Image" at /nv/vol80/hli +lab/shailesh/benchmarking/modules/GD-2.56/t/../blib/lib/GD/Image.pm l +ine 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 5: Can't + locate object method "_new" via package "GD::Image" at /nv/vol80/hli +lab/shailesh/benchmarking/modules/GD-2.56/t/../blib/lib/GD/Image.pm l +ine 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 6: Can't + locate object method "_new" via package "GD::Image" at /nv/vol80/hli +lab/shailesh/benchmarking/modules/GD-2.56/t/../blib/lib/GD/Image.pm l +ine 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 7: Can't + locate object method "_new" via package "GD::Image" at /nv/vol80/hli +lab/shailesh/benchmarking/modules/GD-2.56/t/../blib/lib/GD/Image.pm l +ine 83. # ' # at t/GD.t line 246. Can't locate object method "_new" via package "GD::Image" at /nv/vol80 +/hlilab/shailesh/benchmarking/modules/GD-2.56/t/../blib/lib/GD/Image. +pm line 83. # Looks like you planned 11 tests but ran 9. # Looks like you failed 9 tests of 9 run. # Looks like your test exited with 255 just after 9. t/GD.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 11/11 subtests t/Polyline.t .. Can't load <p>'/nv/vol80/hlilab/shailesh/benchmarking +/modules/GD-2.56/blib/arch/auto/GD/GD.so' for module GD: libgd.so.3: +cannot open shared object file: No such file or directory at /usr/lib +64/perl5/DynaLoader.pm line 200. <p> at /nv/vol80/hlilab/shailesh/benchmarking/modules/GD-2.56/blib/lib/GD +/Polyline.pm line 45 Compilation failed in require at /nv/vol80/hlilab/shailesh/benchmarkin +g/modules/GD-2.56/blib/lib/GD/Polyline.pm line 45. BEGIN failed--compilation aborted at /nv/vol80/hlilab/shailesh/benchma +rking/modules/GD-2.56/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: 65280 Tests: 9 Failed: 9) Failed tests: 1-9 Non-zero exit status: 255 Parse errors: Bad plan. You planned 11 tests but ran 9. 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=9, 0 wallclock secs ( 0.03 usr 0.03 sys + 0.13 cusr + 0.09 csys = 0.28 CPU) Result: FAIL Failed 2/2 test programs. 9/9 subtests failed.
PLease solve this for the error.

In reply to GD-2.56 installation without root. by genome

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.