Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: ActiveState Perl 10.x and Crypt::SSLeay not installed errors on Windows 2003

by grinder (Bishop)
on Mar 28, 2008 at 22:27 UTC ( [id://677135]=note: print w/replies, xml ) Need Help??


in reply to ActiveState Perl 10.x and Crypt::SSLeay not installed errors on Windows 2003

Hi, I'm the maintainer for Crypt::SSLeay. Did you read the following part of the documentation?

For Activestate users, the ActiveState company does not have a permit from the Canadian Federal Government to distribute cryptographic software. This prevents Crypt::SSLeay from being distributed as a PPM package from their repository. See http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/faq/ActivePerl-faq2.html#crypto_packages for more information on this issue.

You may download it from Randy Kobes's PPM repository by using the following command:

ppm install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd

An alternative is to add the uwinnipeg.ca PPM repository to your local installation. See http://cpan.uwinnipeg.ca/htdocs/faqs/ppm.html for more details.

One other minor detail that many people seem to overlook, it's not actually the module Crypt::SSLeay that is of interest to LWP, but rather the module Net::SSL, which is something that the Crypt-SSLeay distribution contains.

I must admit that I don't know, one way or the other, if you need to have the OpenSSL windows package installed or not. I have it installed anyway, because I test to ensure that the module works with Strawberry Perl. I'll have to remember to de-install OpenSSL at some point on my Windows box and see if Net::SSL works afterwards.

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

  • Comment on Re: ActiveState Perl 10.x and Crypt::SSLeay not installed errors on Windows 2003

Replies are listed 'Best First'.
Re^2: ActiveState Perl 10.x and Crypt::SSLeay not installed errors on Windows 2003
by BrowserUk (Patriarch) on Mar 28, 2008 at 23:27 UTC

    You may download it from Randy Kobes's PPM repository by using the following command:

    ppm install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd

    There's a minor problem with that. The ppd by that url contains:

    OpenSSL glue that provides LWP https support Joshua Chamas <josh (at) +chamas dot com> install_ssl

    which means that ppm unsurprisingly reports:

    C:\Perl510\bin>ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/C +rypt-SSLeay.ppd ppm install failed: The PPD does not provide code to install for this +platform

    Googling turns up http://cpan.uwinnipeg.ca/PPMPackages/10xx/Crypt-SSLeay.ppd with equally useless contents.

    Looking further, I found this page(*) which has this link which list another link under the heading "Win32 PPM packages for "Crypt-SSLeay"" uwinnipeg Perl 5.10 repository 0.57 which takes you back to the link(*) above :(


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      Not to be an **s but why is this so difficult? I mean I installed 20 other packages without a hitch. Heck I even remembered how to build openssl using a less than friendly VC++ environment. This is just so painful for such a simple thing. But then again if I wish I were a bit more clever to figure this out:L(

        Since you've asked, here is a console log from how I got things to work.

        It is just easier to do thing manually (Note:many of the commands are wrapped for posting):

        C:\Perl510\packages\Crypt-SSLeay-0.57>del *.obj *.dll C:\Perl510\packages\Crypt-SSLeay-0.57> cl -MT -LD -I c:\perl510\lib\CORE\ -I c:\openssl\include\ -DWIN32 SSLe +ay.c ssleay.def perl510.lib libeay32mt.lib ssleay32mt.lib -link -LIBPATH:c:\cl\lib\ -LIBPATH:c:\perl510\lib\CORE\ -LIBPATH:c:\OpenSSL\lib\vc\ Microsoft (R) 32-bit C/C++ Standard Compiler Version 13.00.9466 for 80 +x86 Copyright (C) Microsoft Corporation 1984-2001. All rights reserved. SSLeay.c Microsoft (R) Incremental Linker Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. /out:SSLeay.dll /dll /implib:SSLeay.lib -LIBPATH:c:\cl\lib\ -LIBPATH:c:\perl510\lib\CORE\ -LIBPATH:c:\OpenSSL\lib\vc\ /def:ssleay.def SSLeay.obj perl510.lib libeay32mt.lib ssleay32mt.lib Creating library SSLeay.lib and object SSLeay.exp C:\Perl510\packages\Crypt-SSLeay-0.57> md \perl510\site\lib\auto\Crypt\SSLeay C:\Perl510\packages\Crypt-SSLeay-0.57> copy SSLeay.dll \perl510\site\lib\auto\Crypt\SSLeay 1 file(s) copied. C:\Perl510\packages\Crypt-SSLeay-0.57> md \perl510\site\lib\Crypt C:\Perl510\packages\Crypt-SSLeay-0.57> copy SSLeay.pm \perl510\site\lib\Crypt 1 file(s) copied. C:\Perl510\packages\Crypt-SSLeay-0.57> xcopy /s lib \Perl510\site lib\Crypt\SSLeay\Conn.pm lib\Crypt\SSLeay\CTX.pm lib\Crypt\SSLeay\Err.pm lib\Crypt\SSLeay\MainContext.pm lib\Crypt\SSLeay\X509.pm lib\Net\SSL.pm 6 File(s) copied C:\Perl510\packages\Crypt-SSLeay-0.57> \Perl510\bin\perl5.10.0.exe -MCrypt::SSLeay -wle"print $Crypt::SSLeay: +:VERSION" 0.57

        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.
Re^2: ActiveState Perl 10.x and Crypt::SSLeay not installed errors on Windows 2003
by yeah (Novice) on Mar 28, 2008 at 23:19 UTC
    I am running version 5.10 and according to the U Winnipeg site the link is 10.x specific - http://cpan.uwinnipeg.ca/PPMPackages/10xx/package.xml . Also I tried using your link earlier and got:
    ppm install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd ppm install failed: The PPD does not provide code to install for this +platform
Re^2: ActiveState Perl 10.x and Crypt::SSLeay not installed errors on Windows 2003
by yeah (Novice) on Mar 28, 2008 at 23:09 UTC
    I installed from that link using ppm to no avail

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-25 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found