[CentOS] perl module
JC
hiep at ee.ucr.edu
Thu Dec 8 16:28:34 UTC 2005
thanks everyone, but i still can't install Pod::Usage because of
depedency. Is there a way to includ all dependencies into cpan2rpm
installation?
This is what I tried:
cpan2rpm -i
http://www.cpan.org/authors/id/B/BB/BBC/Pod-Usage-CGI-1.010.tar.gz
thanks,
JC
On Thu, 8 Dec 2005, Josh Kelley wrote:
> On 12/8/05, hiep at ee.ucr.edu <hiep at ee.ucr.edu> 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
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
--
More information about the CentOS
mailing list