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

Hi all, I downloaded the zipped binary version of Proc::ProcessTable from 'http://ppm.activestate.com/PPMPackages/zips/6xx-builds-only/' & tried to install it. I cd to the folder where I had .ppd file then entered command
ppm install Proc-ProcessTable.ppd
but got an error saying
Error: no suitable installation target found for package Proc-ProcessT +able.
Can anyone kindly give me the url (or repository) to install Proc-ProcessTable using ppm on windows.
Thanks in advance

Replies are listed 'Best First'.
Re: Install Proc::ProcessTable on windows by ppm
by Anonymous Monk on Jun 07, 2005 at 07:46 UTC

    Quote from Proc::ProcessTable docs:

    Proc::ProcessTable - Perl extension to access the unix process table

    Why do you want to install a module to access Unix process tables in Windows?

      Because when I try to kill a process using Proc::Killfam I get an error saying
      Proc::ProcessTable missing, can't kill sub-children. at D:/Program Fil +es/Perl/site/lib/Proc/Killfam.pm line 22.
      I didn't get any information regarding ppm installation of Proc::ProcessTable in CPAN. I just need the url of the site where i can get .ppd file of the module.
        You also need to have cygwin installed to make it work under Windows, as stated in the Proc::ProcessTable readme file.

        When i needed to do what killfam does (i.e : kill all sons of a given PID) i used Win32::PerfLib recursively to get a list of all sons of a pid and then called Win32::Process:KillProcess on the resulting list .

        Also it may be interesting to look at Win32::Job ( perl 5.8) since it allows job management :

          Windows 2000 introduced the concept of a ``job'': a collection of processes which can be controlled as a single unit. For example, you can reliably kill a process and all of its children by launching the process in a job, then telling Windows to kill all processes in the job. Win32::Job makes this feature available to Perl.

        ( from Win32::Job description ) .

        Cheers,
        zlr_

Re: Install Proc::ProcessTable on windows by ppm
by tchatzi (Acolyte) on Jun 07, 2005 at 09:05 UTC
    if you have the Proc-ProcessTable.ppd file in lets say this directory
    c:\Proc-ProcessTable

    then what you have to do is
    c:\> ppm ppm> install --location=c:\Proc-ProcessTable Proc-ProcessTable


    ``The wise man doesn't give the right answers, he poses the right questions.'' TIMTOWTDI
      I tried it. but it saya unknown option: location
        So you are using ppm 3.1
        then you need
        ppm> install c:\Proc-ProcessTable\Proc-ProcessTable.ppd
        The bad news are that this module cannot be installed on Windows though.

        ``The wise man doesn't give the right answers, he poses the right questions.'' TIMTOWTDI