Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: installing missing perl modules

by sibasankar (Initiate)
on Oct 12, 2012 at 09:47 UTC ( #998643=note: print w/ replies, xml ) Need Help??

in reply to Re: installing missing perl modules
in thread installing missing perl modules

Thank you for your reply. I am behind the firewall of my company. But If I directly use the URL, I am able to download 01mailrc.txt.gz. So is it possible if I use the downloaded file? If yes, do I need to modify any config file?

Comment on Re^2: installing missing perl modules
Replies are listed 'Best First'.
Re^3: installing missing perl modules
by marto (Bishop) on Oct 12, 2012 at 09:50 UTC

    No, do this properly by configuring your cpan client to work from behind your firewall. See CPAN for details or speak to your systems/network administrator.

    Update: fixed typo in link.

Re^3: installing missing perl modules
by dasgar (Curate) on Oct 12, 2012 at 13:44 UTC

    On one hand, you can download the tarballs of modules directly from CPAN and manually install them. The problem comes when modules have prerequisite modules that you don't have. For example, let's say you want to install module #1. However, module #1 needs module #2 & #3, which you don't have. So you download those for install. However, module #2 needs module #4, which you don't have. See how this can easily become a painful process?

    If you use the cpan utility, it will detect and install the needed prerequisite modules, which will make things much easier for you.

    Since you're behind a corporate firewall, you're probably also sitting behind an HTTP proxy and/or an FTP proxy as well. The documentation link in marto's reply should get you started on what you need to do to get the cpan utility working with those proxy and firewall servers.

Re^3: installing missing perl modules
by agentorange (Sexton) on Oct 15, 2012 at 15:41 UTC
    As marto said the best/correct fix is to configure cpan with a proxy. Your proxy info should be in your browser or best speak with your network team.

    Firefox. tools-options-advanced-network-settings
    IE. tools-internet options-connections-lan settings
    Chrome... don't have to hand! :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998643]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2016-05-27 02:26 GMT
Find Nodes?
    Voting Booth?