FreeBSD: October 2008Archive
After installing SPAMASSASSIN, an error occured on its startup.
The message is
# error: Can't locate Sys/Syslog/Win32.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8) at (eval 19) line 2.
You can fix this Syslog.pm bug by commenting out the line in Syslog.pm (I edited "/usr/local/lib/perl5/5.8.8/mach/Sys/Syslog.pm" on my system/FreeBSD6.2.)
# use EventLog on Win32
my $is_Win32 = $^O =~ /Win32/i;
#eval "use Sys::Syslog::Win32"; # commented out this line