Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Here is the version I have:PPM> install Email-Find Install package 'Email-Find?' (y/N): y Installing package 'Email-Find'... Error installing package 'Email-Find': Read a PPD for 'Email-Find', bu +t it is no t intended for this build of Perl (MSWin32-x86-multi-thread)
Can anyone advise how I can not get this module????This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2001, Larry Wall Binary build 631 provided by ActiveState Tool Corp. http://www.ActiveS +tate.com Built 17:16:22 Jan 2 2002
|
---|
Replies are listed 'Best First'. | ||
---|---|---|
Re: Cant get a specific module.
by zaimoni (Beadle) on Jul 05, 2002 at 16:50 UTC | ||
Here's what I would do (did, to make this writeup): Sorry. Without the inferred C source code (*.xs file) for the extension module (or its definitive absence), it would be difficult to see why ActiveState didn't port Email::Valid. (The total divergence between UNIX and Win32 on network functions is a good guess.) Also, manual installation is a priori likely to break. (You're welcome to try, even if it looks like a Sisyphean task a priori. I do use ActivePerl as a Perl platform, and I'd be interested in knowing whether the manual install worked). If the C source code actually exists and is available, and you had access to MS VC++ 6.0 (or whatever ActiveState used for build 631), and the exact compiler options ActiveState used were correctly recorded in the Perl install, you might be able to compile the extension module for Email::Valid. | [reply] [d/l] [select] | |
Re: Cant get a specific module.
by crazyinsomniac (Prior) on Jul 06, 2002 at 12:19 UTC | ||
I have always found the following to work best, especially with the latest version of ppm (version 3) always ppm>search module then describe module then install module If there is a version compatible with your perl/platform, then it'll get installed. In this case, no such module available. Here is a session I just experienced using ppm3 So what did I do next? well I went to http://search.cpan.org and downloaded it, and installed it (I had all the prerequisited and such). Then, out of the goodness of my heart, I put all this stuff up on my PPM package repository. So if you do a ppm> rep add crazy http://crazyinsomniac.perlmonk.org/perl/ppm you can use ppm to get and install it. At my repository you can also find the following useful tidbit
| [reply] [d/l] [select] | |
Re: Cant get a specific module.
by hiseldl (Priest) on Jul 05, 2002 at 15:31 UTC | ||
It can be a bit of a pain to set up on a win32 box, but it can be a viable alternative to PPM when the repositories do not have the modules you need or they don't have the latest modules. If you need to build the modules you will have to have access to a compiler. GCC in the cygwin distribution should work, and it's free <http://www.cygwin.com/>. | [reply] [d/l] | |
Re: Cant get a specific module.
by rjray (Chaplain) on Jul 05, 2002 at 14:38 UTC | ||
My experience with Win32-based Perl is somewhat limited, but I believe this indicates that the search engine found a package, but it contains binary (C/XS) code and is not linked for your version of Perl. Earlier versions often have incompatibilities in the binary API. Mail::Find may not yet have been compiled against the most-current version. --rjray | [reply] |