2015-12-15 7 views
0

J'essaie d'installer ce module perl, Email :: Sender; J'ai essayé d'exécuter cette commande d'abord en tant que root:Impossible d'installer le module perl Email :: Sender sur Centos 6.7

perl -MCPAN -e 'install("Email::Sender")' 

Il n'a pas réussi à faire le test et make install test, en dessous de la sortie:

Warning (usually harmless): 'YAML' not installed, will not store  persistent state 
Running make test 
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM"    "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t 
t/00-load.t ............ 1/? 
# Failed test 'use Email::Sender::Simple;' 
# at t/00-load.t line 3. 
#  Tried to use 'Email::Sender::Simple'. 
#  Error: Can't locate List/MoreUtils.pm in @INC (@INC contains:  /root/.cpan/build/Email-Sender-1.300021-JAe4AH/blib/lib /root/.cpan/build /Email-Sender-1.300021-JAe4AH/blib/arch /usr/local/lib64/perl5 /usr/local /share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl  /usr/lib64/perl5 /usr/share/perl5 .) at /root/.cpan/build/Email-Sender- 1.300021-JAe4AH/blib/lib/Email/Sender/Util.pm line 10. 
# BEGIN failed--compilation aborted at /root/.cpan/build/Email-Sender-1.300021-JAe4AH/blib/lib/Email/Sender/Util.pm line 10. 
# Compilation failed in require at /root/.cpan/build/Email-Sender-1.300021-JAe4AH/blib/lib/Email/Sender/Simple.pm line 24. 
# BEGIN failed--compilation aborted at /root/.cpan/build/Email-Sender-1.300021-JAe4AH/blib/lib/Email/Sender/Simple.pm line 24. 
# Compilation failed in require at t/00-load.t line 3. 
# BEGIN failed--compilation aborted at t/00-load.t line 3. 
Bailout called. Further testing stopped: can't even compile all  relevant modules 
FAILED--Further testing stopped: can't even compile all relevant modules 
make: *** [test_dynamic] Error 255 
    RJBS/Email-Sender-1.300021.tar.gz 
    /usr/bin/make test -- NOT OK 
//hint// to see the cpan-testers results for installing this module, try: 
    reports RJBS/Email-Sender-1.300021.tar.gz 
Warning (usually harmless): 'YAML' not installed, will not store  persistent state 
Running make install 
make test had returned bad status, won't install without force 

J'ai même essayé de l'exécuter à partir du CPAN coquille, mais pas de chance.

Avez-vous des suggestions?

+0

Salut, c'est le centième 6.7; En fait, je l'ai compris et certains dev gcc manquaient – user4711416

+0

yum installer gcc gcc-C++ faire openssl-devel résolu. – user4711416

Répondre

1
yum install gcc gcc-c++ make openssl-devel 

Résolu le module d'installation Perl.