[Bioperl-l] Problem in BioPerl Installation

Mauricio Herrera Cuadra arareko at campus.iztacala.unam.mx
Wed Feb 21 18:18:37 UTC 2007


You can always rebuild your CPAN configuration by deleting the existing 
.cpan/ directory in root's $HOME dir (quick & dirty trick), then invoke 
CPAN again from root's shell to rebuild the config:

# perl -MCPAN -e shell

Hope this helps.

Regards,
Mauricio.

prateek singh yadav wrote:
> Hello all,
> 
> I was trying to install Bioperl on my redhat linux (EL) using CPAN. but CPAN
> shows this problem.
> 
> 
> [root at HX342SBC054 Desktop]# cpan
> Terminal does not support AddHistory.
> 
> cpan shell -- CPAN exploration and modules installation (v1.7601)
> ReadLine support available (try 'install Bundle::CPAN')
> 
> cpan> get bioperl
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
> Warning: Found only 25 objects in /root/.cpan/Metadata
> Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
> Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
> Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not
> contain a Line-Count header.
> Please check the validity of the index file by comparing it to more
> than one CPAN mirror. I'll continue but problems seem likely to
> happen.
> Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not
> contain a Last-Updated header.
> Please check the validity of the index file by comparing it to more
> than one CPAN mirror. I'll continue but problems seem likely to
> happen.
> Going to read /root/.cpan/sources/modules/03modlist.data.gz
> Can't locate object method "data" via package "CPAN::Modulelist" (perhaps
> you forgot to load "CPAN::Modulelist"?) at (eval 13) line 1.
>  at /usr/lib/perl5/5.8.5/CPAN.pm line 3406
>         CPAN::Index::rd_modlist('CPAN::Index',
> '/root/.cpan/sources/modules/03modlist.data.gz') called at
> /usr/lib/perl5/5.8.5/CPAN.pm line 3129
>         CPAN::Index::reload('CPAN::Index') called at
> /usr/lib/perl5/5.8.5/CPAN.pm line 675
>         CPAN::exists('CPAN=HASH(0x8548f20)', 'CPAN::Module', 'bioperl')
> called at /usr/lib/perl5/5.8.5/CPAN.pm line 1842
>         CPAN::Shell::expandany('CPAN::Shell', 'bioperl') called at
> /usr/lib/perl5/5.8.5/CPAN.pm line 2078
>         CPAN::Shell::rematein('CPAN::Shell', 'get', 'bioperl') called at
> /usr/lib/perl5/5.8.5/CPAN.pm line 2157
>         CPAN::Shell::get('CPAN::Shell', 'bioperl') called at
> /usr/lib/perl5/5.8.5/CPAN.pm line 201
>         eval {...} called at /usr/lib/perl5/5.8.5/CPAN.pm line 201
>         CPAN::shell() called at /usr/bin/cpan line 193
> 
> cpan>
> 
> Can anyone give me direction  how to configure cpan again or how to install
> BioPerl on linux with its complete dependencies. Because I think I have a
> problem in CPAN configuration.
> 
> Regards,
> Prateek
> 

-- 
MAURICIO HERRERA CUADRA
arareko at campus.iztacala.unam.mx
Laboratorio de Genética
Unidad de Morfofisiología y Función
Facultad de Estudios Superiores Iztacala, UNAM




More information about the Bioperl-l mailing list