Hello monks,
I have installed Cygwin afresh on Windows 2003 Server. And I have to install additional Perl modules which are not included in default installation. In order to do it automatically, I have created local mirror (by using cpan::mini module) and reconfigured MyConfig.pm file, so it will work with my local mirror. I use following command for modules installation:
perl -MCPAN -e install Bundle::Snapshot_XXXX_XX_XX_XX
And until today it was working fine. Now, I am getting the following error:
CPAN: Storable loaded ok
Going to read /home/ABC/.cpan/Metadata
Database was generated on Tue, 03 Jul 2007 19:56:10 GMT
LWP not available
No external ftp command available
Please check, if the URLs I found in your configuration file(file:////
+cygdrive/c/cygwin/home/ABC/local/LocalMirror/) are valid.
The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/
+'
It looks like it is trying to connect to the internet and fails. (My local network has no connection to the internet). My MyConfig.pm hasn't been changed and it exactly the same file that is working perfectly on other machines. My guess is that there are other configuration files that overwrite MyConfig.pm file.
What shall I do in order to solve this problem?
Many thanks
20080115 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips