2009-11-22 4 views
3

J'essaye d'installer ce module pour l'envoi de courrier.Comment installer Email :: Send :: Gmail pour ActivePerl?

Et je reçois des erreurs suivantes:

Warning: Prerequisite 'IO::Socket::SSL => ' for 'CWEST/Net-SMTP-SSL-1.01.tar.gz' 
failed when processing 'SULLR/IO-Socket-SSL-1.31.tar.gz' with 'make_test => NO' 
. Continuing, but chances to succeed are limited. 
cp lib/Net/SMTP/SSL.pm blib\lib\Net\SMTP\SSL.pm 
    CWEST/Net-SMTP-SSL-1.01.tar.gz 
    C:\Perl\site\bin\dmake.exe -- OK 
Running make test 
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 
'blib\arch')" t/*.t 
t/test.t .. 
# Failed test 'use Net::SMTP::SSL;' 
# at t/test.t line 2. 
t/test.t .. 1/1 #  Tried to use 'Net::SMTP::SSL'. 
#  Error: Can't locate IO/Socket/SSL.pm in @INC (@INC contains: C:\Perl\cpan 
\build\Net-SMTP-SSL-1.01-Jh6RtD\blib\lib C:\Perl\cpan\build\Net-SMTP-SSL-1.01-Jh 
6RtD\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\build\Net-SMTP-SS 
L-1.01-Jh6RtD\blib\lib/Net/SMTP/SSL.pm line 8. 
# BEGIN failed--compilation aborted at C:\Perl\cpan\build\Net-SMTP-SSL-1.01-Jh6R 
tD\blib\lib/Net/SMTP/SSL.pm line 8. 
# Compilation failed in require at (eval 4) line 2. 
# BEGIN failed--compilation aborted at (eval 4) line 2. 
# Looks like you failed 1 test of 1. 
t/test.t .. Dubious, test returned 1 (wstat 256, 0x100) 
Failed 1/1 subtests 

Test Summary Report 
------------------- 
t/test.t (Wstat: 256 Tests: 1 Failed: 1) 
    Failed test: 1 
    Non-zero exit status: 1 
Files=1, Tests=1, 0 wallclock secs (0.02 usr + 0.00 sys = 0.02 CPU) 
Result: FAIL 
Failed 1/1 test programs. 1/1 subtests failed. 
dmake.exe: Error code 129, while making 'test_dynamic' 
    CWEST/Net-SMTP-SSL-1.01.tar.gz 
    C:\Perl\site\bin\dmake.exe test -- NOT OK 
//hint// to see the cpan-testers results for installing this module, try: 
    reports CWEST/Net-SMTP-SSL-1.01.tar.gz 
Running make install 
    make test had returned bad status, won't install without force 
Running make for L/LB/LBROCARD/Email-Send-Gmail-0.33.tar.gz 
    Has already been unwrapped into directory C:\Perl\cpan\build\Email-Send-Gmail- 
0.33-G8YCrU 

    CPAN.pm: Going to build L/LB/LBROCARD/Email-Send-Gmail-0.33.tar.gz 

Warning: Prerequisite 'Net::SMTP::SSL => 0' for 'LBROCARD/Email-Send-Gmail-0.33. 
tar.gz' failed when processing 'CWEST/Net-SMTP-SSL-1.01.tar.gz' with 'make_test 
=> NO'. Continuing, but chances to succeed are limited. 
cp lib/Email/Send/Gmail.pm blib\lib\Email\Send\Gmail.pm 
    LBROCARD/Email-Send-Gmail-0.33.tar.gz 
    C:\Perl\site\bin\dmake.exe -- OK 
Running make test 
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 
'blib\arch')" t/*.t 
t/pod.t .. skipped: Test::Pod 1.14 required for testing POD: Can't locate Test/P 
od.pm in @INC (@INC contains: C:\Perl\cpan\build\Email-Send-Gmail-0.33-G8YCrU\bl 
ib\lib C:\Perl\cpan\build\Email-Send-Gmail-0.33-G8YCrU\blib\arch C:/Perl/site/li 
b C:/Perl/lib) at (eval 4) line 2. 
Files=1, Tests=0, 0 wallclock secs (0.03 usr + 0.00 sys = 0.03 CPU) 
Result: NOTESTS 
    LBROCARD/Email-Send-Gmail-0.33.tar.gz 
Tests succeeded but one dependency not OK (Net::SMTP::SSL) 
    LBROCARD/Email-Send-Gmail-0.33.tar.gz 
    [dependencies] -- NA 
