Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Net::SSLeay and Strawberry Perl

by luminosity (Initiate)
on Jan 25, 2008 at 20:23 UTC ( [id://664358]=note: print w/replies, xml ) Need Help??


in reply to Re: Net::SSLeay and Strawberry Perl
in thread Net::SSLeay and Strawberry Perl

I tried to do what you said, but the install still fails.

C:OpenSSL\lib\ now contains libeay32.a, libeay32.def, ssleay32.a, and ssleay32.def. I try to run the install command and get the following:

Cannot determine perl version info from lib/Net/SSLeay.pm Cannot determine license info from lib/Net/SSLeay.pm *** Found OpenSSL-0.9.8g installed in C:\OpenSSL *** Be sure to use the same compiler and options to compile your OpenS +SL, perl, and Net::SSLeay. Mixing and matching compilers is not supported. Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [y] + y *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... [Core Features] - Sub::Uplevel ...loaded. (0.18) - Test::Exception ...loaded. (0.26) - Array::Compare ...loaded. (1.14) - Tree::DAG_Node ...loaded. (1.06) - Test::Warn ...loaded. (0.10) - MIME::Base64 ...loaded. (3.07_01) *** Module::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for Net::SSLeay cp lib/Net/SSLeay.pm blib\lib\Net\SSLeay.pm AutoSplitting blib\lib\Net\SSLeay.pm (blib\lib\auto\Net\SSLeay) blib\lib\Net\SSLeay.pm: some names are not unique when truncated to 8 +characters ... C:\strawberry\perl\bin\perl.exe "-Iinc" C:\strawberry\perl\lib\ExtUtil +s\xsubpp -typemap C:\strawberry\perl\lib\ExtUtils\typemap -typemap typemap SSL +eay.xs > S SLeay.xsc && C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Comma +nd -e mv S SLeay.xsc SSLeay.c gcc -c -IC:\strawberry\c\include -s -O2 -DWIN32 -DHAVE_DES_FCRY +PT -DPERL_ IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCR +T_READFIX -s -O2 -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" "-IC:\strawberr +y\perl\lib \CORE" SSLeay.c
It then spews a bunch of errors again, and exits with the following:
dmake.EXE: Error code 129, while making 'SSLeay.o' FLORA/Net-SSLeay-1.32.tar.gz C:\strawberry\c\bin\dmake.EXE -- NOT OK
Is there some environment variable I need to modify or some other file I need to copy?

I appreciate the help.

Replies are listed 'Best First'.
Re^3: Net::SSLeay and Strawberry Perl
by ggvaidya (Pilgrim) on Feb 24, 2009 at 08:38 UTC

    I notice your gcc -c  -IC:\... line doesn't have the -IC:\OpenSSL\include needed to find OpenSSL's header files. Could that be the problem? Try running:

    C:\> SET INCLUDE_PATH=C:\OpenSSL\Include C:\> cpan install Net::SSLeay
    and see if that changes the error message.
      I just wanted to confirm that this does indeed work. It allowed me to install Net::SSLeay (1.35) successfully using Shining Light openSSL v0.9.8j and strawberry perl 5.10.0.4 (Windows XP SP3) (the OP never responded re. his/her success)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://664358]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-04-24 11:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found