You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Marc Perkel <ma...@perkel.com> on 2005/01/25 18:13:45 UTC

Install Problems - Time::HiRes

I'm doing a new install on a Fedora Core 3 AMD 64 box with the 64 bit 
OS. I'm getting the following error:

Jan 24 14:42:00 localhost spamd[4661]: Use of inherited AUTOLOAD for 
non-method Time::HiRes::time() is deprecated at 
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin.pm line 1103.

So - yes - I did install Time::HiRes several times including forcing it 
to install. No - I do not have another spamd running process. And - I 
also have some RAZOR problems that I'm also looking into. I ram MAKE 
TEST and here's a piece of the results:


t/plugin....................ok                                               

t/plugin_file...............ok                                               

t/prefs_include.............ok                                               

t/razor2....................razor2 check skipped:  Can't locate object 
method "new" via package "Razor2::Client::Agent" at 
../blib/lib/Mail/SpamAssassin/Dns.pm line 430.
       Not found: spam =  Listed in Razor2
# Failed test 1 in t/SATest.pm at line 561
t/razor2....................NOK 1razor2 check skipped:  Can't locate 
object method "new" via package "Razor2::Client::Agent" at 
../blib/lib/Mail/SpamAssassin/Dns.pm line 430.


Note: this may not be an SpamAssassin bug, as Razor tests can
fail due to problems with the Razor servers.

t/razor2....................FAILED test 
1                                          Failed 1/2 tests, 50.00% okay
t/rcvd_parser...............ok                                               

t/recips....................ok                                               

t/relative_scores...........ok                                               

t/report_safe...............ok                                               

t/reportheader..............ok                                               

t/reportheader_8bit.........ok                                               

t/rule_names................ok                                               

t/rule_tests................ok                                               

t/rule_types................ok                                               

t/sha1......................ok                                               

t/spam......................ok                                               

t/spamc.....................ok                                               

t/spamc_B...................spamd start failed: log: logging enabled:
       facility: stderr
       socket:   file
       output:   stderr
logging to stderr disabled: already debugging to stderr
creating INET socket:
       Listen: 128
       LocalAddr: 127.0.0.1
       LocalPort: 48373
       Proto: 6
       ReuseAddr: 1
       Type: 1
debug: SpamAssassin version 3.0.2
debug: Score set 0 chosen.
debug: Storable module v2.13 found
debug: Preloading modules with HOME=/tmp/spamd-5174-init
Use of inherited AUTOLOAD for non-method Time::HiRes::time() is 
deprecated at ../blib/lib/Mail/SpamAssassin.pm line 1103.
Can't locate auto/Time/HiRes/time.al in @INC (@INC contains: lib 
../blib/lib /usr/lib/perl5/site_perl/5.8.5 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi 
/usr/lib64/perl5/site_perl/5.8.4/x86_64-linux-thread-multi 
/usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi 
/usr/lib64/perl5/site_perl/5.8.2/x86_64-linux-thread-multi 
/usr/lib64/perl5/site_perl/5.8.1/x86_64-linux-thread-multi 
/usr/lib64/perl5/site_perl/5.8.0/x86_64-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 
/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi 
/usr/lib64/perl5/vendor_perl/5.8.4/x86_64-linux-thread-multi 
/usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi 
/usr/lib64/perl5/vendor_perl/5.8.2/x86_64-linux-thread-multi 
/usr/lib64/perl5/vendor_perl/5.8.1/x86_64-linux-thread-multi 
/usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 
/usr/lib/perl5/vendor_perl) at ../blib/lib/Mail/SpamAssassin.pm line 1103

----------------------------------------------

So - what am I doing wrong?

-- 
Marc Perkel - marc@perkel.com

Spam Filter: http://www.junkemailfilter.com
   My Blog: http://marc.perkel.com
My Religion: http://www.churchofreality.org
~ "If it's real - we believe in it!" ~


Re: Install Problems - Time::HiRes

Posted by Marc Perkel <ma...@perkel.com>.
Yes - I have the 1.65

Matt Kettler wrote:

> At 12:13 PM 1/25/2005, Marc Perkel wrote:
>
>> I'm doing a new install on a Fedora Core 3 AMD 64 box with the 64 bit 
>> OS. I'm getting the following error:
>>
>> Jan 24 14:42:00 localhost spamd[4661]: Use of inherited AUTOLOAD for 
>> non-method Time::HiRes::time() is deprecated at 
>> /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin.pm line 1103.
>>
>> So - yes - I did install Time::HiRes several times including forcing 
>> it to install. No - I do not have another spamd running process. And 
>> - I also have some RAZOR problems that I'm also looking into. I ram 
>> MAKE TEST and here's a piece of the results:
>
>
>
> Marc, what version of Time::HiRes do you have?
>
> Doing a bit of googling I found one report of the same problem to the 
> debian bugs list, and they fixed it by upgrading from Time::HiRes-1.56 
> to 1.65.
>
>
>
>

-- 
Marc Perkel - marc@perkel.com

Spam Filter: http://www.junkemailfilter.com
    My Blog: http://marc.perkel.com
My Religion: http://www.churchofreality.org
~ "If it's real - we believe in it!" ~



Re: Install Problems - Time::HiRes

Posted by Matt Kettler <mk...@evi-inc.com>.
At 12:13 PM 1/25/2005, Marc Perkel wrote:
>I'm doing a new install on a Fedora Core 3 AMD 64 box with the 64 bit OS. 
>I'm getting the following error:
>
>Jan 24 14:42:00 localhost spamd[4661]: Use of inherited AUTOLOAD for 
>non-method Time::HiRes::time() is deprecated at 
>/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin.pm line 1103.
>
>So - yes - I did install Time::HiRes several times including forcing it to 
>install. No - I do not have another spamd running process. And - I also 
>have some RAZOR problems that I'm also looking into. I ram MAKE TEST and 
>here's a piece of the results:


Marc, what version of Time::HiRes do you have?

Doing a bit of googling I found one report of the same problem to the 
debian bugs list, and they fixed it by upgrading from Time::HiRes-1.56 to 1.65.




Re: Install Problems - Time::HiRes

Posted by Theo Van Dinter <fe...@kluge.net>.
On Tue, Jan 25, 2005 at 09:13:45AM -0800, Marc Perkel wrote:
> Jan 24 14:42:00 localhost spamd[4661]: Use of inherited AUTOLOAD for 
> non-method Time::HiRes::time() is deprecated at 
> /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin.pm line 1103.
> 
> So - yes - I did install Time::HiRes several times including forcing it 
> to install. No - I do not have another spamd running process. And - I 
> also have some RAZOR problems that I'm also looking into. I ram MAKE 
> TEST and here's a piece of the results:

All I can say is that it worked fine for me the first time.  The RPM comes
with FC3, so it's pretty simple.

If you're installing via CPAN (I assume), I'd suggest blowing away all traces
of it, then install the RPM and try SA again.

> t/razor2....................razor2 check skipped:  Can't locate object 
> method "new" via package "Razor2::Client::Agent" at 
> ../blib/lib/Mail/SpamAssassin/Dns.pm line 430.

I'm guessing you didn't install / there's an issue with, one of the Razor
dependencies.  Basically if the module can't load, you can't call new().

-- 
Randomly Generated Tagline:
It's amazing how much "mature wisdom" resembles being too tired.