Page 1 of 1

PERL INSTALLATION error: Can't call method "can" w

PostPosted: Wed Jan 03, 2007 4:47 pm
by Koymack
can anybody help me out with this:

I'm using CentOS and following the SCRATCH install.... under INSTALLING PERL MODULES i followed all the way to install Bundle::CPAN and after i reload cpan i get this:

cpan[7]> install DBI
Running install for module DBI
Running make for T/TI/TIMB/DBI-1.53.tar.gz
Can't call method "can" without a package or object reference at (eval 211) line 2904.

cpan[8]> force install DBD::mysql
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-4.00.tar.gz
Can't call method "can" without a package or object reference at (eval 211) line 2904.

and it goes to all the installs....

please advice....


thanks in advance... :wink:

PostPosted: Thu Jan 04, 2007 5:53 am
by diyanat
seems like your urllist has a problem

at the cpan console type 'o conf urllist' check to see that the urls are in proper format and are working, you may configure the url listing again with the dialog 'o conf init urllist' and choose working urls by testing them first



Diyanat

PostPosted: Fri Jan 05, 2007 3:06 pm
by Koymack
thanks... :D