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

Hi can someone please help me out how to install the Daemon.pm module manually. I tried to use the following
PPM install http://www.roth.net/perl/packages/win32-daemon.ppd
but keeps getting the following error:
Error: No valid repositories: Error: can't connect to ppm.ActiveStae.com:80 (connect: Unknown error)
Is there any other way that I install. Any help is really appreciated. Thanks

Replies are listed 'Best First'.
Re: Help needed in Installing Daemon.pm
by baztastic (Scribe) on Mar 09, 2005 at 01:13 UTC

    I installed that module fine when I entered

    PPM install http://www.roth.net/perl/packages/win32-daemon.ppd
    in the command prompt.

    Based on the second error I think the problem may be firewall/proxy related. Without knowing all the details I suggest looking at "How do I run PPM?" and "PPM, Proxies and Firewalls" in the ActiveState(ActivePerl) Users Guide.

    -baztastic
Re: Help needed in Installing Daemon.pm
by crashtest (Curate) on Mar 09, 2005 at 00:36 UTC
    Your basic alternative to using PPM is to download the tarball, extract it, and use a make program (like nmake) to build and install the module. See A Guide to Installing Modules.

    On the whole, it's probably easier to figure out why you can't get your PPM to work the way you want it to. holli has just written an excellent tutorial on using ActiveState's PPM tool.

    Just looking at the info you provided, I have two comments:

    1. I believe the command line arguments you are supplying are invalid. The proper form is ppm install $my-module-name, not ppm install $url-for-module. I could be wrong on that though (Update: [id://baztastic] points out that I am wrong).
    2. Also, the error shows a typo for the URL to ActiveState's repository ("ppm.ActiveStae.com"). You probably want to fix that. Again, see A guide to installing modules for Win32 for instructions on adding, deleting or modifying repositories.

    Hope this helps.