Running make install 
    make test had returned bad status, won't install without force 

J'ai essayé d'installer IO :: Socket SSL mais le j'ai aussi eu beaucoup d'erreurs

Toute idée de ce qui est faux? Merci pour l'aide. Lorsque je tente d'installer Net :: SMTP :: SSL Je reçois les erreurs suivantes:

Set up gcc environment - 3.4.5 (mingw-vista special r3) 
Cannot determine perl version info from lib/Net/SSLeay.pm 
Cannot determine license info from lib/Net/SSLeay.pm 
*** Could not find OpenSSL 
    If it's already installed, please set the OPENSSL_PREFIX environment 
    variable accordingly. If it isn't installed yet, get the latest version 
    from http://www.openssl.org/. 
Warning: No success on command[C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site 
] 
    FLORA/Net-SSLeay-1.35.tar.gz 
    C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site -- NOT OK 
Running make test 
    Make had some problems, won't test 
Running make install 
    Make had some problems, won't install 
Running make for S/SU/SULLR/IO-Socket-SSL-1.31.tar.gz 
    Has already been unwrapped into directory C:\Perl\cpan\build\IO-Socket-SSL-1.3 
1-q3PROh 

    CPAN.pm: Going to build S/SU/SULLR/IO-Socket-SSL-1.31.tar.gz 

Warning: Prerequisite 'Net::SSLeay => 1.21' for 'SULLR/IO-Socket-SSL-1.31.tar.gz 
' failed when processing 'FLORA/Net-SSLeay-1.35.tar.gz' with 'writemakefile => N 
O 'C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site' returned status 512'. Cont 
inuing, but chances to succeed are limited. 
cp SSL.pm blib\lib\IO\Socket\SSL.pm 
    SULLR/IO-Socket-SSL-1.31.tar.gz 
    C:\Perl\site\bin\dmake.exe -- OK 
Running make test 
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 
'blib\arch')" t/*.t 
t/01loadmodule.t ........... Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\bui 
ld\IO-Socket-SSL-1.31-q3PROh\blib\lib/IO/Socket/SSL.pm line 18. 
BEGIN failed--compilation aborted at C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PRO 
h\blib\lib/IO/Socket/SSL.pm line 18. 
Compilation failed in require at t/01loadmodule.t line 14. 
BEGIN failed--compilation aborted at t/01loadmodule.t line 14. 
t/01loadmodule.t ........... Dubious, test returned 2 (wstat 512, 0x200) 
Failed 4/4 subtests 
t/02settings.t ............. Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\bui 
ld\IO-Socket-SSL-1.31-q3PROh\blib\lib/IO/Socket/SSL.pm line 18. 
BEGIN failed--compilation aborted at C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PRO 
h\blib\lib/IO/Socket/SSL.pm line 18. 
Compilation failed in require at t/02settings.t line 4. 
BEGIN failed--compilation aborted at t/02settings.t line 4. 
t/02settings.t ............. Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/acceptSSL-timeout.t ...... Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\bui 
ld\IO-Socket-SSL-1.31-q3PROh\blib\lib/IO/Socket/SSL.pm line 18. 
BEGIN failed--compilation aborted at C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PRO 
h\blib\lib/IO/Socket/SSL.pm line 18. 
Compilation failed in require at t/acceptSSL-timeout.t line 3. 
BEGIN failed--compilation aborted at t/acceptSSL-timeout.t line 3. 
t/acceptSSL-timeout.t ...... Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/auto_verify_hostname.t ... Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/auto_verify_ho 
stname.t line 4. 
BEGIN failed--compilation aborted at t/auto_verify_hostname.t line 4. 
t/auto_verify_hostname.t ... Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/cert_no_file.t ........... Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/cert_no_file.t 
line 14. 
BEGIN failed--compilation aborted at t/cert_no_file.t line 14. 
t/cert_no_file.t ........... Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/compatibility.t .......... Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\bui 
ld\IO-Socket-SSL-1.31-q3PROh\blib\lib/IO/Socket/SSL.pm line 18. 
BEGIN failed--compilation aborted at C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PRO 
h\blib\lib/IO/Socket/SSL.pm line 18. 
Compilation failed in require at t/compatibility.t line 5. 
BEGIN failed--compilation aborted at t/compatibility.t line 5. 
t/compatibility.t .......... Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/connectSSL-timeout.t ..... no testlib at t/connectSSL-timeout.t line 3. 
t/connectSSL-timeout.t ..... Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/core.t ................... Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/core.t line 6. 

