29.11.2012 21:56, ARUN SRINIVASAN wrote:
I tried installing the cpanm using
cpan APP:cpanminus

but since the user did not have write access on perl folders it did not
complete successfully. I tried again using 'sudo' but it said error with
'index file'

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
/home/arun1151/.cpan/sources/modules/02packages.details.txt.gz does not
contain a Last-Updated header.

Going to read '/home/arun1151/.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 23) line 1.


As I didn't have time to dig in, I did a apt-get install of cpanminus. I
was then able to install modules like DBI and works fine. I was wondering
if two methods of installing have any differences and will it impact my
module library by any chance.

Thanks
Arun


Hi Arun,

try to use this method ( under user account ) :

|curl -kLhttp://install.perlbrew.pl  | bash

Anyway following article ( and of coursehttp://perlbrew.pl  ) may be useful for 
solving this issue :
http://blog.fox.geek.nz/2010/09/installing-multiple-perls-with.html

Thanks.
|

Reply via email to