in reply to Installing Perl modules automatically

See if you can use FTP (manually) to connect to your local mirror from that machine. If no FTP your system is having an issue.

If FTP works to another site, check to see if you can see if you can get to your mirror. In theory your mirror maybe down.

See if you can manually install modules via CPAN. If not the most likely thing is that your cpan config is screwed up if you can do the previous two steps.

  • Comment on Re: Installing Perl modules automatically

Replies are listed 'Best First'.
Re^2: Installing Perl modules automatically
by Anonymous Monk on Dec 08, 2007 at 13:49 UTC
    Thank you for the quick response.
    Could you please be more specific about FTP issue because it is not quite clear for me why should check if it is possible to use ftp. In MyConfig.pm file I gave local URL and from the error log I can see that it was found:

    Please check, if the URLs I found in your configuration file(file:////cygdrive/c/cygwin/home/ABC/local/LocalMirror/) are valid.

    I can download and manually install modules from CPAN. I agree with you that, apparently cpan config is screwed up. But what exactly are those files and where I can find them?

    Thanks

      Could you please be more specific about FTP issue because it is not quite clear for me why should check if it is possible to use ftp

      the CPAN utility will use the ftp command-line utility to do FTP's. If it cannot find 'ftp', it cannot get the information from your mirror. It might be a search path problem for the user account or the utility got moved or deleted.

      Please check, if the URLs I found in your configuration

      I would not worry about that so much if you are getting the 'ftp' is missing error. You can be getting this error simply because of poor error handling on the part of the program.

        Thanks, a lot for your help

        I would not worry about that so much if you are getting the 'ftp' is missing error. You can be getting this error simply because of poor error handling on the part of the program.

        So, if I understand you correctly cpan using FTP protocol to get to my local mirror?
        the CPAN utility will use the ftp command-line utility to do FTP's. If it cannot find 'ftp', it cannot get the information from your mirror. It might be a search path problem for the user account or the utility got moved or deleted.

        Please correct me if I am getting you wrong, is CPAN using FTP protocol to connect to the local mirror?