Dear friends,
I am trying to use CPAN for installing some perl modules. i am using a ubuntu system, which has internet connection through lan and authenticated proxy.
when trying to install cpan.pm , it gives the following error, can any one help,
Looking up proxy.iitm.ac.in:3128
Making HTTP connection to proxy.iitm.ac.in:3128
Sending HTTP request.
HTTP request sent; waiting for response.
Alert!: Can't retry with proxy authorization! Contact the server's WebMaster.
Can't Access `http://cpan.enstimac.fr/MIRRORED.BY/MIRRORED.BY'
Alert!: Unable to access document.
Ok, someone correct me if I am wrong please, but I believe that when you originally configured the CPAN interface (upon first run), there was an option within the multitude of questions you are asked regarding whether or not you are using a Proxy server. If that was answered "no", then it will not know how to use the proxy and you will have to re-run the CPAN setup again to setup the proxy piece.
Here are the instructions for starting the reconfiguration:
Start the CPAN interface with:
perl -MCPAN -e shell
then, once at the CPAN prompt, type:
cpan> o conf init
From there, it is up to you to walk through the configuration.
Regards,
Jeff