in reply to Re^2: Installing Perl modules automatically
in thread Installing Perl modules automatically

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.

  • Comment on Re^3: Installing Perl modules automatically

Replies are listed 'Best First'.
Re^4: Installing Perl modules automatically
by Anonymous Monk on Dec 08, 2007 at 16:15 UTC
    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?
      Prerequisites

      If you have a local mirror of CPAN and can access all files with ``file:'' URLs, then you only need a perl better than perl5.003 to run this module. Otherwise Net::FTP is strongly recommended. LWP may be required for non-UNIX systems or if your nearest CPAN site is associated with a URL that is not ftp:.

      If you have neither Net::FTP nor LWP, there is a fallback mechanism implemented for an external ftp command or for an external lynx command.

Re^4: Installing Perl modules automatically
by Anonymous Monk on Dec 08, 2007 at 15:53 UTC
    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?