perl module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 12/8/05, hiep@xxxxxxxxxx <hiep@xxxxxxxxxx> wrote:
> I have trouble install the following perl modules to my Centos 4.2 server
> and I need help
>
> 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']

It looks like ftp.perl.org isn't getting resolved - looks like a DNS
problem, possibly just a temporary problem.

If it's not a DNS problem, you might want to try reconfiguring CPAN by
running "o conf init" from the CPAN shell.

However, a couple of the Perl modules you listed are part of the base
CentOS distribution (run "yum install perl-Time-HiRes
perl-HTML-Parser" to download and install them), and most of the rest
are available in Dag's repository.  If one or two of the modules
aren't available as RPMs, you can download cpan2rpm
(http://perl.arix.com/cpan2rpm/) and easily package them.  I
personally prefer to use RPMs for as much as possible, rather than
installing software using a non-RPM mechanism such as CPAN.  It makes
it easier to check version numbers (since version numbers are all in
the RPM database) and update software (just run "yum update"), and it
makes it easier to duplicate your setup on another computer (since you
don't have to configure and run the CPAN module on multiple machines).

Josh Kelley

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux