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

I am having a lot of trouble installing any type of perl module, especially diff on my Win32 box with Active State Perl. I really need the PPT set installed on it, but I can't seem to make it so. So I offer your favorite book at amazon or an equivalent donation to perlmonks.com if you volunteer to attened a live meeting I set up where you drive and make PPT work on my system. If interested email me @
no need
Thanks
PS I have ppt-0.14 untarred in my c:/Perl dir. UPDATE
I reinstalled AS perl and ran the winnipeg ppm URL and it worked. Thanks for the suggestions. VCS::Lite worked too, thanks rince
  • Comment on How to Install Perl Power Tools on AS Perl

Replies are listed 'Best First'.
Re: How to Install Perl Power Tools on AS Perl
by randyk (Parson) on Dec 20, 2005 at 16:08 UTC
    We have a ppm package of these in our repository, which you should be able to install via
    C:\> ppm install http://theoryx5.uwinnipeg.ca/ppms/ppt.ppd
    This will install the various scripts in your C:\Perl\bin directory.
      I get this msg which I seem to get off and on, through my trials and tribulations with win32 Perl
      'not intended for this build of Perl (MSWin32-x86-mulit-thread)'
      any thoughts ?
      btw, I have tried to articulate my issues with the diff module and I can't even get it work in my current directory.
      I'll check the jobs board, but this is from my pocket
      thanks
        It sounds like you're running an ActivePerl 6xx build (based on perl-5.6). If so, you need to use a different repository:
        C:\> ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/ppt.ppd
Re: How to Install Perl Power Tools on AS Perl
by rinceWind (Monsignor) on Dec 20, 2005 at 16:38 UTC

    As an alternative to PPT for diff, you could try vldiff that comes with VCS::Lite. It exists in ppm, and it's pure perl, which means you don't need a C compiler to install it directly off CPAN.

    Comments and feedback welcome as I am the author. Failing to get powertools working on Windows was one of the motivations for writing VCS::Lite.

    --

    Oh Lord, won’t you burn me a Knoppix CD ?
    My friends all rate Windows, I must disagree.
    Your powers of persuasion will set them all free,
    So oh Lord, won’t you burn me a Knoppix CD ?
    (Missquoting Janis Joplin)

Re: How to Install Perl Power Tools on AS Perl
by marto (Cardinal) on Dec 20, 2005 at 16:21 UTC
Re: How to Install Perl Power Tools on AS Perl
by InfiniteSilence (Curate) on Dec 20, 2005 at 16:27 UTC
    Well, even though the install takes a bit (seems to rerun lot of stuff when you use nmake, nmake install, nmake test) but it DOES install from the package on CPAN on my Windows 2000 machine.

    I got it, extracted it to a directory, and ran the following:

    perl Makefile.pl nmake nmake install nmake test
    There were no tests included in the install (bummer) and I probably should have read the documentation because it put everything in c:/usr/local/ppt, but that isn't a problem, just add it to your PATH. I ran primes with 100 as a parameter, wanna see?
    ... 737767 737773 737797 737801 737809 737819 737843 737857 737861 737873 737887 737897 ...

    Celebrate Intellectual Diversity

Re: How to Install Perl Power Tools on AS Perl
by Kanji (Parson) on Dec 20, 2005 at 15:54 UTC

    Unfortunately, "a lot of trouble" isn't very descriptive an error for anyone wishing to help and doesn't want to volunteer for a live meet.

    Perhaps you could elaborate with something more meaningful like "everytime I try run the PPT diff, it returns the error ______..."?

        --k.


    Update: ... and if you really do want to entice someone into doing an onsite, may I suggest http://jobs.perl.org/ instead?

Re: How to Install Perl Power Tools on AS Perl
by planetscape (Chancellor) on Dec 20, 2005 at 22:45 UTC
      Typing:
      ppm install ppt
      at my Windows XP SP2 command prompt seemed to do the trick on its own, actually.