Loading ...
Sorry, an error occurred while loading the content.

How can i get cpan working with success

Expand Messages
  • auser
    hi,list! my platform is : redhat AS 4 I have installed gd lib and gd module for perl, and also i update cpan from 1.7 to 1.9xx£¬ but when i use cpan command
    Message 1 of 1 , Feb 22, 2008
    • 0 Attachment
      hi,list!

      my platform is : redhat AS 4
      I have installed gd lib and gd module for perl, and also i update cpan from 1.7 to 1.9xx,
      but when i use cpan command to install module , it always make test - not ok!
      install GD::Text
      Running install for module GD::Text
      Running make for M/MV/MVERB/GDTextUtil-0.86.tar.gz
      Checksum for /root/.cpan/sources/authors/id/M/MV/MVERB/GDTextUtil-0.86.tar.gz ok
      GDTextUtil-0.86/
      GDTextUtil-0.86/Text.pm
      GDTextUtil-0.86/t/
      GDTextUtil-0.86/t/align.t
      GDTextUtil-0.86/t/lib.pl
      GDTextUtil-0.86/t/text.t
      GDTextUtil-0.86/t/wrap.t
      GDTextUtil-0.86/demo/
      GDTextUtil-0.86/demo/GDWrap.pl
      GDTextUtil-0.86/demo/GDWrap.ref.png
      GDTextUtil-0.86/MANIFEST
      GDTextUtil-0.86/Makefile.PL
      GDTextUtil-0.86/Dustismo_Sans.ttf
      GDTextUtil-0.86/Text/
      GDTextUtil-0.86/Text/Wrap.pm
      GDTextUtil-0.86/Text/Align.pm
      GDTextUtil-0.86/Changes
      GDTextUtil-0.86/Dustismo.LICENSE
      GDTextUtil-0.86/README
      Removing previously used /root/.cpan/build/GDTextUtil-0.86

      CPAN.pm: Going to build M/MV/MVERB/GDTextUtil-0.86.tar.gz

      Checking if your kit is complete...
      Looks good
      Writing Makefile for GD::Text
      cp Text.pm blib/lib/GD/Text.pm
      cp Text/Wrap.pm blib/lib/GD/Text/Wrap.pm
      cp Text/Align.pm blib/lib/GD/Text/Align.pm
      Manifying blib/man3/GD::Text::Wrap.3pm
      Manifying blib/man3/GD::Text.3pm
      Manifying blib/man3/GD::Text::Align.3pm
      /usr/bin/make -- OK
      Running make test
      PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
      t/align....Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/GD/GD.so' for module GD: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/GD/GD.so: undefined symbol: gdImageGifAnimAddPtr at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
      at t/align.t line 8
      Compilation failed in require at t/align.t line 8.
      BEGIN failed--compilation aborted at t/align.t line 8.
      # Looks like your test died before it could output anything.
      t/align....dubious
      Test returned status 255 (wstat 65280, 0xff00)
      DIED. FAILED tests 1-21
      Failed 21/21 tests, 0.00% okay
      t/text.....Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/GD/GD.so' for module GD: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/GD/GD.so: undefined symbol: gdImageGifAnimAddPtr at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
      at t/text.t line 8
      Compilation failed in require at t/text.t line 8.
      BEGIN failed--compilation aborted at t/text.t line 8.
      # Looks like your test died before it could output anything.
      t/text.....dubious
      Test returned status 255 (wstat 65280, 0xff00)
      DIED. FAILED tests 1-20
      Failed 20/20 tests, 0.00% okay
      t/wrap.....Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/GD/GD.so' for module GD: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/GD/GD.so: undefined symbol: gdImageGifAnimAddPtr at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
      at t/wrap.t line 7
      Compilation failed in require at t/wrap.t line 7.
      BEGIN failed--compilation aborted at t/wrap.t line 7.
      # Looks like your test died before it could output anything.
      t/wrap.....dubious
      Test returned status 255 (wstat 65280, 0xff00)
      DIED. FAILED tests 1-14
      Failed 14/14 tests, 0.00% okay
      Failed Test Stat Wstat Total Fail Failed List of Failed
      -------------------------------------------------------------------------------
      t/align.t 255 65280 21 42 200.00% 1-21
      t/text.t 255 65280 20 40 200.00% 1-20
      t/wrap.t 255 65280 14 28 200.00% 1-14
      Failed 3/3 test scripts, 0.00% okay. 55/55 subtests failed, 0.00% okay.
      make: *** [test_dynamic] Error 255
      /usr/bin/make test -- NOT OK
      Running make install
      make test had returned bad status, won't install without force


      I really don't why , and i have changed sereval server ,who can tell how can i do.
      And what package must be installed befor, Thanks very much!
    Your message has been successfully submitted and would be delivered to recipients shortly.