in reply to Re^5: can't locate crypt/RC4.pm in @inc
in thread can't locate crypt/RC4.pm in @inc

I also tried with cpan it showed me huge bunch of lines and at the end it showed me could not fetch modules?

  • Comment on Re^6: can't locate crypt/RC4.pm in @inc

Replies are listed 'Best First'.
Re^7: can't locate crypt/RC4.pm in @inc
by marto (Cardinal) on Sep 07, 2016 at 12:47 UTC

    Unless you tell us what they are I can only guess, perhaps you need to configure the tool to be able to operate within your network. I've linked to the documentation for both suggestions earlier, which covers this aspect of their use. Most of my work is for clients with no internet access, for this I use a local mirror generated by minicpan. See also How do I post a question effectively?.

    Update: fixed typo

Re^7: can't locate crypt/RC4.pm in @inc
by stevieb (Canon) on Sep 07, 2016 at 12:53 UTC

    Are you behind a proxy? Run:

    cpan

    Then at the prompt:

    o conf init /proxy/

    Follow the prompts. The format of the HTTP Proxy is http://proxy.example.com:PORT. Put https if your proxy is SSL-enabled, and you can use the proxy IP instead of a domain name if it doesn't have one.

    Continue through the prompts, then after you're done and back at the cpan command:

    o conf commit

    Then try cpan or cpanm again.