Re: Gaa! UNIX hack tries PPM and fails!



On Aug 17, 3:36 am, Christian Winter <thepoet_nos...@xxxxxxxx> wrote:
[what may be the clearest and best reply I have ever seen in usenet!]

Wow, Chris - thanks for the great answer! That's exactly what I
needed to know, and your clear and excellent instructions made it very
easy for me to get this done. Now that I see the solution, I'm glad I
decided to post the question here - I would have NEVER figured that
out!

FWIW, for those who stumble upon this thread seeking the same thing -
installing the second module (Net::SSLeay) was similar but with one
gotcha. Here is the ppd file I hacked up to do it:

<?xml version="1.0" encoding="UTF-8"?>
<SOFTPKG NAME="Net_SSLeay.pm" VERSION="1,30,0,0">
<TITLE>Net_SSLeay.pm</TITLE>
<ABSTRACT>Perl extension for using OpenSSL</ABSTRACT>
<AUTHOR>Sampo Kellomaki</AUTHOR>
<IMPLEMENTATION>
<OS NAME="MSWin32"/>
<ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8"/>
<CODEBASE HREF="Net_SSLeay.pm.tar.gz"/>
<PROVIDE NAME="Net::SSLeay" VERSION="1.30"/>
</IMPLEMENTATION>
</SOFTPKG>

(indended for usenet readability, but don't have any leading spaces on
your first line)

The gotcha was from the original XML file
http://theoryx5.uwinnipeg.ca/ppms/Net_SSLeay.pm.ppd
The <AUTHOR> tagset in that file looks like this:
<AUTHOR>Sampo Kellomaki <sampo@xxxxxxxxxxx></AUTHOR>
(domain obfuscated as a courtesy to the author)

ppm wouldn't build (and the error message was not very instructive).
I think the '@' was the problem. Anyway, after much head-scratching
(and acting on a pure hunch) I removed the e-mail address from my .ppd
and it built just fine.

The tarball is here: http://theoryx5.uwinnipeg.ca/ppms/x86/Net_SSLeay.pm.tar.gz

If you have already copied the two .dll files per Chris' instructions
then you need only download the tarball and hack up the .ppm file to
be able to install Net::SSLeay with ppm.

Thanks again, Chris!


.



Relevant Pages