BEGIN failed--compilation aborted at t/core.t line 6. 
t/core.t ................... Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/dhe.t .................... Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/dhe.t line 11. 

BEGIN failed--compilation aborted at t/dhe.t line 11. 
t/dhe.t .................... Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/inet6.t .................. Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/inet6.t line 5 
. 
BEGIN failed--compilation aborted at t/inet6.t line 5. 
t/inet6.t .................. Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/memleak_bad_handshake.t .. Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/memleak_bad_ha 
ndshake.t line 6. 
BEGIN failed--compilation aborted at t/memleak_bad_handshake.t line 6. 
t/memleak_bad_handshake.t .. Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/nonblock.t ............... Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/nonblock.t lin 
e 6. 
BEGIN failed--compilation aborted at t/nonblock.t line 6. 
t/nonblock.t ............... Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/readline.t ............... Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/readline.t lin 
e 14. 
BEGIN failed--compilation aborted at t/readline.t line 14. 
t/readline.t ............... Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/sessions.t ............... Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/sessions.t lin 
e 5. 
BEGIN failed--compilation aborted at t/sessions.t line 5. 
t/sessions.t ............... Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/start-stopssl.t .......... Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\bui 
ld\IO-Socket-SSL-1.31-q3PROh\blib\lib/IO/Socket/SSL.pm line 18. 
BEGIN failed--compilation aborted at C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PRO 
h\blib\lib/IO/Socket/SSL.pm line 18. 
Compilation failed in require at t/start-stopssl.t line 4. 
BEGIN failed--compilation aborted at t/start-stopssl.t line 4. 
t/start-stopssl.t .......... Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/startssl.t ............... Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/startssl.t lin 
e 6. 
BEGIN failed--compilation aborted at t/startssl.t line 6. 
t/startssl.t ............... Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/sysread_write.t .......... Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/sysread_write. 
t line 9. 
BEGIN failed--compilation aborted at t/sysread_write.t line 9. 
t/sysread_write.t .......... Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 
t/verify_hostname.t ........ Can't locate Net/SSLeay.pm in @INC (@INC contains: 
C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock 
et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/verify_hostnam 
e.t line 4. 
BEGIN failed--compilation aborted at t/verify_hostname.t line 4. 
t/verify_hostname.t ........ Dubious, test returned 2 (wstat 512, 0x200) 
No subtests run 

