From owner-freebsd-questions Thu Feb 6 1:39:11 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04D2E37B401 for ; Thu, 6 Feb 2003 01:39:10 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D07843F75 for ; Thu, 6 Feb 2003 01:39:08 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id h169d0ve054420 for ; Thu, 6 Feb 2003 09:39:00 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id h169d0E5054419 for freebsd-questions@FreeBSD.ORG; Thu, 6 Feb 2003 09:39:00 GMT Date: Thu, 6 Feb 2003 09:39:00 +0000 From: Matthew Seaman To: FreeBSD Questions Subject: Re: More SpamAssassin questions - it won't run. Message-ID: <20030206093900.GC53194@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , FreeBSD Questions References: <20030206041925.GA96790@keyslapper.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030206041925.GA96790@keyslapper.org> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.44 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Feb 05, 2003 at 11:19:26PM -0500, Louis LeBlanc wrote: > Here's what I see in the procmail output: > procmail: Executing "spamassassin,-a,-P" > Can't locate object method "splitpath" via package "File::Spec" at /usr/local/bin/spamassassin line 18. > BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 38. > procmail: Program failure (2) of "spamassassin" > procmail: Rescue of unfiltered data succeeded > > I know this is some kind of perl error, but I'm still quite a ways > from guru status where that's concerned. I've tried a few things, but > I can't get this working. You're using perl-5.005.03 as bundled with FreeBSD, and consequently an older version of the File::Spec module. That's something that keeps popping up in various places. You can tell what version of File::Spec you're using by: % perl -MFile::Spec -e 'print "$File::Spec::VERSION\n";' I can tell you that spamassassin works without complaint using version 0.82 (as bundled with perl-5.6.1) or version 0.83 (as bundled with perl-5.8.0). You can install the devel/p5-File-Spec port to get version 0.82 for the bundled perl, which should sort things out for you. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message