----- Original Message ----- 
From: "Irmawaty Nugroh Nugroho" <[EMAIL PROTECTED]>
To: <perl-win32-users@listserv.ActiveState.com>
Sent: Saturday, July 30, 2005 4:55 AM
Subject: unable to download Crypt-SSLeay


> I am trying to download Crypt-SSLeay to support https URLs so I won't get
error like 501 Protocol Scheme 'https' is not supported.
>
> I encountered the following error :
> "Failed to download http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd :
500 Server closed connection "
>
> When I tried to do this
> ppm> install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd
>
> My hunch this is something to do with my proxy based on my previous
experience with LWP when it encountered 500 Server closed connection.
> If so, how can I specify my proxy host on the prompt?
>
> I also tried to go CPAN website but the page for Crypt list can't be
found.
>
> Please help, thanks in advanced.
>

Just browse to http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd . That
will give you the ppd file (though you might have to view the html source
for that page to see it). It looks like:

<SOFTPKG NAME="Crypt-SSLeay" VERSION="0,51,0,0">
 <TITLE>Crypt-SSLeay</TITLE>
 <ABSTRACT>OpenSSL glue that provides LWP https support</ABSTRACT>
 <AUTHOR>Joshua Chamas &lt;josh (at) chamas dot com&gt;</AUTHOR>
 <IMPLEMENTATION>
  <OS NAME="MSWin32" />
  <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" />
  <CODEBASE HREF="http://theoryx5.uwinnipeg.ca/ppms/x86/Crypt-SSLeay.tar.gz";
/>
  <INSTALL EXEC="PPM_PERL"
HREF="http://theoryx5.uwinnipeg.ca/ppms/scripts/install_ssl";>install_ssl</IN
STALL>
 </IMPLEMENTATION>
</SOFTPKG>

Save that file as Crypt-SSLeay.ppd. Download
http://theoryx5.uwinnipeg.ca/ppms/x86/Crypt-SSLeay.tar.gz (that's the file
quoted in the CODEBASE HREF section of Crypt-SSLeay.ppd) and save it in the
same folder that contains your  Crypt-SSLeay.ppd. Then cd to that folder.
Then change the CODEBASE HREF line in your Crypt-SSLeay.ppd so it reads:

<CODEBASE HREF="Crypt-SSLeay.tar.gz" />

That INSTALL EXEC line is all about installing the OpenSSL dll's. I'm not
sure what effect that will have. Probably safest to remove that line
entirely. If you need the dll's (and you probably do) just grab them from
the uwinnipeg website and place them in a folder that's in your path.

You can grab the dll's from:
http://theoryx5.uwinnipeg.ca/ppms/scripts/ssleay32.dll
and
http://theoryx5.uwinnipeg.ca/ppms/scripts/libeay32.dll

Then try a "local install" by running:
ppm install Crypt-SSLeay.ppd

Cheers,
Rob

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to