Test Summary Report 
------------------- 
t/01loadmodule.t   (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: Bad plan. You planned 4 tests but ran 0. 
t/02settings.t   (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/acceptSSL-timeout.t (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/auto_verify_hostname.t (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/cert_no_file.t   (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/compatibility.t  (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/connectSSL-timeout.t (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/core.t     (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/dhe.t     (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/inet6.t    (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/memleak_bad_handshake.t (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/nonblock.t    (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/readline.t    (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/sessions.t    (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/start-stopssl.t  (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/startssl.t    (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/sysread_write.t  (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
t/verify_hostname.t  (Wstat: 512 Tests: 0 Failed: 0) 
    Non-zero exit status: 2 
    Parse errors: No plan found in TAP output 
Files=18, Tests=0, 0 wallclock secs (0.08 usr + 0.00 sys = 0.08 CPU) 
Result: FAIL 
Failed 18/18 test programs. 0/0 subtests failed. 
dmake.exe: Error code 130, while making 'test_dynamic' 
    SULLR/IO-Socket-SSL-1.31.tar.gz 
    C:\Perl\site\bin\dmake.exe test -- NOT OK 
//hint// to see the cpan-testers results for installing this module, try: 
    reports SULLR/IO-Socket-SSL-1.31.tar.gz 
Running make install 
    make test had returned bad status, won't install without force 
Running make for C/CW/CWEST/Net-SMTP-SSL-1.01.tar.gz 
    Has already been unwrapped into directory C:\Perl\cpan\build\Net-SMTP-SSL-1.01 
-Qu1Nlt 

    CPAN.pm: Going to build C/CW/CWEST/Net-SMTP-SSL-1.01.tar.gz 

Warning: Prerequisite 'IO::Socket::SSL => ' for 'CWEST/Net-SMTP-SSL-1.01.tar.gz' 
failed when processing 'SULLR/IO-Socket-SSL-1.31.tar.gz' with 'make_test => NO' 
. Continuing, but chances to succeed are limited. 
cp lib/Net/SMTP/SSL.pm blib\lib\Net\SMTP\SSL.pm 
    CWEST/Net-SMTP-SSL-1.01.tar.gz 
    C:\Perl\site\bin\dmake.exe -- OK 
Running make test 
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 
'blib\arch')" t/*.t 
t/test.t .. 
# Failed test 'use Net::SMTP::SSL;' 
t/test.t .. 1/1 # at t/test.t line 2. 
#  Tried to use 'Net::SMTP::SSL'. 
#  Error: Can't locate IO/Socket/SSL.pm in @INC (@INC contains: C:\Perl\cpan 
\build\Net-SMTP-SSL-1.01-Qu1Nlt\blib\lib C:\Perl\cpan\build\Net-SMTP-SSL-1.01-Qu 
1Nlt\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\build\Net-SMTP-SS 
L-1.01-Qu1Nlt\blib\lib/Net/SMTP/SSL.pm line 8. 
# BEGIN failed--compilation aborted at C:\Perl\cpan\build\Net-SMTP-SSL-1.01-Qu1N 
lt\blib\lib/Net/SMTP/SSL.pm line 8. 
# Compilation failed in require at (eval 4) line 2. 
# BEGIN failed--compilation aborted at (eval 4) line 2. 
# Looks like you failed 1 test of 1. 
t/test.t .. Dubious, test returned 1 (wstat 256, 0x100) 
Failed 1/1 subtests 

Test Summary Report 
------------------- 
t/test.t (Wstat: 256 Tests: 1 Failed: 1) 
    Failed test: 1 
    Non-zero exit status: 1 
Files=1, Tests=1, 0 wallclock secs (0.02 usr + 0.00 sys = 0.02 CPU) 
Result: FAIL 
Failed 1/1 test programs. 1/1 subtests failed. 
dmake.exe: Error code 129, while making 'test_dynamic' 
    CWEST/Net-SMTP-SSL-1.01.tar.gz 
    C:\Perl\site\bin\dmake.exe test -- NOT OK 
//hint// to see the cpan-testers results for installing this module, try: 
    reports CWEST/Net-SMTP-SSL-1.01.tar.gz 
Running make install 
    make test had returned bad status, won't install without force 

Désolé que je colle pas code juste ne pourrais pas réussi à le faire.

J'imtalled maintenant, mais je suis toujours à obtenir des erreurs

Warning: Prerequisite 'IO::Socket::SSL => ' for 'CWEST/Net-SMTP-SSL-1.01.tar.gz' 
failed when processing 'SULLR/IO-Socket-SSL-1.31.tar.gz' with 'make_test => NO' 
. Continuing, but chances to succeed are limited. 
cp lib/Net/SMTP/SSL.pm blib\lib\Net\SMTP\SSL.pm 
    CWEST/Net-SMTP-SSL-1.01.tar.gz 
    C:\Perl\site\bin\dmake.exe -- OK 
Running make test 
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 
'blib\arch')" t/*.t 
t/test.t .. 
# Failed test 'use Net::SMTP::SSL;' 
t/test.t .. 1/1 # at t/test.t line 2. 
#  Tried to use 'Net::SMTP::SSL'. 
#  Error: Can't locate IO/Socket/SSL.pm in @INC (@INC contains: C:\Perl\cpan 
\build\Net-SMTP-SSL-1.01-94zxyS\blib\lib C:\Perl\cpan\build\Net-SMTP-SSL-1.01-94 
zxyS\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\build\Net-SMTP-SS 
L-1.01-94zxyS\blib\lib/Net/SMTP/SSL.pm line 8. 
# BEGIN failed--compilation aborted at C:\Perl\cpan\build\Net-SMTP-SSL-1.01-94zx 
yS\blib\lib/Net/SMTP/SSL.pm line 8. 
# Compilation failed in require at (eval 4) line 2. 
# BEGIN failed--compilation aborted at (eval 4) line 2. 
# Looks like you failed 1 test of 1. 
t/test.t .. Dubious, test returned 1 (wstat 256, 0x100) 
Failed 1/1 subtests 

Test Summary Report 
------------------- 
t/test.t (Wstat: 256 Tests: 1 Failed: 1) 
    Failed test: 1 
    Non-zero exit status: 1 
Files=1, Tests=1, 0 wallclock secs (0.02 usr + 0.00 sys = 0.02 CPU) 
Result: FAIL 
Failed 1/1 test programs. 1/1 subtests failed. 
dmake.exe: Error code 129, while making 'test_dynamic' 
    CWEST/Net-SMTP-SSL-1.01.tar.gz 
    C:\Perl\site\bin\dmake.exe test -- NOT OK 
//hint// to see the cpan-testers results for installing this module, try: 
    reports CWEST/Net-SMTP-SSL-1.01.tar.gz 
Running make install 
    make test had returned bad status, won't install without force 

Comment coller le code comme un code? Désolé je le colle à nouveau mauvais.

+0

On dirait que vous devez installer OpenSSL, voir openssl.org. – zoul

+0

Si vous voulez faire quelque chose qui ressemble à du code, sélectionnez le bloc entier et appuyez sur Ctrl-K. – Geo

Répondre

6

Je suppose que vous utilisez ActivePerl 5.8.8. Add trouchelle.com repository. Do

ppm install IO-Socket-SSL 

Cela peut également fonctionner pour la version 5.10. Liste des autres dépôts est disponible here et si vous ppm est assez frais dans "Options".

+0

+1 car l'ajout du référentiel trouchelle.com est probablement ce que l'OP doit savoir. – Mike

+0

Ok ça a finalement marché. Merci pour l'aide . –

1

J'ai rencontré exactement les mêmes problèmes avec Email :: Send :: Gmail. Je voulais configurer un script simple pour que mon serveur m'envoie un mail au démarrage/arrêt. J'ai d'abord choisi Email :: Send :: Gmail parce que perl était déjà installé sur le serveur, mais j'ai rencontré l'enfer de dépendance que vous décrivez (auquel je n'ai pas trouvé de solution facile, je devais installer différents modules un par un pas trouvé un moyen simple de rendre cette procédure d'installation reproductible, ce qui était une de mes exigences).

J'ai terminé en utilisant sSMTP à la place. J'ai suivi ce tutoriel expliquant le how to install and configure it for use with a GMail account.

+0

En utilisant 'PAR :: Packer', vos problèmes de dépendance ne disparaîtraient-ils pas? – Geo

+0

Il y a des PPM disponibles: voir http://cpan.uwinnipeg.ca/search?query=Email%3A%3ASend%3A%3AGmail&mode=module – ysth

+0

Je ne sais pas PAR: PAcker. Mon serveur fonctionne sous Ubuntu et je suis habitué à utiliser apt-get pour installer le logiciel. J'ai trouvé assez difficile d'installer des modules Perl d'un autre côté. –

3

Comment essayez-vous d'installer ceci? Il semble que vous essayez de le faire à la main, ce qui signifie que vous devez gérer vous-même toutes les dépendances. Il semble que vous utilisez ActiveState, utilisez l'outil ppm pour cela (voir the ppm FAQ). Gmail utilise un canal sécurisé pour la messagerie. Vous avez donc besoin de SSL. C'est une ligne modérément longue de dépendances qui renvoie à une bibliothèque non-Perl. En tant que tel, ce n'est pas quelque chose que vous voulez faire à la main. Encore une fois, laissez l'outil ppm le faire pour vous.

Vous pouvez voir la chaîne de Net :: SMTP :: SSL et IO :: Socket :: SSL. Vous aurez également besoin de Crypt::SSLeay qui a besoin de la bibliothèque OpenSSL.

Si vous avez des problèmes avec ppm, poster une autre question et nous dit la version de ActivePerl que vous utilisez, etc., et montrez-nous votre fichier de configuration ppm.

Si vous ne vous souciez pas particulièrement d'ActivePerl, vous pouvez également utiliser Strawberry Perl, ce qui vous permet d'utiliser la chaîne d'outils CPAN commune. Il est livré avec un compilateur C et les autres outils de support.Vous devez toujours installer OpenSSL, mais après cela, il est juste un appel à cpan:

% cpan IO::Socket::SSL 

Notez que vous ne pouvez pas mélanger nécessairement ActivePerl et Strawberry Perl bibliothèques compilées. Ils peuvent utiliser des compilateurs C différents et ces binaires peuvent avoir des structures et des exigences différentes. Voir les commentaires pour plus de détails et faites attention au compilateur que vous utilisez.

+0

Il est possible de mélanger des compilateurs. 'ppm install gcc' installe gcc pour ActivePerl :) –

+0

Cela ne fait toujours pas interopérer les bibliothèques compilées avec des compilateurs différents, n'est-ce pas? –

+0

@brian d foy: si le gcc en question est mingw, il utilise le runtime C visuel et joue donc bien avec les compilations activestate. une bibliothèque compilée par cygwin, d'autre part, tirera dans l'exécution de cygwin C (etc) et ne fonctionnera pas de manière fiable lorsqu'elle est liée à des choses non-cygwin. – ysth

Questions connexes