2009-11-22 4 views
3

메일 전송을 위해 해당 모듈을 설치하려고합니다.Email :: Send :: Gmail for ActivePerl은 어떻게 설치합니까?

그리고 나는 다음과 같은 오류가 점점 오전 :

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 
내가 IO :: 소켓 :: SSL을 설치하려고

뿐만 아니라 내가 오류

무엇이 잘못 어떤 생각을 많이가있어? 도와 주셔서 감사합니다. 나는 인터넷 :: SMTP :: SSL을 설치하려고하면 나는 다음과 같은 오류를 얻을 : 난 그냥 이렇게 관리 couldnt는 코드로하지 붙여

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 

죄송있다.

나는 지금 imtalled하지만 난 여전히 오류는 코드와 같은 코드를 붙여 어떻게

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 

는 무엇입니까? 죄송합니다. 다시 붙여 넣으세요.

+0

OpenSSL을 설치해야하는 것처럼 보입니다. openssl.org를 참조하십시오. – zoul

+0

코드처럼 보이게하려면 전체 블록을 선택하고 Ctrl-K를 누릅니다. – Geo

답변

6

나는 ActivePerl 5.8.8을 사용한다고 가정합니다. Add trouchelle.com repository. Do

ppm install IO-Socket-SSL 

버전 5.10에서도 작동 할 수 있습니다. 다른 저장소 목록은 here이고 ppm은 "옵션"에서 충분합니다.

+0

+1입니다. trouchelle.com 저장소를 추가하면 OP가 알아야 할 내용 일 가능성이 높습니다. – Mike

+0

좋아, 마침내 효과가있었습니다. 도와 주셔서 감사합니다 . –

1

이메일 :: 보내기 :: Gmail에서 똑같은 문제가 발생했습니다. 나는 시작/종료시에 내 서버로 메일을 보내도록 간단한 스크립트를 설정하고 싶었다. 필자는 처음에는 이메일 :: 보내기 :: Gmail을 선택했습니다. 펄은 이미 서버에 설치 되었기 때문에 당신이 설명하는 의존성 지옥을 만났습니다 (쉬운 해결책을 찾지 못했습니다. 즉, 하나씩 다른 모듈을 설치해야했습니다. 내 설치 요구 사항 중 하나 인이 설치 절차를 재현 할 수있는 간단한 방법을 찾지 못했습니다.

대신 sSMTP을 사용하여 종료되었습니다. 나는이 자습서를 따라 how to install and configure it for use with a GMail account을 설명했다.

+0

'PAR :: Packer'를 사용하면 의존성 문제가 사라지지 않을까요? – Geo

+0

사용할 수있는 PPM이 있습니다. http://cpan.uwinnipeg.ca/search?query=Email%3A%3ASend%3A%3AGmail&mode=module – ysth

+0

PAR : PAcker 잘 모르겠 음을 참조하십시오. 내 서버는 우분투를 실행하며 apt-get을 사용하여 소프트웨어를 설치하는 데 익숙합니다. 나는 다른 한편으로 펄 모듈을 설치하는 것이 아주 어렵다는 것을 알았다. –

3

어떻게 설치 하시겠습니까? 당신이 손으로 그것을하려고 노력하고있는 것처럼 보입니다. 이것은 당신이 모든 의존성을 스스로 처리해야한다는 것을 의미합니다. ActiveState를 사용하는 것처럼 보이므로 ppm 도구를 사용하면됩니다 (the ppm FAQ 참조).

C:/> ppm install IO::Socket::SSL 

Gmail은 메일에 보안 채널을 사용하므로 SSL이 필요합니다. 이것은 펄이 아닌 라이브러리로 돌아가는 중간 정도의 의존성 라인입니다. 따라서, 그것은 당신이 손으로하고 싶은 것이 아닙니다. 다시 말하지만, ppm 도구로 처리 할 수 ​​있습니다.

Net :: SMTP :: SSL 및 IO :: Socket :: SSL 체인을 볼 수 있습니다. OpenSSL 라이브러리가 필요한 Crypt::SSLeay도 필요합니다.

ppm에 문제가 있으면 다른 질문을 올리고 사용중인 ActivePerl의 버전 등을 알려주고 ppm 설정 파일을 보여주십시오.

ActivePerl에 대해 특히 신경 쓰지 않는 경우 Strawberry Perl을 사용하면 일반적인 CPAN 도구 체인을 사용할 수 있습니다. C 컴파일러 및 기타 지원 도구가 함께 제공됩니다.당신은 여전히 ​​OpenSSL을 설치해야하지만 그 후에는 cpan에 바로 전화 : 당신이 반드시 ActivePerl의 및 딸기 펄 컴파일 된 라이브러리를 혼합 할 수 없습니다

% cpan IO::Socket::SSL 

참고. 그들은 다른 C 컴파일러를 사용할 수 있으며 바이너리는 다른 구조와 요구 사항을 가질 수 있습니다. 자세한 내용은 주석을보고 어떤 컴파일러를 사용하는지주의하십시오.

+0

컴파일러를 혼합 할 수 있습니다. 'ppm install gcc' ActivePerl 용 gcc 설치 :) –

+0

그래도 다른 컴파일러로 컴파일 된 라이브러리가 상호 운용되지는 않습니까? –

+0

@brian d foy : 문제의 gcc가 mingw 인 경우 visual C 런타임을 사용하므로 activestate 컴파일로 훌륭하게 재생됩니다. Cygwin에서 컴파일 된 라이브러리는 cygwin C 런타임 (등)을 가져오고 non-cygwin과 연결된 경우 안정적으로 작동하지 않습니다. – ysth

관련 문제