[CentOS] perl module

Thu Dec 8 14:59:15 UTC 2005
hiep at ee.ucr.edu <hiep at ee.ucr.edu>

Hi list,

I have trouble install the following perl modules to my Centos 4.2 server
and I need help

Digest::SHA1
Digest::HMAC
Net::DNS
Time::HiRes
HTML::Tagset
HTML::Parser
Pod::Usage
Parse::Syslog
Statistics::Distributions

I tried "perl -MCPAN -e shell" and then "install Pod::Usage" and I got the
following errors:

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:
  ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: Bad hostname
'ftp.perl.org']
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz

Trying with "/usr/bin/links -source" to get
    ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
ERROR at dump.c:188: Host not found

System call "/usr/bin/links -source
"ftp://ftp.perl.org/pub/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
    ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
--09:54:41--  ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
           => `-'
Resolving ftp.perl.org... failed: Name or service not known.

System call "/usr/bin/wget -O -
"ftp://ftp.perl.org/pub/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
Issuing "/usr/kerberos/bin/ftp -n"
ftp: ftp.perl.org: unknown host
Not connected.
Local directory now /root/.cpan/sources/authors
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz.

Please check, if the URLs I found in your configuration file () 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:
  ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: Bad hostname
'ftp.perl.org']
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz

Trying with "/usr/bin/links -source" to get
    ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
ERROR at dump.c:188: Host not found

System call "/usr/bin/links -source
"ftp://ftp.perl.org/pub/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
    ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
--09:54:47--  ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
           => `-'
Resolving ftp.perl.org... failed: Name or service not known.

System call "/usr/bin/wget -O -
"ftp://ftp.perl.org/pub/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
Issuing "/usr/kerberos/bin/ftp -n"
ftp: ftp.perl.org: unknown host
Not connected.
Local directory now /root/.cpan/sources/modules
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL
ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz.

Please check, if the URLs I found in your configuration file () 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:
  ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: Bad hostname
'ftp.perl.org']
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz

Trying with "/usr/bin/links -source" to get
    ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
ERROR at dump.c:188: Host not found

System call "/usr/bin/links -source
"ftp://ftp.perl.org/pub/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
    ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
--09:54:53--  ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
           => `-'
Resolving ftp.perl.org... failed: Name or service not known.

System call "/usr/bin/wget -O -
"ftp://ftp.perl.org/pub/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
Issuing "/usr/kerberos/bin/ftp -n"
ftp: ftp.perl.org: unknown host
Not connected.
Local directory now /root/.cpan/sources/modules
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz.

Please check, if the URLs I found in your configuration file () 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 Pod::Usage, don't know what it is.
Try the command

    i /Pod::Usage/

to find objects with matching identifiers.

Then I tried to download individual module and install it manually, but I
got dependency warnings.  Please help!!!

Thanks.
JC