LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Poll: What is the procedure to install Perl Modules
Poll Options
What is the procedure to install Perl Modules

You must log in and have one post to vote in this poll. If you don't have an account, you can register here.
Results will be available after the polls close.

The nominees are:

CPAN
using RPM

Reply
 
Search this Thread
Old 04-18-2006, 02:22 AM   #1
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440
Blog Entries: 1

Rep: Reputation: 30
Question load perl CPAN modules


I am trying to load perl CPAN modules.
As I am running the CPAN shell for the first time, I had to configure it and generate a Config.pm first.So, I ran the command,
perl -MCPAN -e shell
Then it took me through various steps.
As I am accessing internet through a Proxy, Ihave given my Proxy server address for the FTP, HTTP and NO_PROXY prompts.
I have mentioned a CPAN mirror also.
Now, when my Config.pm is generated, I am getting a CPAN prompt where I have to install modules like MD5, Digest::MD5, Digest::SHA1, readline, Bundle::CPAN, O/OY/OYAMA/Net-MySQL-0.08.tar.gz ,Net::Telnet & so on. But, when I run the command install and the module name, its giving me the following error:

___________________________________________________________
CPAN: Storable loaded ok
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
http://mirror.gnowledge.org/cpan/aut...1mailrc.txt.gz
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 55, <FIN> line 1.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 58, <FIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 38, <FIN> line 1.
Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.5/LWP/UserAgent.pm line 194, <FIN> line 1.
LWP failed with code[501] message[Protocol scheme '' is not supported]
Fetching with LWP:
http://mirrors.tf.itb.ac.id/cpan/aut...1mailrc.txt.gz
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 55, <FIN> line 1.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 58, <FIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 38, <FIN> line 1.
Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.5/LWP/UserAgent.pm line 194, <FIN> line 1.
LWP failed with code[501] message[Protocol scheme '' is not supported]

Trying with "/usr/bin/links -source" to get
http://mirror.gnowledge.org/cpan/aut...1mailrc.txt.gz
ERROR at dump.c:188: Connection refused

System call "/usr/bin/links -source "http://mirror.gnowledge.org/cpan/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
http://mirror.gnowledge.org/cpan/aut...1mailrc.txt.gz
--11:45:05-- http://mirror.gnowledge.org/cpan/aut...1mailrc.txt.gz
=> `-'
Connecting to 192.168.24.176:80... failed: Connection refused.

System call "/usr/bin/wget -O - "http://mirror.gnowledge.org/cpan/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist

Trying with "/usr/bin/links -source" to get
http://mirrors.tf.itb.ac.id/cpan/aut...1mailrc.txt.gz
ERROR at dump.c:188: Connection refused

System call "/usr/bin/links -source "http://mirrors.tf.itb.ac.id/cpan/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
http://mirrors.tf.itb.ac.id/cpan/aut...1mailrc.txt.gz
--11:45:06-- http://mirrors.tf.itb.ac.id/cpan/aut...1mailrc.txt.gz
=> `-'
Connecting to 192.168.24.176:80... failed: Connection refused.

