in reply to Re: Crypt::DES on windows
in thread Crypt::DES on windows

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

Replies are listed 'Best First'.
Re^3: Crypt::DES on windows
by randyk (Parson) on Oct 13, 2005 at 15:39 UTC

    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.