amavisd-new-2.6.4 on Snow Leopard

2.6.4は、ちょっと前に出たのだけれども、Snow Leopardではエラーが出ていて、ずっと、2.6.2を使っていた。

ちょっと、余裕が出たので、再導入を試みたのですな。

root# 
root# 
root# which amavisd
/usr/local/bin/amavisd
root# 
root# 
root# amavisd -V
fetch_modules: error loading optional module MIME/Decoder/BinHex.pm:
  Can't locate Convert/BinHex.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.12.2/darwin-2level /usr/local/lib/perl5/site_perl/5.12.2 /usr/local/lib/perl5/5.12.2/darwin-2level /usr/local/lib/perl5/5.12.2) at /usr/local/lib/perl5/site_perl/5.12.2/MIME/Decoder/BinHex.pm line 43.
  BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.12.2/MIME/Decoder/BinHex.pm line 43.
  Compilation failed in require at /usr/local/bin/amavisd line 197.
amavisd-new-2.6.4 (20090625)
root# 
root# 
まぁ、CPANで、Convert::BinHexを導入すればいいかぁ、と高をくくっていた。
するとっ
root# 
root# 
root# cpan
cpan shell -- CPAN exploration and modules installation (v1.9456)
Enter 'h' for help.
cpan[1]> install Convert::BinHex                                                
Going to read '/var/root/.cpan/Metadata'
  Database was generated on Sat, 23 Oct 2010 14:28:46 GMT
Running install for module 'Convert::BinHex'
Running make for E/ER/ERYQ/Convert-BinHex-1.119.tar.gz
Fetching with LWP:
ftp://mirror.internode.on.net/pub/cpan/authors/id/E/ER/ERYQ/Convert-BinHex-1.119.tar.gz
Fetching with LWP:
ftp://mirror.internode.on.net/pub/cpan/authors/id/E/ER/ERYQ/CHECKSUMS
Checksum for /var/root/.cpan/sources/authors/id/E/ER/ERYQ/Convert-BinHex-1.119.tar.gz ok
Scanning cache /var/root/.cpan/build for sizes
.........................................................-------------------DONE
  CPAN.pm: Going to build E/ER/ERYQ/Convert-BinHex-1.119.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Convert::BinHex
cp lib/Convert/BinHex.pm blib/lib/Convert/BinHex.pm
Manifying blib/man3/Convert::BinHex.3
  ERYQ/Convert-BinHex-1.119.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/comp2bin.t .. Undefined subroutine &main::check called at t/comp2bin.t line 75.
t/comp2bin.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 9/9 subtests 
Test Summary Report
-------------------
t/comp2bin.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 9 tests but ran 0.
Files=1, Tests=0,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.02 cusr  0.00 csys =  0.06 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 255
  ERYQ/Convert-BinHex-1.119.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports ERYQ/Convert-BinHex-1.119.tar.gz
Running make install
  make test had returned bad status, won't install without force
Failed during this command:
 ERYQ/Convert-BinHex-1.119.tar.gz             : make_test NO
cpan[2]> quit                                                                   
Lockfile removed.
root# 
root# 
だめじゃん。
ググってみると、こんなページが見つかった。
http://discussions.apple.com/thread.jspa?messageID=11053868&tstart=0
好きではないけど、force installじゃっ
root# cpan
cpan shell -- CPAN exploration and modules installation (v1.9456)
Enter 'h' for help.
cpan[1]> force install Convert::BinHex                                          
Running install for module 'Convert::BinHex'
Running make for E/ER/ERYQ/Convert-BinHex-1.119.tar.gz
Checksum for /var/root/.cpan/sources/authors/id/E/ER/ERYQ/Convert-BinHex-1.119.tar.gz ok
Scanning cache /var/root/.cpan/build for sizes
............................................................................DONE
  CPAN.pm: Going to build E/ER/ERYQ/Convert-BinHex-1.119.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Convert::BinHex
cp lib/Convert/BinHex.pm blib/lib/Convert/BinHex.pm
Manifying blib/man3/Convert::BinHex.3
  ERYQ/Convert-BinHex-1.119.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/comp2bin.t .. Undefined subroutine &main::check called at t/comp2bin.t line 75.
t/comp2bin.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 9/9 subtests 
Test Summary Report
-------------------
t/comp2bin.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 9 tests but ran 0.
Files=1, Tests=0,  1 wallclock secs ( 0.02 usr  0.01 sys +  0.02 cusr  0.01 csys =  0.06 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 255
  ERYQ/Convert-BinHex-1.119.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports ERYQ/Convert-BinHex-1.119.tar.gz
Running make install
Installing /usr/local/lib/perl5/site_perl/5.12.2/Convert/BinHex.pm
Installing /usr/local/share/man/man3/Convert::BinHex.3
Appending installation info to /usr/local/lib/perl5/5.12.2/darwin-2level/perllocal.pod
  ERYQ/Convert-BinHex-1.119.tar.gz
  /usr/bin/make install  -- OK
Failed during this command:
 ERYQ/Convert-BinHex-1.119.tar.gz             : make_test FAILED but failure ignored because 'force' in effect
cpan[2]> quit                                                                   
Lockfile removed.
root# 
あー、きもちわりぃ〜
ただし、
root# 
root# amavisd -V
amavisd-new-2.6.4 (20090625)
root# 
ちゃんと、動いたのでした...
むぅ

トラックバック(0)

このブログ記事を参照しているブログ一覧: amavisd-new-2.6.4 on Snow Leopard

このブログ記事に対するトラックバックURL: http://www.kumecchi.net/mt/mt-tb.cgi/2134

コメントする

QRコード

QRコード対応携帯からアクセスできます
QRコード対応携帯からアクセスできます  
Creative Commons License
このブログのライセンスは クリエイティブ・コモンズライセンス.
Powered by Movable Type 6.3.2

Fatal error: Uncaught Error: Call to undefined function split() in /Users/kumecchi/weblog/2010/10/amavisd-new-264-on-snow-leopar.php:751 Stack trace: #0 {main} thrown in /Users/kumecchi/weblog/2010/10/amavisd-new-264-on-snow-leopar.php on line 751