Hello, I am trying to install Crypt::SSLeay and am having problems getting it to work. I had this running with Perl 5.8 and then upgraded my cygwin to 5.10 a month or so ago. Reinstalled openssl and that seemed to go fine. I have a self-signed certificate, that was newly generated. Crypt:SSLeay won't pass its tests. I don't have any idea what it wrong. Any help would be greatly appreciated. Les The output of the CPAN install attempt is shown below: cpan[2]> clean Crypt::SSLeay CPAN: Storable loaded ok (v2.18) Going to read '/home/Les/.cpan/Metadata' Database was generated on Mon, 01 Jun 2009 04:27:10 GMT CPAN: LWP::UserAgent loaded ok (v5.813) CPAN: Time::HiRes loaded ok (v1.9715) I would like to connect to one of the following sites to get 'authors/01mailrc.txt.gz': http://www.perl.org/CPAN/ ftp://ftp.perl.org/pub/CPAN/ Is it OK to try to connect to the Internet? [yes] Fetching with LWP: http://www.perl.org/CPAN/authors/01mailrc.txt.gz CPAN: YAML loaded ok (v0.66) Going to read '/home/Les/.cpan/sources/authors/01mailrc.txt.gz' Going to read 10 yaml files from /home/Les/.cpan/build/ ............................................................................ DONE Restored the state of 9 (in 0.8750 secs) ............................................................................ DONE Fetching with LWP: http://www.perl.org/CPAN/modules/02packages.details.txt.gz Going to read '/home/Les/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Wed, 03 Jun 2009 01:29:51 GMT ............................................................................ DONE Fetching with LWP: http://www.perl.org/CPAN/modules/03modlist.data.gz Going to read '/home/Les/.cpan/sources/modules/03modlist.data.gz' ............................................................................ DONE Going to write /home/Les/.cpan/Metadata Running clean for module 'Crypt::SSLeay' Running make clean rm -f \ *.a core \ SSLeay.c core.[0-9] \ blib/arch/auto/Crypt/SSLeay/extralibs.all core.[0-9][0-9] \ SSLeay.bso pm_to_blib.ts \ core.[0-9][0-9][0-9][0-9] SSLeay.x \ SSLeay.bs perl.exe \ tmon.out *.o \ pm_to_blib blib/arch/auto/Crypt/SSLeay/extralibs.ld \ blibdirs.ts core.[0-9][0-9][0-9][0-9][0-9] \ *perl.core core.*perl.*.? \ Makefile.aperl perl \ SSLeay.def core.[0-9][0-9][0-9] \ mon.out libSSLeay.def \ perlmain.c perl.exe \ so_locations SSLeay.exp rm -rf \ test.config crypt_ssleay_version.h \ blib mv Makefile Makefile.old > /dev/null 2>&1 DLAND/Crypt-SSLeay-0.57.tar.gz /usr/bin/make clean -- OK cpan[3]> install Crypt::SSLeay Running install for module 'Crypt::SSLeay' Running make for D/DL/DLAND/Crypt-SSLeay-0.57.tar.gz CPAN.pm: Going to build D/DL/DLAND/Crypt-SSLeay-0.57.tar.gz Found multiple possibilities for OpenSSL /usr (OpenSSL 0.9.8) /usr/local/ssl (OpenSSL 0.9.8) Which SSL install path do you want to use? [/usr] BUILD INFORMATION ================================================ ssl library: OpenSSL 0.9.8 in /usr ssl header: openssl/ssl.h libraries: -L/usr/lib -lssl -lcrypto -lgcc include dir: -I/usr/include/openssl ================================================ Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgcc 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.pm cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm /usr/bin/perl5.10.0.exe /usr/lib/perl5/5.10/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.10/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c gcc -c -I/usr/include/openssl -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"0.57\" -DXS_VERSION=\"0.57\" " -I/usr/lib/perl5/5.10/i686-cygwin/CORE" SSLeay.c rm -f blib/arch/auto/Crypt/SSLeay/SSLeay.dll g++ --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib SSLeay.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.dll \ /usr/lib/perl5/5.10/i686-cygwin/CORE/libperl.dll.a -L/usr/lib -lssl -lcrypto \ chmod 755 blib/arch/auto/Crypt/SSLeay/SSLeay.dll test -s SSLeay.bs && cp SSLeay.bs blib/arch/auto/Crypt/SSLeay/SSLeay.bs && \ chmod 644 blib/arch/auto/Crypt/SSLeay/SSLeay.bs make: [blib/arch/auto/Crypt/SSLeay/SSLeay.dll] Error 1 (ignored) DLAND/Crypt-SSLeay-0.57.tar.gz /usr/bin/make -- OK Running make test /usr/bin/perl5.10.0.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-basic........ok t/01-connect......1/8 # Failed test 'Net::SSL->new' # at t/01-connect.t line 25. # SSL negotiation failed: at t/01-connect.t line 11 # at t/01-connect.t line 11 # ; at t/01-connect.t line 11 # ; at t/01-connect.t line 11 # ; 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 cygwin # ssl OpenSSL 0.9.8 in /usr # lib -L/usr/lib -lssl -lcrypto -lgcc # inc -I/usr/include/openssl # cc gcc t/02-live.........ok Test Summary Report ------------------- t/01-connect.t (Wstat: 256 Tests: 8 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=3, Tests=24, 7 wallclock secs ( 0.06 usr 0.05 sys + 2.29 cusr 0.97 csys = 3.37 CPU) Result: FAIL Failed 1/3 test programs. 1/24 subtests failed. make: *** [test_dynamic] Error 255 DLAND/Crypt-SSLeay-0.57.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports DLAND/Crypt-SSLeay-0.57.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: DLAND/Crypt-SSLeay-0.57.tar.gz : make_test NO cpan[4]>