thanks adrano.
you are correct. have installed perl-cpan. it is resolved now.

thanks again,



On Feb 1, 2008 8:17 AM, Adriano Ferreira <[EMAIL PROTECTED]> wrote:

> On Feb 1, 2008 10:47 AM, Pradeep Mishra <[EMAIL PROTECTED]>
> wrote:
> > hi all
> >
> > I have been trying to install spamassin using ...perl -MCPAN -e shell
> > which throws an error
> >
> > Can't locate CPAN.pm in @INC (@INC contains:
> > /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
> > /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
> > /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
> > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
> > /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
> > /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
> > /usr/lib/perl5/site_perl
> > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
> > /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
> > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
> > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
> > /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
> > /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
> > /usr/lib/perl5/5.8.8 .).
> > BEGIN failed--compilation aborted.
> > [EMAIL PROTECTED] ~]#
> >
> >
> > Tried to search for CPAN.pm but is not found.
> >
> > perl version is
> > [EMAIL PROTECTED] ~]# perl -v
> >
> > This is perl, v5.8.8 built for i386-linux-thread-multi
> >
> >
> > packages installed
> > [EMAIL PROTECTED] ~]# rpm -qa | grep perl
> > perl-devel-5.8.8-32.fc8
> > perl-libs-5.8.8-32.fc8
> > perl-String-CRC32-1.4-3.fc8
> > perl-5.8.8-32.fc8
> > perl-ExtUtils-MakeMaker-6.30-32.fc8
> > groff-perl-1.18.1.4-10.fc8
> > perl-DBI-1.58-2.fc8
> > perl-Test-Harness-2.56-32.fc8
> > perl-DBD-MySQL-4.005-2.fc8.1
> > perl-ExtUtils-Embed-1.26-32.fc8
> > [EMAIL PROTECTED] ~]#
> >
> >
> >
> > Would appreciate if some one can help me solve this issue.
>
> It looks like you need to install a rpm package which should probably
> be named perl-CPAN or something like that. Your current system does
> not have CPAN installed or have used some weird path perl is not
> looking at.
>
> >
> > Thanks in advance.
> >
> > Regards
> >
> >
> >
> >
> > --
> > Good Judgement comes from Experience and Experience comes from bad
> > Judgement!!
> > The more I know, the more I realize I don't know!?
> > The easiest way to find out is to try it!!!
> >
>



-- 
Good Judgement comes from Experience and Experience comes from bad
Judgement!!
The more I know, the more I realize I don't know!?
The easiest way to find out is to try it!!!

Reply via email to