Hey:

I'm trying to get Crypt::SSLeay installed on Strawberry perl 5.10.1. It seems to compile ok, but then fails a test. I've tried installing from CPAN, and installing a previous version (cause I swear I got this to work without any trouble). Is this something I can ignore? Take a look:

cpan> install Crypt::SSLeay Running install for module 'Crypt::SSLeay' Running make for N/NA/NANIS/Crypt-SSLeay-0.58.tar.gz CPAN.pm: Going to build N/NA/NANIS/Crypt-SSLeay-0.58.tar.gz ======================================================= Only one OpenSSL installation found at C:\strawberry\c Consider running 'perl Makefile.PL --default' the next time Crypt::SSLeay is upgraded to select this directory automatically thereby avoiding the following prompt. ======================================================= Which SSL install path do you want to use? [C:\strawberry\c] Assuming MingW BUILD INFORMATION ================================================ ssl library: OpenSSL 0.9.8k in C:\strawberry\c ssl header: openssl/ssl.h libraries: -LC:\strawberry\c\lib -lssleay32 -llibeay32 include dir: -IC:\strawberry\c\include ================================================ Checking if your kit is complete... Looks good Writing Makefile for Crypt::SSLeay The test suite can attempt to connect to public servers to ensure that the code is working properly. If you are behind a strict firewall or have no network connectivity, these tests may fail (through no fault of the code). Do you want to run the live tests (y/N)? [N] y cp lib/Crypt/SSLeay/X509.pm blib\lib\Crypt\SSLeay\X509.pm cp lib/Net/SSL.pm blib\lib\Net\SSL.pm cp SSLeay.pm blib\lib\Crypt\SSLeay.pm cp lib/Crypt/SSLeay/Conn.pm blib\lib\Crypt\SSLeay\Conn.pm cp lib/Crypt/SSLeay/CTX.pm blib\lib\Crypt\SSLeay\CTX.pm cp lib/Crypt/SSLeay/MainContext.pm blib\lib\Crypt\SSLeay\MainContext.p +m cp lib/Crypt/SSLeay/Err.pm blib\lib\Crypt\SSLeay\Err.pm C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp + -typemap C:\strawberry\perl\lib\ExtUtils\typemap -typemap typemap SSLeay.xs > + SSLeay.xs c && C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- SS +Leay.xsc S SLeay.c gcc -c -IC:\strawberry\c\include -s -O2 -DWIN32 -DHAVE_DES_FCRY +PT -DUSE_S ITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-a +liasing -D PERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.58\" -DXS_VERSION=\ +"0.58\" " -IC:\strawberry\perl\lib\CORE" SSLeay.c Running Mkbootstrap for Crypt::SSLeay () C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 +SSLeay.bs C:\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Crypt::SSLeay\", 'DLBASE' => 'SSLeay', ' +DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" dlltool --def SSLeay.def --output-exp dll.exp g++ -o blib\arch\auto\Crypt\SSLeay\SSLeay.dll -Wl,--base-file -Wl,dll. +base -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" SSLeay.o - +Wl,--image -base,0x322a0000 C:\strawberry\perl\lib\CORE\libperl510.a C:\strawber +ry\c\lib\l ibssleay32.a C:\strawberry\c\lib\libeay32.a C:\strawberry\c\lib\libmol +dname.a C: \strawberry\c\lib\libkernel32.a C:\strawberry\c\lib\libuser32.a C:\str +awberry\c\ lib\libgdi32.a C:\strawberry\c\lib\libwinspool.a C:\strawberry\c\lib\l +ibcomdlg32 .a C:\strawberry\c\lib\libadvapi32.a C:\strawberry\c\lib\libshell32.a +C:\strawbe rry\c\lib\libole32.a C:\strawberry\c\lib\liboleaut32.a C:\strawberry\c +\lib\libne tapi32.a C:\strawberry\c\lib\libuuid.a C:\strawberry\c\lib\libws2_32.a + C:\strawb erry\c\lib\libmpr.a C:\strawberry\c\lib\libwinmm.a C:\strawberry\c\lib +\libversio n.a C:\strawberry\c\lib\libodbc32.a C:\strawberry\c\lib\libodbccp32.a +dll.exp dlltool --def SSLeay.def --base-file dll.base --output-exp dll.exp g++ -o blib\arch\auto\Crypt\SSLeay\SSLeay.dll -mdll -s -L"C:\strawberr +y\perl\lib \CORE" -L"C:\strawberry\c\lib" SSLeay.o -Wl,--image-base,0x322a0000 C +:\strawber ry\perl\lib\CORE\libperl510.a C:\strawberry\c\lib\libssleay32.a C:\str +awberry\c\ lib\libeay32.a C:\strawberry\c\lib\libmoldname.a C:\strawberry\c\lib\l +ibkernel32 .a C:\strawberry\c\lib\libuser32.a C:\strawberry\c\lib\libgdi32.a C:\s +trawberry\ c\lib\libwinspool.a C:\strawberry\c\lib\libcomdlg32.a C:\strawberry\c\ +lib\libadv api32.a C:\strawberry\c\lib\libshell32.a C:\strawberry\c\lib\libole32. +a C:\straw berry\c\lib\liboleaut32.a C:\strawberry\c\lib\libnetapi32.a C:\strawbe +rry\c\lib\ libuuid.a C:\strawberry\c\lib\libws2_32.a C:\strawberry\c\lib\libmpr.a + C:\strawb erry\c\lib\libwinmm.a C:\strawberry\c\lib\libversion.a C:\strawberry\c +\lib\libod bc32.a C:\strawberry\c\lib\libodbccp32.a dll.exp C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755 +blib\arch\ auto\Crypt\SSLeay\SSLeay.dll C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- SSLeay. +bs blib\ar ch\auto\Crypt\SSLeay\SSLeay.bs C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 +blib\arch\ auto\Crypt\SSLeay\SSLeay.bs NANIS/Crypt-SSLeay-0.58.tar.gz C:\strawberry\c\bin\dmake.EXE -- OK Running make test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib\lib', 'blib\arch')" t/*.t t/00-basic.t .... ok t/01-connect.t .. 1/8 # Failed test 'socket is now non-blocking' # at t/01-connect.t line 64. # got: '' # expected: '0' # Looks like you failed 1 test of 8. t/01-connect.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/8 subtests t/02-live.t ..... 1/4 # config on MSWin32 # ssl OpenSSL 0.9.8k in C:\strawberry\c; # lib -LC:\strawberry\c\lib -lssleay32 -llibeay32 # inc -IC:\strawberry\c\include # cc gcc t/02-live.t ..... ok Test Summary Report ------------------- t/01-connect.t (Wstat: 256 Tests: 8 Failed: 1) Failed test: 8 Non-zero exit status: 1 Files=3, Tests=24, 14 wallclock secs ( 0.06 usr + 0.03 sys = 0.09 CP +U) Result: FAIL Failed 1/3 test programs. 1/24 subtests failed. dmake.EXE: Error code 255, while making 'test_dynamic' NANIS/Crypt-SSLeay-0.58.tar.gz C:\strawberry\c\bin\dmake.EXE test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports NANIS/Crypt-SSLeay-0.58.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: NANIS/Crypt-SSLeay-0.58.tar.gz : make_test NO


In reply to Crypt::SSLeay fails tests on socket is now non-blocking with Strawberry CPAN by tobyteel

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.