On 02/06/03 09:39 AM, Matthew Seaman sat at the `puter and typed:
> 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";'
This tells me that I'm running 0.6, but pkg_info confirms that I have
the 0.82 port installed. The spamassassin port does require the
p5-File-Spec port, but doesn't seem to use it.
> 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
> 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.
Somehow I don't think that's quite enough. I tried Adrian's
suggestion and modified the use statement as follows:
use File::Spec 0.82;
But that didn't really help, now I get this:
procmail: Executing "spamassassin,-a,-P"
File::Spec version 0.82 required--this is only version 0.6 at
/usr/local/bin/spamassassin line 6.
BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 6.
procmail:  Thu Feb 6 08:26:02 2003
procmail: Program failure (255) of "spamassassin"
procmail: Rescue of unfiltered data succeeded
Next, I decided to reinstall the port, and I noticed the following:
## Differing version of File/Spec.pm found. You might like to
## Differing version of File/Spec/Mac.pm found. You might like to
## Differing version of File/Spec/OS2.pm found. You might like to
## Differing version of File/Spec/Unix.pm found. You might like to
## Differing version of File/Spec/VMS.pm found. You might like to
## Differing version of File/Spec/Win32.pm found. You might like to
## Running 'make install UNINST=1' will unlink all those files for you.
Appending installation info to /usr/local/lib/perllocal.pod
What's the danger of uninstalling these? Presumably most of what
works with 0.6 should work with 0.82, right? Should UNINST=1 always
be used? Never? If I do remove a perl module that's part of the base
distribution, and something breaks, how would I go about replacing it?
Louis LeBlanc [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
The Wright Bothers weren't the first to fly. They were just the first
not to crash.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message