You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Tony Baker <to...@onestep.co.uk> on 2007/11/02 09:58:09 UTC
running sa-update gives error
Hi
I have an Apple Intel Xserve running MacOSX 10.4.10
I have recently upgraded spamassassin to
server:~ root# spamassassin -V
SpamAssassin version 3.2.3
running on Perl version 5.8.6
Now when I run sa-update i get the following returned..
server:~ root# sa-update
Can't locate LWP/UserAgent.pm in @INC (@INC contains: /Library/Perl/
5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /System/Library/
Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /
Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /
Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/
Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/
5.8.6 /Library/Perl/5.8.1) at /usr/bin/sa-update line 79.
BEGIN failed--compilation aborted at /usr/bin/sa-update line 79.
What have I broken, and how can I fix it
Tony
Re: running sa-update gives error
Posted by Olivier Nicole <on...@cs.ait.ac.th>.
> error: gpg required but not found!
Install gpg, for example from http://www.gnupg.org/
Olivier
Re: running sa-update gives error
Posted by Tony Baker <to...@onestep.co.uk>.
On 2 Nov 2007, at 09:51, Olivier Nicole wrote:
>> I can install LWP::UserAgent
>>
>> but I do not know how to fix @INC setting, if that is what is
>> required.
>> How do I check what it is supposed to be?
>
> If you install LWP::UserAgent through cpan (the recommended way) it
> will be installed at the right place, hopefully inside one of your
> @INClude directory.
Installed LWP::UserAgent through cpan
now when running sa-update I get the folowing:
server: admin# /usr/bin/sa-update
error: gpg required but not found!
Tony
Re: running sa-update gives error
Posted by Olivier Nicole <on...@cs.ait.ac.th>.
> I can install LWP::UserAgent
>
> but I do not know how to fix @INC setting, if that is what is required.
> How do I check what it is supposed to be?
If you install LWP::UserAgent through cpan (the recommended way) it
will be installed at the right place, hopefully inside one of your
@INClude directory.
Olivier
Re: running sa-update gives error
Posted by Tony Baker <to...@onestep.co.uk>.
On 2 Nov 2007, at 09:20, Daryl C. W. O'Shea wrote:
> Tony Baker wrote:
>> server:~ root# sa-update
>> Can't locate LWP/UserAgent.pm in @INC (@INC contains: /Library/
>> Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /System/
>> Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/
>> 5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-
>> multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /
>> System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /
>> System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1) at /usr/bin/
>> sa-update line 79.
>> BEGIN failed--compilation aborted at /usr/bin/sa-update line 79.
>> What have I broken, and how can I fix it
>
> Install LWP::UserAgent or fix your @INC setting... whichever is
> appropriate.
>
Daryl, thanks for replying
I can install LWP::UserAgent
but I do not know how to fix @INC setting, if that is what is required.
How do I check what it is supposed to be?
Tony
Re: running sa-update gives error
Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Tony Baker wrote:
> server:~ root# sa-update
> Can't locate LWP/UserAgent.pm in @INC (@INC contains:
> /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6
> /System/Library/Perl/5.8.6/darwin-thread-multi-2level
> /System/Library/Perl/5.8.6 /Library/Perl
> /Network/Library/Perl/5.8.6/darwin-thread-multi-2level
> /Network/Library/Perl/5.8.6 /Network/Library/Perl
> /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
> /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1) at
> /usr/bin/sa-update line 79.
> BEGIN failed--compilation aborted at /usr/bin/sa-update line 79.
>
>
> What have I broken, and how can I fix it
Install LWP::UserAgent or fix your @INC setting... whichever is appropriate.
Daryl