Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

amavisd - adding path to perl @INC for "Can't locate Convert/BinHex.pm"

hello!

When I do "amavisd -V" on the command line I get the error below.

I have installed Convert/BinHex.pm using CPAN, but it is NOT located in one of the paths that perl is searching in. Cpan has installed the module in:

/opt/local/lib/perl5/site_perl/5.8.9

How do add that path so that @INC looks in the right place????

regan




pukeko:~ administrator$ amavisd -V
fetch_modules: error loading optional module MIME/Decoder/BinHex.pm:
Can't locate Convert/BinHex.pm in @INC (@INC contains: /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1) at /System/Library/Perl/Extras/5.8.6/MIME/Decoder/BinHex.pm line 44.
BEGIN failed--compilation aborted at /System/Library/Perl/Extras/5.8.6/MIME/Decoder/BinHex.pm line 44.
Compilation failed in require at /usr/bin/amavisd line 197.
amavisd-new-2.6.4 (20090625)

Dual G5 Xserve, Mac OS X (10.4.11)

Posted on Dec 15, 2009 9:21 PM

Reply
20 replies

Feb 10, 2010 2:22 PM in response to reganyelcich

regan y wrote:
Was advised by Alex to remove the newer version of perl (which was installed via macports), and then reinstalled Convert::BinHex via cpan and it installed in the right place.


Well, since my error looks identical to the one the original poster had, should I just remove the newer version of perl and then reinstall Convert::BinHex via cpan like he stated?? If so, how do I do that exactly? I'd really like to get this amavisd-new installed and working correctly. I can only take so many 'blue-pill' email jokes...

Any help is very appreciated.

Thanks.

Feb 11, 2010 12:36 AM in response to Garner

You never mentioned that you installed a newer version of perl. If you did install a newer version or used MacPorts or Fink, the instructions will not work without modification and the addition of many more modules.

As an aside, simply updating amavisd will not rid you of spam. You will also need to configure it beyond what Server Admin can do.

Feb 11, 2010 11:26 AM in response to pterobyte

I never used MacPorts or Fink, and I don't think I installed a newer version of perl. But the error messages for both of use show '/Perl/5.8.6' within them. I just figured that since the error message was exactly the same, and those numbers looked alike, maybe I did without knowing. /shrug

I'm a bit more comfortable working with the config files now that I've done so much research and tweaking. But of course, it doesn't help to configure anything if amavisd isn't running at all...

If you can think of anything else that I could try I'd appreciate it.

Thanks again.

Feb 19, 2010 3:10 PM in response to pterobyte

Thanks for your input (as always).

I'm actually setting up a new Snow Leopard Server to use. I don't plan on migrating any info or mailboxes to it. We're a small business here, I'll just have people save their mail to mailboxes on their Macs. Then plug up the new server and start using it for email.

It sounds easy enough, I hope there's not a lot more to it than that. I'm using the same IP address and domain and such for the new machine. Hopefully it's as easy as unplugging the current server and plugging in the new one.

Wish me luck... :^)

amavisd - adding path to perl @INC for "Can't locate Convert/BinHex.pm"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.