You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by diptanjan <di...@yahoo.com> on 2007/06/07 08:59:20 UTC

sa-update error:

Hi Friends,

I have installed spamassassin few days back. using CPAN.
I gave the following command 

# perl -MCPAN -e shell                    [as root]
cpan>	o conf prerequisites_policy ask
cpan>	install Mail::SpamAssassin
cpan>	quit

spamassassin -V gives me 

SpamAssassin version 3.2.0
running on Perl version 5.8.8

I have tested my isatallation by giving command

# /usr/bin/spamassassin -t <
/root/.cpan/build/Mail-SpamAssassin-3.2.0/sample-spam.txt

But now when I am trying to update my Spamassassin by following command its
give me error.

# sa-update
Can't locate Archive/Tar.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/5.8.8/i586-linux-thread-multi
/usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl) at
/usr/bin/sa-update line 81.
BEGIN failed--compilation aborted at /usr/bin/sa-update line 81.

Can someone help me what went wrong? ans how to solve this problem.

TIA

Diptanjan
-- 
View this message in context: http://www.nabble.com/sa-update-error%3A-tf3882174.html#a11002931
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: sa-update error:

Posted by diptanjan <di...@yahoo.com>.
Thanks Daryl

You were 100% right.. I just missed that section.

I tried to Update those section issuing the commands from CPAN... 

But the problem was the Mirror CPAN was using was not accessable so it
wasn't downloading the *.gz files

So I had to download those .gz files manually from different mirroe site and
than run the CPAN command... 

I am little surprized why CPAN is using a mirror site thats not working? Or
is there something wrong in myside..

Anyway all credit goes to you... If you not have mentioned the skipped
section in INSTALL.doc I would never have spotted out the sa-update error.

Thanks again

Diptanjan

###################################################

Perhaps you haven't installed Archive::Tar (or IO::Zlib) as noted in the 
INSTALL doc.

Daryl

-- 
View this message in context: http://www.nabble.com/sa-update-error%3A-tf3882174.html#a11005804
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: sa-update error:

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
diptanjan wrote:
> Hi Friends,
> 
> I have installed spamassassin few days back. using CPAN.
> I gave the following command 
> 
> # perl -MCPAN -e shell                    [as root]
> cpan>	o conf prerequisites_policy ask
> cpan>	install Mail::SpamAssassin
> cpan>	quit
> 
> spamassassin -V gives me 
> 
> SpamAssassin version 3.2.0
> running on Perl version 5.8.8
> 
> I have tested my isatallation by giving command
> 
> # /usr/bin/spamassassin -t <
> /root/.cpan/build/Mail-SpamAssassin-3.2.0/sample-spam.txt
> 
> But now when I am trying to update my Spamassassin by following command its
> give me error.
> 
> # sa-update
> Can't locate Archive/Tar.pm in @INC (@INC contains:
> /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/5.8.8/i586-linux-thread-multi
> /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl) at
> /usr/bin/sa-update line 81.
> BEGIN failed--compilation aborted at /usr/bin/sa-update line 81.
> 
> Can someone help me what went wrong? ans how to solve this problem.

Perhaps you haven't installed Archive::Tar (or IO::Zlib) as noted in the 
INSTALL doc.

Daryl