http://qs321.pair.com?node_id=734402

fatmcgav has asked for the wisdom of the Perl Monks concerning the following question:

HI there,

I'm trying to install Crypt::SSLeay on a Windows XP SP3 32bit box with Strawberry Perl 5.10.0 installed.

However when it trys to run make test, it fails with teh following error:
Running make test D:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib\lib', 'blib\arch')" t/*.t t/00-basic......ok t/01-connect.... # Failed test 'Net::SSL->new' t/01-connect....1/8 # at t/01-connect.t line 25. # SSL negotiation failed: at t/01-connect.t line 11 # at t/01-connect.t line 11 # ; Unknown error at t/01-connect.t line 11 # ; Bad file descriptor at t/01-connect.t line 11 # ; Bad file descriptor at t/01-connect.t line 11 # Looks like you failed 1 test of 8. t/01-connect.... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/8 subtests (less 7 skipped subtests: 0 okay) t/02-live.......1/4 # config on MSWin32 # ssl OpenSSL 0.9.8 in d:\openssl # lib -Ld:\openssl\lib\MinGW -lssleay32 -llibeay32 # inc -Id:\openssl\include # cc gcc t/02-live.......ok


Any ideas how i'd get around this?

Cheers
Gavin

Edit: Updated to add error into original post for reference

Replies are listed 'Best First'.
Re: Unable to Install Crypt::SSLeay on XP
by grinder (Bishop) on Jan 06, 2009 at 13:12 UTC

    Is something already listening on port 443 on localhost? I've seen a number of failures with this in the past.

    The fact that 02-live passes without error (and that the build found your OpenSSL library) makes me think that you'll be fine doing a force install.

    • another intruder with the mooring in the heart of the Perl

      I cant see anything listening on 443...

      Also, I had to specify the location of my OpenSSL files...

      Next daft question then, how do i force install it?

      Cheers
      Gavin

        Easy, just:

          dmake install

        ... if running from the command-line (in the build directory), or 'force install' in the CPAN shell.

        • another intruder with the mooring in the heart of the Perl

Re: Unable to Install Crypt::SSLeay on XP
by Anonymous Monk on Jan 06, 2009 at 21:06 UTC
    Don't use pastebin, use <code> tags instead.