perleager has asked for the wisdom of the Perl Monks concerning the following question:

Hey all,

ahhh...so here I am, all ready to go and prepared for a couple of hours to program my Paypal validation script using Business::Paypal::IPN. Nevertheless, when trying to install using ActiveState PPM, it gives me a error saying "Error: 'Crypt-SSLeay' not found. Please 'Search' for it first." And so I tried searching for it on PPM, and just my luck it has no results (hate how PPM can be so outdated ;( ).

So I sit and think about what I can do to get this done. I have two options, manually program the validation script instead of using the module -or- try using CPAN.pm to install Cyrpt::SSLeay.

When trying to use CPAN.pm on Windows, its hectic. I can't seem to get this working at alllll. When trying to configure CPAN.pm, im basically clueless. I tried looking for referrences to help me through this horrid step and I come to the page http://perlmonks.thepen.com/14036.html. As so it turns out, I read this part on the page:

RE: RE: My Favorite Module: CPAN by Nodecam on May 25, 2000 at 14:07 GMT+8 Yup, unfortunately it doesn't work exactly like that on Windows. If I +could figure it out, I'd tell you all the differences, but unfortunat +ely I can't get it to do anything :( Anyone have any tips for a novic +e? Nodecam [reply] RE: RE: RE: My Favorite Module: CPAN by splinky on Jul 05, 2000 at 14:23 GMT+8 AFAIK, CPAN.pm doesn't work under windows, at least for modules with X +SUB components. That's why ActiveState gives you ppm (Perl Package Ma +nager). *Woof*


One question came to my head right away after reading this-Is it really true you can't use the CPAN shell on windows? To me, I just couldn't think that was true and that there has to be a way to use it on Windows, and afterall it has to be my configuring skills that made CPAN.pm not working for me in the first place.

With this confusion, I decided just to forget about CPAN.pm and maybe install Crypt::SSLeay manually. But then again I do not even have a make on my windows, and I'm pretty sure this module needs to be compiled. http://search.cpan.org/~chamas/Crypt-SSLeay-0.51/MANIFEST - Or am I wrong about this since the tar file does not include any .c or .h files??

After a hour and a half of reading and trying to find my way to install these two modules, I give up. I know I can try installing it manually, but being me, I never had ANY LUCK installing any modules manually. So I might as well try to program the paypal validation script manually. But then again going through these problems to install modules will help me in the long run...so I may just sit here for another hour or two to get what I wanted to get accomplished in the first place. In reality, If I just decided to embrace on fixing up the paypal validation code manually instead of having the module do it for me, it probably would have taken the same amount of time.

If anyone has any useful referrence to configure CPAN.pm (that is if it works on Windows) or to bypass the error Active state gives me when trying to install the Business::Paypal::IPN module. Basically the module requires CRYPT::SSLeay for the LWP to connect to Paypals secure server, but if I can bypass this part, I can just change the https to http. Basically if I have no luck in carrying out these two simple installs of modules, I'm just going to forget about it and fix up the paypal validation code manually. =)



Thanks,
Anthony

Replies are listed 'Best First'.
Re: Windows module problem
by PodMaster (Abbot) on Apr 08, 2004 at 05:44 UTC

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

    update: In case that's too vague, just read the README, add some repositories to your ppm config, find what you're looking for.

      Thank you very much.

      It's really sad how I didn't know that ActiveState ppm can add different repositories.

      I read your ReadMe which helped me a lot. I ended up adding 6 or 7 other repositories (for others that may come to this problem, click the ReadMe file and goto ActiveState faq to see how to add repositories), and I also did end up finding Crypt::SSLeay in my search results! :)

      But the problem now is that It can't build and gives me a error saying:

      " Error: no suitable installation target found for package Crypt-SSLeay. "

      I searched about this problem and its mainly due to the fact that the Crypt::SSLeay build is for 5.6 and not 5.8. I'm using ActivePerl 5.8 and PPM v3.1. Does anyone know how to overcome this problem? I also went to the Crypt::SSLeay readme and it says:

      Win32, WinNT, Win2000, can't build If you cannot get it to build on your windows box, try ActiveState per +l, at least their builds 522 & 618 are known to have a ppm install of + Crypt::SSLeay available. Please see http://www.activestate.com for m +ore info.

      I'm not sure what this really means but thought I might add it to give more of an idea?

      Thanks,
      Anthony
        ?

        Why don't you try `perldoc PPM::Repositories' and this time add repositories for your perl version.

        MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
        I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
        ** The third rule of perl club is a statement of fact: pod is sexy.

Re: Windows module problem
by disciple (Pilgrim) on Apr 08, 2004 at 15:09 UTC
    I downvoted you because you are using pre tags and messing up the display of Seekers of Perl Wisdom.
    Please check out Perl Monks Approved HTML tags.
      Did you know that <code> tags are converted to <pre><tt class="code">?

      This text is inside code tags for your source viewing pleasure.

        I did not know that, I just assumed the OP used them b/c that node is stretching my screen so I must scroll horizontally. My res is 1280x1024, so it is large enough to display correctly formatted posts. Something is messing up the display of this thread, but maybe it's not in any of the posts. I dunno.

      I downvoted your node for by the time you posted this (and I saw the original post), either the OP changed his/her node, or it was considered and cleaned up by the janitors. I downvote for content, not markup. If the markup is b0rked, I'll consider the node and/or inform the OP, something you could've done too.

      --
      b10m

      All code is usually tested, but rarely trusted.
        1. I can't consider bc I am at level 5, not 6. I could have privately notified the OP (and I might in the future)
        2. I am getting tired of people using pre tags. If they had read the FAQ's, they would know that pre messes up the formatting. Also, every time you post a message there is a link below the textarea for the approved html tags.
        3. You can use your votes however you want, and so can I.
        4. It is still not fixed in my browser. I checked the html output of the page, and the pre tag is still there. I am using Firebird 0.7 on Win2k.