amavisd - adding path to perl @INC for "Can't locate Convert/BinHex.pm"
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)