Jason,

> /usr/ports/mail# /usr/local/sbin/amavisd start
> Problem in Amavis::DKIM code: Can't locate Net/DNS.pm in @INC (@INC
> contains: /usr/local/lib/perl5/5.12.1/BSDPAN /usr/local/lib/perl5/
> site_perl/5.12.1/mach /usr/local/lib/perl5/site_perl/5.12.1 /usr/local/
> lib/perl5/5.12.1/mach /usr/local/lib/perl5/5.12.1) at /usr/local/lib/
> perl5/site_perl/5.12.1/Mail/DKIM/DNS.pm line 14.
> BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/
> 5.12.1/Mail/DKIM/DNS.pm line 14.

Install the dns/p5-Net-DNS

That is strange, because the mail/p5-Mail-DKIM port does have
a dependency on dns/p5-Net-DNS and should have brought it in
when you reinstalled the mail/p5-Mail-DKIM .

> so I tried to instal p5-Mail-DKIM
> 
> whihc failed because it was installed (but it did install prerequisite
> packages

Perhaps you did not pkg_delete or pkg_deinstall them when
getting rid of all the p5- packages, so the ports manager
thought they are still installed, even when their files
were no longer there.

> now i get this error...

> roblem in antispam SA code: Can't locate Mail/SpamAssassin.pm in @INC
> (@INC contains: /usr/local/lib/perl5/5.12.1/BSDPAN /usr/local/lib/
> perl5/site_perl/5.12.1/mach /usr/local/lib/perl5/site_perl/5.12.1 /usr/
> local/lib/perl5/5.12.1/mach /usr/local/lib/perl5/5.12.1) at (eval 118)

(re)install mail/p5-Mail-SpamAssassin

> you guys must hate seeing my name

You will learn to read and obey the /usr/ports/UPDATING instructions,
especially when doing large-impact upgrades like perl.

Run the pkgdb -F often and clean all inconsistencies.

If there are other perl modules from ports that are supposedly
installed but are not, one way of dealing with each is to cd
to each and do (assuming sh or bash):
  make; make deinstall; FORCE_PKG_REGISTER=1 make reinstall

Mark

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to