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

As of two weeks ago I was able to download Perl ppm modules into my \perl\bin on my NT workstation. Now I cant download any modules with the same message error:
C:\bin>ppm PPM interactive shell (2.1.5) - type 'help' f +or available commands. PPM> install Net::SMTP Install package 'Net-SMTP?' (y/N): y Installing package 'Net-SMTP'... Error installing package 'Net-SMTP': Could no +t locate a PPD file for package Net -SMTP PPM> install DBD-ODBC Install package 'DBD-ODBC?' (y/N): Y Installing package 'DBD-ODBC'... Error installing package 'DBD-ODBC': Could no +t locate a PPD file for package DBD -ODBC
I do work in an area with a firewall, BUT I never had any problems until recently AND I can download anything anywhere exept can't get the packages in my ppm! I tried downloading and then unzipping modules from CPAN but still get same error messages when I try and intall the modules. Also reinstalled perl and still same errors.
I also tried the set_HTTP_proxy.... in DOS but still no luck.

Replies are listed 'Best First'.
Re: Cant install modules
by Maestro_007 (Hermit) on Mar 11, 2002 at 19:35 UTC
    I believe the problem you're having is that a PPD file for Net::SMTP does not exist (anywhere).

    Have you tried installing using the CPAN shell? I find it much more reliable, if you have the appropriate MAKE utility (probably nmake).

    It comes standard with ActiveState's distribution. Here's the command line:

    >perl -MCPAN -e shell

    It will ask you lots of questions to begin with, but once they're answered it should be configured properly going forward.

    After you get it configured, try the following:

    >install Net::SMTP
    If there are any more problems after that, there is ample documentation for the CPAN module at perldoc CPAN or here at the Monastery.

    Hope this helps!

    MM

(crazyinsomniac) Re: Cant install modules
by crazyinsomniac (Prior) on Mar 11, 2002 at 21:06 UTC