in reply to Crypt::DES on windows

Compiling some of the modules can be a nightmare. Where did you get your compiler from?

Anyway, the Crypt-DES ppd does seem to be missing off ppm.activestate.com. However, you can install ppd's from any url directly, a quick google came up with the following link, WHICH YOU USE AT YOUR OWN RISK, sorry for the caps, but I've no idea if this is malicious.

# you can just install ppd like this... ppm install http://domain/a.ppd
Here's the dubious link... http://perlpack.webpub.net
---
my name's not Keith, and I'm not reasonable.

Replies are listed 'Best First'.
Re^2: Crypt::DES on windows
by karschsp (Initiate) on Oct 13, 2005 at 14:36 UTC
    Yeah, i had found another ppd for that module on another site, and got the same results as when i tried this one:

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

    So i downloaded the .ppd locally and edited the codebase href to point to my own webserver and then saved the ppd there.

    then ran (in ppm)

    install http://mywebserver/Crypt-DES.ppd

    and got the same error. so, what am i missing here? i have VC++...i guess i'll attempt to compile the modules.

    any other ideas are welcome! thanks for your help so far! steve

      The error about "no suitable installation target found" generally means that the ppm utility found a ppm package, but it doesn't correspond to your version of perl (Perl-5.6 and Perl-5.8 aren't binary compatible, which is important especially for packages like Crypt-DES that have an XS component that needs compiling). For example, the packages on the perlpack.webpub.net site have, in the ppd file, an architecture of MSWin32-x86-multi-thread, which corresponds to perl-5.6 (ActivePerl 6xx builds). Since you're using an ActivePerl 8xx build (perl-5.8), this doesn't match the associated architecture of MSWin32-x86-multi-thread-5.8.

      ActiveState removed many of their Crypt* ppm packages due to legal concerns. As noted elsewhere in this thread, some such packages are available in the uwinnipeg ActivePerl 8xx repository, including Crypt-DES.

      Having said that, if you have VC++, it would be worthwhile to set it up so that you can compile your own packages. However, if you're using ActivePerl, you should be using VC++ 6 (which is what ActivePerl is compiled with); if your version of VC++ isn't 6, you should probably compile Perl on your own and use that. The README.win32 file in the Perl sources discusses how to do this.