I am unable to install module using cpan. It says 407 Proxy Authentication Required
Quote:
CPAN: LWP::UserAgent loaded ok (v5.835)
CPAN: Time::HiRes loaded ok (v1.9719)
Warning: no success downloading '/root/.cpan/sources/authors/01mailrc.txt.gz.tmp15836'. Giving up on it. at /usr/share/perl/5.10/CPAN/Index.pm line 225
Fetching with LWP: http://www.perl.org/CPAN/authors/01mailrc.txt.gz
LWP failed with code[407] message[Proxy Authentication Required]
I did setup proxy server and given username and password in .bashrc file and apt.conf file.
However, still unable to install module. Please suggest.
Thanks
---------- Post updated at 08:32 AM ---------- Previous update was at 08:05 AM ----------
Ok got it myself working. Changed the proxy settings in cpan config.
o conf
Last edited by Franklin52; 04-24-2012 at 10:19 AM..
Reason: Please use code tags
I am attempting to install a Perl Expect module via the CPAN . CPAN goes through the process but nothing happens, sample perl scripts can not find the Expect Module. CPAN was configured via the Default process " Are you ready for manual configuration? " answered "no". CPAN install seemed to find... (1 Reply)
Hey guys i got this error in my messages:
warning : mod_load: cannot load module sbd
- I dont know anything about this.
- How do i verify if there is a module sbd
- What are the reasons modules cant be loaded (1 Reply)
Hi all,
I just add in new cpu/memory module into SFV480 and unable to see new module on slot B. I already try many way like only 1 new module and swap the both module and boot up but still unable to see it.
If I only install the module into slot B, then the server is unbootable at all.
I... (1 Reply)
Hi All,
I am trying to run the following program
#!/usr/bin/perl
# use module
use XML::Simple;
use Data::Dumper;
# create object
$xml = new XML::Simple;
# read XML file
$data = $xml->XMLin("dump.xml");
# print output
print Dumper($dump);
At first i had the error mesage saying... (5 Replies)
Hello all,
i am searching how to install a module but the question is :
howto specify CPAN to install a determined version of the module ?
In my case i want to install DBD:Oracle1.14 and not version 1.23 proposed !
Any idea welcome ! :rolleyes:
Thanks ! (1 Reply)
Hi i was trying to install Text::CSV from cpan... it seemed to have downloaded everythign properly but was not able to run the make file...
do u have any idea as to why this happened??
Install:
=============================
If you install Text::CSV_XS v.0.70, it makes Text::CSV faster.
... (5 Replies)
Hi,
I am trying to install Unicode::String from the cpan shell, and here is what I get:
Checking if your kit is complete...
Looks good
Writing Makefile for Unicode::String
cp String.pm blib/lib/Unicode/String.pm
cp lib/Unicode/CharName.pm blib/lib/Unicode/CharName.pm... (3 Replies)
Hi,
I want to install 'Devel-Profile' in windows but i am not able to install.
Here is the error.
PPM> install Devel-Profile
Install package 'Devel-Profile?' (y/N): y
Installing package 'Devel-Profile'...
Error installing package 'Devel-Profile': Could not locate a PPD file for... (3 Replies)
Having a script.pl how can I automatically download from CPAN all required modules and install and update as required? Something like "emerge -uDNav world" for the perl?
---------- Post updated at 05:38 PM ---------- Previous update was at 05:28 PM ----------
Doesn't matter I've found it
... (6 Replies)
Hi all,
I am on Linux box where CPAN is not working for downloading any perl modules. When I try "perl -MCPAN -e shell" as root as well as a user, I get following error:
Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl... (2 Replies)
Discussion started by: pat_pramod
2 Replies
LEARN ABOUT DEBIAN
lwp::protocol::https
LWP::Protocol::https(3pm) User Contributed Perl Documentation LWP::Protocol::https(3pm)NAME
LWP::Protocol::https - Provide https support for LWP::UserAgent
SYNOPSIS
use LWP::UserAgent;
$ua = LWP::UserAgent->new(ssl_opts => { verify_hostname => 1 });
$res = $ua->get("https://www.example.com");
DESCRIPTION
The LWP::Protocol::https module provides support for using https schemed URLs with LWP. This module is a plug-in to the LWP protocol
handling, so you don't use it directly. Once the module is installed LWP is able to access sites using HTTP over SSL/TLS.
If hostname verification is requested by LWP::UserAgent's "ssl_opts", and neither "SSL_ca_file" nor "SSL_ca_path" is set, then
"SSL_ca_file" is implied to be the one provided by Mozilla::CA. If the Mozilla::CA module isn't available SSL requests will fail. Either
install this module, set up an alternative "SSL_ca_file" or disable hostname verification.
This module used to be bundled with the libwww-perl, but it was unbundled in v6.02 in order to be able to declare its dependencies properly
for the CPAN tool-chain. Applications that need https support can just declare their dependency on LWP::Protocol::https and will no longer
need to know what underlying modules to install.
SEE ALSO
IO::Socket::SSL, Crypt::SSLeay, Mozilla::CA
COPYRIGHT
Copyright 1997-2011 Gisle Aas.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-02-20 LWP::Protocol::https(3pm)