System call "/usr/bin/wget -O - "http://mirrors.tf.itb.ac.id/cpan/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist
Please check, if the URLs I found in your configuration file
(http://mirror.gnowledge.org/cpan/, http://mirrors.tf.itb.ac.id/cpan/) are
valid. The urllist can be edited. E.g. with 'o conf urllist push
ftp://myurl/'

Could not fetch authors/01mailrc.txt.gz
Fetching with LWP:
http://mirror.gnowledge.org/cpan/mod...details.txt.gz
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 55, <FIN> line 1.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 58, <FIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 38, <FIN> line 1.
Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.5/LWP/UserAgent.pm line 194, <FIN> line 1.
LWP failed with code[501] message[Protocol scheme '' is not supported]
Fetching with LWP:
http://mirrors.tf.itb.ac.id/cpan/mod...details.txt.gz
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 55, <FIN> line 1.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 58, <FIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 38, <FIN> line 1.
Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.5/LWP/UserAgent.pm line 194, <FIN> line 1.
LWP failed with code[501] message[Protocol scheme '' is not supported]

Trying with "/usr/bin/links -source" to get
http://mirror.gnowledge.org/cpan/mod...details.txt.gz
ERROR at dump.c:188: Connection refused

System call "/usr/bin/links -source "http://mirror.gnowledge.org/cpan/modules/02packages.details.txt.gz" > /root/.cpan/sources/modules/02packages.details.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
http://mirror.gnowledge.org/cpan/mod...details.txt.gz
--11:45:09-- http://mirror.gnowledge.org/cpan/mod...details.txt.gz
=> `-'
Connecting to 192.168.24.176:80... failed: Connection refused.

System call "/usr/bin/wget -O - "http://mirror.gnowledge.org/cpan/modules/02packages.details.txt.gz" > /root/.cpan/sources/modules/02packages.details.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist

Trying with "/usr/bin/links -source" to get
http://mirrors.tf.itb.ac.id/cpan/mod...details.txt.gz
ERROR at dump.c:188: Connection refused

System call "/usr/bin/links -source "http://mirrors.tf.itb.ac.id/cpan/modules/02packages.details.txt.gz" > /root/.cpan/sources/modules/02packages.details.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
http://mirrors.tf.itb.ac.id/cpan/mod...details.txt.gz
--11:45:10-- http://mirrors.tf.itb.ac.id/cpan/mod...details.txt.gz
=> `-'
Connecting to 192.168.24.176:80... failed: Connection refused.

System call "/usr/bin/wget -O - "http://mirrors.tf.itb.ac.id/cpan/modules/02packages.details.txt.gz" > /root/.cpan/sources/modules/02packages.details.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist
Please check, if the URLs I found in your configuration file
(http://mirror.gnowledge.org/cpan/, http://mirrors.tf.itb.ac.id/cpan/) are
valid. The urllist can be edited. E.g. with 'o conf urllist push
ftp://myurl/'

Could not fetch modules/02packages.details.txt.gz
Fetching with LWP:
http://mirror.gnowledge.org/cpan/mod...odlist.data.gz
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 55, <FIN> line 1.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 58, <FIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 38, <FIN> line 1.
Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.5/LWP/UserAgent.pm line 194, <FIN> line 1.
LWP failed with code[501] message[Protocol scheme '' is not supported]
Fetching with LWP:
http://mirrors.tf.itb.ac.id/cpan/mod...odlist.data.gz
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 55, <FIN> line 1.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 58, <FIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 38, <FIN> line 1.
Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.5/LWP/UserAgent.pm line 194, <FIN> line 1.
LWP failed with code[501] message[Protocol scheme '' is not supported]

Trying with "/usr/bin/links -source" to get
http://mirror.gnowledge.org/cpan/mod...odlist.data.gz
ERROR at dump.c:188: Connection refused

System call "/usr/bin/links -source "http://mirror.gnowledge.org/cpan/modules/03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
http://mirror.gnowledge.org/cpan/mod...odlist.data.gz
--11:45:13-- http://mirror.gnowledge.org/cpan/mod...odlist.data.gz
=> `-'
Connecting to 192.168.24.176:80... failed: Connection refused.

System call "/usr/bin/wget -O - "http://mirror.gnowledge.org/cpan/modules/03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist

Trying with "/usr/bin/links -source" to get
http://mirrors.tf.itb.ac.id/cpan/mod...odlist.data.gz
ERROR at dump.c:188: Connection refused

System call "/usr/bin/links -source "http://mirrors.tf.itb.ac.id/cpan/modules/03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
http://mirrors.tf.itb.ac.id/cpan/mod...odlist.data.gz
--11:45:14-- http://mirrors.tf.itb.ac.id/cpan/mod...odlist.data.gz
=> `-'
Connecting to 192.168.24.176:80... failed: Connection refused.

System call "/usr/bin/wget -O - "http://mirrors.tf.itb.ac.id/cpan/modules/03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"
returned status 1 (wstat 256)
[root@localhost ~]# perl -MCPAN -e shell
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')

cpan> install MD5
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Warning: Found only 0 objects in /root/.cpan/Metadata
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
http://mirror.gnowledge.org/cpan/aut...1mailrc.txt.gz
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 55, <FIN> line 1.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 58, <FIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 38, <FIN> line 1.
Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.5/LWP/UserAgent.pm line 194, <FIN> line 1.
LWP failed with code[501] message[Protocol scheme '' is not supported]
Fetching with LWP:
http://mirrors.tf.itb.ac.id/cpan/aut...1mailrc.txt.gz
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 55, <FIN> line 1.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 58, <FIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 38, <FIN> line 1.
Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.5/LWP/UserAgent.pm line 194, <FIN> line 1.
LWP failed with code[501] message[Protocol scheme '' is not supported]

Trying with "/usr/bin/links -source" to get
http://mirror.gnowledge.org/cpan/aut...1mailrc.txt.gz
ERROR at dump.c:188: Connection refused

System call "/usr/bin/links -source "http://mirror.gnowledge.org/cpan/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
http://mirror.gnowledge.org/cpan/aut...1mailrc.txt.gz
--11:55:10-- http://mirror.gnowledge.org/cpan/aut...1mailrc.txt.gz
=> `-'
Connecting to 192.168.24.176:80... failed: Connection refused.

System call "/usr/bin/wget -O - "http://mirror.gnowledge.org/cpan/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist

Trying with "/usr/bin/links -source" to get
http://mirrors.tf.itb.ac.id/cpan/aut...1mailrc.txt.gz
ERROR at dump.c:188: Connection refused

System call "/usr/bin/links -source "http://mirrors.tf.itb.ac.id/cpan/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
http://mirrors.tf.itb.ac.id/cpan/aut...1mailrc.txt.gz
--11:55:11-- http://mirrors.tf.itb.ac.id/cpan/aut...1mailrc.txt.gz
=> `-'
Connecting to 192.168.24.176:80... failed: Connection refused.

System call "/usr/bin/wget -O - "http://mirrors.tf.itb.ac.id/cpan/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist
Please check, if the URLs I found in your configuration file
(http://mirror.gnowledge.org/cpan/, http://mirrors.tf.itb.ac.id/cpan/) are
valid. The urllist can be edited. E.g. with 'o conf urllist push
ftp://myurl/'

Could not fetch authors/01mailrc.txt.gz
Fetching with LWP:
http://mirror.gnowledge.org/cpan/mod...details.txt.gz
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 55, <FIN> line 1.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 58, <FIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 38, <FIN> line 1.
Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.5/LWP/UserAgent.pm line 194, <FIN> line 1.
LWP failed with code[501] message[Protocol scheme '' is not supported]
Fetching with LWP:
http://mirrors.tf.itb.ac.id/cpan/mod...details.txt.gz
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 55, <FIN> line 1.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 58, <FIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 38, <FIN> line 1.
Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.5/LWP/UserAgent.pm line 194, <FIN> line 1.
LWP failed with code[501] message[Protocol scheme '' is not supported]

Trying with "/usr/bin/links -source" to get
http://mirror.gnowledge.org/cpan/mod...details.txt.gz
ERROR at dump.c:188: Connection refused

System call "/usr/bin/links -source "http://mirror.gnowledge.org/cpan/modules/02packages.details.txt.gz" > /root/.cpan/sources/modules/02packages.details.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
http://mirror.gnowledge.org/cpan/mod...details.txt.gz
--11:55:14-- http://mirror.gnowledge.org/cpan/mod...details.txt.gz
=> `-'
Connecting to 192.168.24.176:80... failed: Connection refused.

System call "/usr/bin/wget -O - "http://mirror.gnowledge.org/cpan/modules/02packages.details.txt.gz" > /root/.cpan/sources/modules/02packages.details.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist

Trying with "/usr/bin/links -source" to get
http://mirrors.tf.itb.ac.id/cpan/mod...details.txt.gz
ERROR at dump.c:188: Connection refused

System call "/usr/bin/links -source "http://mirrors.tf.itb.ac.id/cpan/modules/02packages.details.txt.gz" > /root/.cpan/sources/modules/02packages.details.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
http://mirrors.tf.itb.ac.id/cpan/mod...details.txt.gz
--11:55:15-- http://mirrors.tf.itb.ac.id/cpan/mod...details.txt.gz
=> `-'
Connecting to 192.168.24.176:80... failed: Connection refused.

System call "/usr/bin/wget -O - "http://mirrors.tf.itb.ac.id/cpan/modules/02packages.details.txt.gz" > /root/.cpan/sources/modules/02packages.details.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist
Please check, if the URLs I found in your configuration file
(http://mirror.gnowledge.org/cpan/, http://mirrors.tf.itb.ac.id/cpan/) are
valid. The urllist can be edited. E.g. with 'o conf urllist push
ftp://myurl/'

Could not fetch modules/02packages.details.txt.gz
Fetching with LWP:
http://mirror.gnowledge.org/cpan/mod...odlist.data.gz
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 55, <FIN> line 1.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 58, <FIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 38, <FIN> line 1.
Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.5/LWP/UserAgent.pm line 194, <FIN> line 1.
LWP failed with code[501] message[Protocol scheme '' is not supported]
Fetching with LWP:
http://mirrors.tf.itb.ac.id/cpan/mod...odlist.data.gz
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 55, <FIN> line 1.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 58, <FIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/LWP/Protocol.pm line 38, <FIN> line 1.
Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.5/LWP/UserAgent.pm line 194, <FIN> line 1.
LWP failed with code[501] message[Protocol scheme '' is not supported]

Trying with "/usr/bin/links -source" to get
http://mirror.gnowledge.org/cpan/mod...odlist.data.gz
ERROR at dump.c:188: Connection refused

System call "/usr/bin/links -source "http://mirror.gnowledge.org/cpan/modules/03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
http://mirror.gnowledge.org/cpan/mod...odlist.data.gz
--11:55:18-- http://mirror.gnowledge.org/cpan/mod...odlist.data.gz
=> `-'
Connecting to 192.168.24.176:80... failed: Connection refused.

System call "/usr/bin/wget -O - "http://mirror.gnowledge.org/cpan/modules/03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist

Trying with "/usr/bin/links -source" to get
http://mirrors.tf.itb.ac.id/cpan/mod...odlist.data.gz
ERROR at dump.c:188: Connection refused

System call "/usr/bin/links -source "http://mirrors.tf.itb.ac.id/cpan/modules/03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
http://mirrors.tf.itb.ac.id/cpan/mod...odlist.data.gz
--11:55:19-- http://mirrors.tf.itb.ac.id/cpan/mod...odlist.data.gz
=> `-'
Connecting to 192.168.24.176:80... failed: Connection refused.

System call "/usr/bin/wget -O - "http://mirrors.tf.itb.ac.id/cpan/modules/03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist
Please check, if the URLs I found in your configuration file
(http://mirror.gnowledge.org/cpan/, http://mirrors.tf.itb.ac.id/cpan/) are
valid. The urllist can be edited. E.g. with 'o conf urllist push
ftp://myurl/'

Could not fetch modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Warning: Cannot install MD5, don't know what it is.
Try the command

i /MD5/

to find objects with matching identifiers.
_____________________________________________________________________

I think, Its not able to access the internet or the CPAN mirror.
I want to know is there any other way to load perl modules?
Are they available as RPMS, if so, I can download them and then install.Its really messy to go into the CPAN terminal and do all these.
ANYBODY pls get me out of this CPAN hell.
Thanks in advance
 
Old 04-18-2006, 08:31 PM   #2
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
You can always download modules manually from CPAN, but I prefer using cpan to install them.

To make sure your CPAN installation is ok, try this:

$ su
(enter password)
# cpan
cpan> install Bundle::CPAN
(stuff happens)
cpan> reload cpan
(stuff happens)
cpan> reload index
(stuff happens)
cpan> exit
# exit
$

This should rebuild and reload the CPAN perl module. That might fix whatever is broken. I'm not a perl expert so I could be mistaken.

Peace...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"cc1: error: invalid option 'tune=i686'" while installing Perl modules via CPAN scuzzman Programming 12 08-21-2006 10:30 PM
installing CPAN modules andy11983 Linux - Software 1 11-30-2004 01:28 PM
perl modules problems CPAN tardigrade Linux - Software 6 09-02-2004 01:29 PM
Canīt download perl modules with cpan emilioestevezz Linux - Networking 1 08-25-2004 10:51 AM
perl CPAN LinFreak! Slackware 3 01-03-2004 09:16 AM


All times are GMT -5. The time now is 06:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration