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

I am trying to install mcrypt for perl but it gives me this error:
PPM interactive shell (2.1.5) - type 'help' for available commands. PPM> install MCrypt Install package 'MCrypt?' (y/N): y Installing package 'MCrypt'... Error installing package 'MCrypt': Read a PPD for 'MCrypt', but it is +not intend ed for this build of Perl (MSWin32-x86-multi-thread)
Does anyone know how to fix this, I have a version 5 of perl and I recon that that is the problem. So I might need a mcrypt module that works on version 5. I have also tried the CPAN module install and I get the same error in Windows and Linux (Suse 9.2)

Janitored by Arunbear - added code tags, as per Monastery guidelines

Replies are listed 'Best First'.
Re: Mcrypt Problem
by northwind (Hermit) on Apr 27, 2005 at 06:07 UTC

    Disclaimer: This may or may not help you...

    Error installing package 'MCrypt': Read a PPD for 'MCrypt', but it is not intended for this build of Perl (MSWin32-x86-multi-thread)

    Looking at the last line of output, it looks like the module creator is not supporting MCrypt on the Win32 platform (probably due to a lack of libraries for their XS code to hook into).  Are you sure you get exactly the same output under Linux?  FWIW, this module installs fine under 5.8.3

Re: Mcrypt Problem
by holli (Abbot) on Apr 27, 2005 at 06:42 UTC
    Perl 5.6 and Perl 5.8 are not binary compatible. That means when you have 5.6 and you try install a module that was build for 5.8 it won't work. You have to find a proper built.

    See A guide to installing modules for Win32 for more details.


    holli, /regexed monk/