Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
"be consistent"
 
PerlMonks  

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
Re^3: installing missing perl modules
by marto (Chancellor) 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 (Deacon) 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-04-18 23:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (473 votes), past polls