trouble installing mailscanner on freeBSD 6.2 server

Bracey, John JBracey at csuchico.edu
Sun Apr 19 05:31:27 IST 2009


Alas, no joy.   After installing Perl 5.10 and updating the perl
modules, and installing the mailscanner-devel port, I get this now:

[root at scooby /var/spool/mqueue.in]# mailscanner -debug -debug-sa
/usr/local/etc/MailScanner/MailScanner.conf
Variable "$FIELD_NAME" is not imported at
/usr/local/lib/MailScanner/MailScanner/Message.pm line 6479.
Variable "$FIELD_NAME" is not imported at
/usr/local/lib/MailScanner/MailScanner/Message.pm line 6482.
Global symbol "$FIELD_NAME" requires explicit package name at
/usr/local/lib/MailScanner/MailScanner/Message.pm line 6479.
Global symbol "$FIELD_NAME" requires explicit package name at
/usr/local/lib/MailScanner/MailScanner/Message.pm line 6482.
Compilation failed in require at /usr/local/sbin/mailscanner line 79.
BEGIN failed--compilation aborted at /usr/local/sbin/mailscanner line
79.
[root at scooby /var/spool/mqueue.in]#

Any ideas?  Or do I have this so screwed up there's no hope? 

Thanks.

-John Bracey

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Drew
Marshall
Sent: Thursday, April 16, 2009 10:34 PM
To: MailScanner discussion
Subject: Re: trouble installing mailscanner on freeBSD 6.2 server

*This message was transferred with a trial version of CommuniGate(r)
Pro*

On 17 Apr 2009, at 04:41, Bracey, John wrote:

> here's what is recorded in /var/log/messages when the process dies:
>
> Apr 16 20:40:38 scooby kernel: pid 10382 (perl5.8.9), uid 0: exited on
> signal 6
>
> Any ideas welcome.

Looks like with your to'ings and fro'ings with perl you have your  
modules in a right mess. If you don't mind being a little more cutting  
edge, I would pkg_delete perl-5.8 and/or 5.9, then cd /usr/ports/lang/ 
perl5.10 and install that (It's the future ;-) ).

Then (Because I have never been that successful with the perl module  
move/ upgrade script) cd /var/db/pkg and (Assuming you have  
portupgrade or similar installed) portupgrade -f p5* pecl* and let it  
do it's thing for a while. Once that's finished, you should have perl  
with it's modules all in the same place. Once that's done, install the  
latest MS beta which works properly with perl 5.10 (I posted my own MS  
port file a week or so ago that will do it).

Drew
-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list