Hi, everyone,

When I want to install perl module WWW::Yahoo::KeywordExtractor in 

my  Ubuntu damper 6.06 OS, it doesn't work properly. The error message 

is listed below:

===================================

CPAN: Storable loaded ok
Going to read /home/wanghui/.cpan/Metadata
  Database was generated on Mon, 30 Oct 2006 21:24:24 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  ftp://mirrors.hknet.com/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[read timeout]
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
  ftp://mirrors.hknet.com/CPAN/authors/01mailrc.txt.gz
  Could not connect to host 'mirrors.hknet.com' with Net::FTP
Fetching with LWP:
  http://cpan.linuxforum.net/authors/01mailrc.txt.gz
Going to read /home/wanghui/.cpan/sources/authors/01mailrc.txt.gz
Fetching with LWP:
  ftp://mirrors.hknet.com/CPAN/modules/02packages.details.txt.gz
Going to read /home/wanghui/.cpan/sources/modules/02packages.details.txt.gz
  Database was generated on Wed, 01 Nov 2006 15:24:03 GMT
Fetching with LWP:
  ftp://mirrors.hknet.com/CPAN/modules/03modlist.data.gz
Going to read /home/wanghui/.cpan/sources/modules/03modlist.data.gz
Going to write /home/wanghui/.cpan/Metadata
Running install for module WWW::Yahoo::KeywordExtractor
Running make for S/SO/SOCK/WWW-Yahoo-KeywordExtractor-0.04.tar.gz
cpan> install WWW::Yahoo::KeywordExtractorCPAN: Digest::SHA loaded ok
Checksum for 
/home/wanghui/.cpan/sources/authors/id/S/SO/SOCK/WWW-Yahoo-KeywordExtractor-0.04.tar.gz
 ok
Scanning cache /home/wanghui/.cpan/build for sizes
WWW-Yahoo-KeywordExtractor-0.04/
WWW-Yahoo-KeywordExtractor-0.04/Build.PL
WWW-Yahoo-KeywordExtractor-0.04/Changes
WWW-Yahoo-KeywordExtractor-0.04/lib/
WWW-Yahoo-KeywordExtractor-0.04/lib/WWW/
WWW-Yahoo-KeywordExtractor-0.04/lib/WWW/Yahoo/
WWW-Yahoo-KeywordExtractor-0.04/lib/WWW/Yahoo/KeywordExtractor.pm
WWW-Yahoo-KeywordExtractor-0.04/MANIFEST
WWW-Yahoo-KeywordExtractor-0.04/META.yml
WWW-Yahoo-KeywordExtractor-0.04/README
WWW-Yahoo-KeywordExtractor-0.04/t/
WWW-Yahoo-KeywordExtractor-0.04/t/02-pod.t
WWW-Yahoo-KeywordExtractor-0.04/t/03-pod_coverage.t
WWW-Yahoo-KeywordExtractor-0.04/t/04-perl_critic.t
WWW-Yahoo-KeywordExtractor-0.04/t/11-compile.t
Removing previously used 
/home/wanghui/.cpan/build/WWW-Yahoo-KeywordExtractor-0.04

  CPAN.pm: Going to build S/SO/SOCK/WWW-Yahoo-KeywordExtractor-0.04.tar.gz

Checking whether your kit is complete...
Looks good

Checking prerequisites...
 - ERROR: XML::Simple is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Creating new 'Build' script for 'WWW-Yahoo-KeywordExtractor' version '0.04'
CPAN: YAML loaded ok
CPAN: Module::Build loaded ok
  Warning: CPAN.pm discovered Module::Build as undeclared prerequisite.
  Adding it now as such.
---- Unsatisfied dependencies detected during 
[S/SO/SOCK/WWW-Yahoo-KeywordExtractor-0.04.tar.gz] -----
    XML::Simple
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]
Running Build test
  Delayed until after prerequisites
Running Build install
  Delayed until after prerequisites
Running install for module XML::Simple
Running make for G/GR/GRANTM/XML-Simple-2.16.tar.gz
Checksum for 
/home/wanghui/.cpan/sources/authors/id/G/GR/GRANTM/XML-Simple-2.16.tar.gz ok
XML-Simple-2.16/
XML-Simple-2.16/t/
XML-Simple-2.16/t/1_XMLin.xml
XML-Simple-2.16/t/lib/
XML-Simple-2.16/t/lib/TagsToUpper.pm
XML-Simple-2.16/t/B_Hooks.t
XML-Simple-2.16/t/6_ObjIntf.t
XML-Simple-2.16/t/1_XMLin.t
XML-Simple-2.16/t/srt.xml
XML-Simple-2.16/t/4_MemShare.t
XML-Simple-2.16/t/3_Storable.t
XML-Simple-2.16/t/7_SaxStuff.t
XML-Simple-2.16/t/A_XMLParser.t
XML-Simple-2.16/t/0_Config.t
XML-Simple-2.16/t/subdir/
XML-Simple-2.16/t/subdir/test2.xml
XML-Simple-2.16/t/2_XMLout.t
XML-Simple-2.16/t/5_MemCopy.t
XML-Simple-2.16/t/8_Namespaces.t
XML-Simple-2.16/t/test1.xml
XML-Simple-2.16/t/desertnet.src
XML-Simple-2.16/t/9_Strict.t
XML-Simple-2.16/Changes
XML-Simple-2.16/MANIFEST
XML-Simple-2.16/lib/
XML-Simple-2.16/lib/XML/
XML-Simple-2.16/lib/XML/Simple/
XML-Simple-2.16/lib/XML/Simple/FAQ.pod
XML-Simple-2.16/lib/XML/Simple.pm
XML-Simple-2.16/META.yml
XML-Simple-2.16/maketest
XML-Simple-2.16/README
XML-Simple-2.16/Makefile.PL
Removing previously used /home/wanghui/.cpan/build/XML-Simple-2.16

  CPAN.pm: Going to build G/GR/GRANTM/XML-Simple-2.16.tar.gz

