Perlは依然おかしい

しかしPerl 5.88は何度もPackape/portsでdeinstall, reinstallしても、依然改善さ
れていません。Perl ほぼ機能しなくなり、困りました。

現象は、Perl パッケージに含まれているモジュール以外は読み込まれないです。た
とえば、SpamAssassinの場合、Digest::SHA1はportsでmake install して、locateも
確認されたにもかかわらず

# locate Digest/SHA1
/usr/local/lib/perl5/site_perl/5.8.8/mach/Digest/SHA1.pm

SpamAssassin はエラーになります。
—-
Can’t locate loadable object for module Digest::SHA1 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
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/EvalTests.pm line 33
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/EvalTests.pm line 33.
BEGIN failed–compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/EvalTests.pm line 33.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line
55.
BEGIN failed–compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line
55.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin.pm line 71.
BEGIN failed–compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin.pm line 71.
Compilation failed in require at /usr/local/bin/spamassassin line 77.
BEGIN failed–compilation aborted at /usr/local/bin/spamassassin line 77.
procmail: Program failure (2) of “/usr/local/bin/spamassassin”
procmail: Rescue of unfiltered data succeeded

—-
Apache2.0.xのCGIから、Perlのスクリプトも同じ問題で全滅です。

Leave a Reply

Your email address will not be published. Required fields are marked *