I encounter frequently a problem when installing Perl modules as follows:
Code:
perl -MCPAN -e 'install Family::Module'
The error message is:
Code:
Proxy must be specified as absolute URI; ' ' is not at /usr/local/lib/perl5/5.8.8/CPAN.pm line 2357
even though I am not behind a proxy. Forcing to install the module as such:
Code:
perl -MCPAN -e force 'install Family::Module'
does not lead to any message, but still leads to error messages when running the Perl program that depends on the module.
What can be done to resolve this?
Thank you for your swift response. What can I do upon installation of CPAN and Perl to have these settings from the start? Which configuration file needs these settings?
---------- Post updated at 19:07 ---------- Previous update was at 19:06 ----------
Also, I still get the same error message:
Code:
# perl -MCPAN -e 'install XML::Simple'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sat, 26 Sep 2009 00:27:06 GMT
Running install for module XML::Simple
Running make for G/GR/GRANTM/XML-Simple-2.18.tar.gz
CPAN: LWP::UserAgent loaded ok
Proxy must be specified as absolute URI; ' ' is not at /usr/local/lib/perl5/5.8.8/CPAN.pm line 2357
Hi
i would like to grant access specific to one uri and rest of them should be denied.
as follows:
http://websitename/example user should be able to access
htttp://websitename/other user should be denied (1 Reply)
Current Situation:
1. Visit: https://xyz.com/2015/september?trackingparam=1234
2. The URL is missing the trailing / after the “september” directory
3. The URL is redirected and rewritten to: https://xyz.com/2015/september/ , dropping the query string data.
Note:... (0 Replies)
I need to configure a proxy on my local machine to use an upstream proxy (installed on another machine). The upstream proxy requires Digest/NTLM authorization. I want the local proxy to deal with the upstream proxy's authorization details and provides authorization free access to users that connect... (0 Replies)
Hi,
what I am trying to do in PHP, is to replace the Title. I need some of the URL information inside aswell depending on the domain.
The title is always different so I need to store it in a variable, put the url info like described below in front of it.
Here is an example how it should... (0 Replies)
Hi,
I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
is there any function in unix which will convert a integer to absolute value with a single decimal point.
suppose x=15232
y=x/1024=14.875
i want y to be 14.8
Similarly if y=6.29452 it should come as 6.3 (3 Replies)
Hi gurus,
I would like to migrate our windows print server to a debian linux but im newbie and i dont understand. when i try to add printer into Cups im going to localhost:631 and adding printers but i see this URI devices and i dont know how to deal with them? my test scenario is like this:
A... (0 Replies)