Checking installed modules ...
=============================================================================

  Fatal error: Your default XML parser (XML::SAX::PurePerl) is broken.

  There are known bugs in the PurePerl parser included with version 0.13
  and 0.14 of XML::SAX.  The XML::Simple tests will fail with this parser.

  One way to avoid the problem is to install XML::SAX::Expat - it will
  install itself as the system default XML parser and then you will be able
  to install XML::Simple successfully.  XML::SAX::Expat is also much faster
  than XML::SAX::PurePerl so you probably want it anyway.

=============================================================================
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install
Running Build for S/SO/SOCK/WWW-Yahoo-KeywordExtractor-0.04.tar.gz
  Is already unwrapped into directory 
/home/wanghui/.cpan/build/WWW-Yahoo-KeywordExtractor-0.04

  CPAN.pm: Going to build S/SO/SOCK/WWW-Yahoo-KeywordExtractor-0.04.tar.gz

Checking whether your kit is complete...
Looks good

Checking prerequisites...
 - ERROR: XML::Simple is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Deleting Build
Removed previous script 'Build'

Creating new 'Build' script for 'WWW-Yahoo-KeywordExtractor' version '0.04'
lib/WWW/Yahoo/KeywordExtractor.pm -> blib/lib/WWW/Yahoo/KeywordExtractor.pm
Manifying blib/lib/WWW/Yahoo/KeywordExtractor.pm -> 
blib/libdoc/WWW::Yahoo::KeywordExtractor.3pm
  ./Build  -- OK
Running Build test
t/02-pod.............skipped
        all skipped: Test::Pod 1.14 required for testing POD
t/03-pod_coverage....skipped
        all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage
t/04-perl_critic.....skipped
        all skipped: Test::Perl::Critic required to criticise code
t/11-compile.........
#     Failed test (t/11-compile.t at line 9)
#     Tried to use 'WWW::Yahoo::KeywordExtractor'.
#     Error:  Can't locate XML/Simple.pm in @INC (@INC contains: 
/home/wanghui/.cpan/build/WWW-Yahoo-KeywordExtractor-0.04/blib/lib 
/home/wanghui/.cpan/build/WWW-Yahoo-KeywordExtractor-0.04/blib/arch /etc/perl 
/usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl 
. /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 
/usr/local/lib/site_perl .) at 
/home/wanghui/.cpan/build/WWW-Yahoo-KeywordExtractor-0.04/blib/lib/WWW/Yahoo/KeywordExtractor.pm
 line 10.
# BEGIN failed--compilation aborted at t/11-compile.t line 9.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
Use of uninitialized value in concatenation (.) or string at t/11-compile.t 
line 11.
# Testing WWW::Yahoo::KeywordExtractor , Perl 5.008007, /usr/bin/perl
Can't locate object method "new" via package "WWW::Yahoo::KeywordExtractor" at 
t/11-compile.t line 16.
# Looks like you planned 5 tests but only ran 1.
# Looks like your test died just after 1.
t/11-compile.........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
        Failed 5/5 tests, 0.00% okay
Failed Test    Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/11-compile.t  255 65280     5    9  1-5
3 tests skipped.
Failed 1/4 test scripts. 5/5 subtests failed.
Files=4, Tests=5,  1 wallclock secs ( 0.16 cusr +  0.02 csys =  0.18 CPU)
Failed 1/4 test programs. 5/5 subtests failed.
  ./Build test -- NOT OK
Running Build install
  make test had returned bad status, won't install without force
Failed during this command:
  SOCK/WWW-Yahoo-KeywordExtractor-0.04.tar.gz  : make_test NO
  GRANTM/XML-Simple-2.16.tar.gz                : writemakefile NO 
'/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 65280
======================================================


Who can help me? Thanks.

Hui Wang



                
---------------------------------
 Mp3疯狂搜-新歌热歌高速下   
                
---------------------------------
抢注雅虎免费邮箱-3.5G容量,20M附件! 

Reply via email to