Cannot upgrade modules from ActivePerl 5.8.8.822

Posted by DaFish on 2007-10-03 18:46
Forums: PPM | OS: Windows XP Pro

Hi, I am new to Perl. I have read the forums, Google'd and I have tried to figure this out for 2 days now - I am just not getting it.

I have installed (cleanly) ActivePerl 5.8.8.822
I have installed the free MS C++ compiler
I have installed the free MS nmake utility

5.8.8.822 comes with Mail-SpamAssassin-3.0.2

I need to upgrade this module to Mail-SpamAssassin-3.2.3, and a few other modules that work with it.

I can't for the life of me figure out how to upgrade this module from:
http://search.cpan.org/~jmason/Mail-SpamAssassin-3.2.3/ or, from the many other CPAN sites that also have that version.

I tried to add the ADDITIONAL RESOURCE (http://cpan.uwinnipeg.ca/htdocs/faqs/cpan-search.html - from the help) to the PPM repository list, and it said it had 0 packages (this site has the Mail-SpamAssassin-3.2.3 module) - I am assuming this is NOT a PPD.

It seems I need to get a PPD so I can install it in PPM, but I can't figure out how to make a PPD, or where to find it. Apparently I can use CPAN in the ActivePerl tool, but the documentation is really weak on that and I can't figure out how to do it.

Can anybody please assist me in upgrading the Modules? From what I have read, others seem to have difficulty with this too.

Thanks a lot.

Mark

grahams
ActiveState Staff
Thu, 2007-10-04 12:46

It sounds like you found the manual for PPM at:

http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/faq/ActivePerl-faq2...

In case it isn't clear, you use Makefile.pl to create PPM Packages (aka PPD files).

I don't know if you found the man page for "cpan". It's maintained by CPAN so it's only referenced on the ActiveState site. It might help as well:

http://www.perl.com/doc/manual/html/lib/CPAN.html

grahams
ActiveState Staff
Thu, 2007-10-04 12:48

The doc uses a lot of examples for when "cpan" is called from within a perl script, but it has the same arguments when called from the command line.

DaFish | Thu, 2007-10-04 13:07

Hi grahams, thank you very much for your reply.

Here is the sequence of events that I have followed - maybe this will shed some light on where my problem lies.

ActivePerl 5.8.8.822 - Mail-SpamAssassin-3.0.2 is showing in the repository.

1) I unzipped Mail-SpamAssassin-3.2.3 from the CPAN site.

2) I change dir to Mail-SpamAssassin-3.2.3

3) perl makefile.pl
- this comes up with a bunch of missing modules, which are also upgrades to the 822 repository (which I can't seem to upgrade either)
- it also comes up with warnings that I am missing some optional modules (which exist in the Mail-SpamAssassin-3.2.3 module)

It seems to me like a chicken and egg - I can't make it, because I can't install it....

Is there a way I can make the repository Mail-SpamAssassin-3.0.2 contain Mail-SpamAssassin-3.2.3? If I can figure that out, then I can do the other modules as well.

Thanks a lot.

Mark