Mac::Growl とか Mac::FSEvent がインストールできない
Perl 自体は Mac Ports を使用して /opt/local/ にインストール。
$ perl -v This is perl 5, version 12, subversion 1 (v5.12.1) built for darwin-thread-multi-2level
.zshenv は以下の通りに設定
export LANG=ja_JP.UTF-8 export LESSCHARSET=utf-8 export LC_CTYPE="ja_JP.UTF-8" export LANG_ROOT="${HOME}/lang" export MODULEBUILDRC="${LANG_ROOT}/perl5/.modulebuildrc" export PERL_MM_OPT="INSTALL_BASE=${LANG_ROOT}/perl5" export PERL5LIB="${LANG_ROOT}/perl5/lib/perl5:${LANG_ROOT}/perl5/lib/perl5/darwin-thread-multi-2level:$PERL5LIB" export PATH="${LANG_ROOT}/perl5/bin:$PATH"
cpanm (App::cpanminus) 1.0015 on perl 5.012001 built for darwin-thread-multi-2level Work directory is /Users/heavenshell/.cpanm/work/1286796787.11872 You have make /usr/bin/make You have LWP 5.836 You have /usr/bin/tar: bsdtar 2.6.2 - libarchive 2.6.2 You have /usr/bin/unzip Searching Mac::Growl on cpanmetadb ... Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.56) Checking if you have ExtUtils::Install 1.46 ... Yes (1.55) Checking if you have Module::Build 0.28 ... Yes (0.3603) --> Working on Mac::Growl Fetching http://search.cpan.org/CPAN/authors/id/C/CN/CNANDOR/Mac-Growl-0.67.tar.gz -> OK Unpacking Mac-Growl-0.67.tar.gz Entering Mac-Growl-0.67 Configuring Mac-Growl-0.67 Running Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Mac::Growl -> OK Finding PREREQ from Makefile ... Building and testing Mac::Growl cp lib/Mac/Growl.pm blib/lib/Mac/Growl.pm cp lib/Mac/Glue/glues/GrowlHelperApp blib/lib/Mac/Glue/glues/GrowlHelperApp cp lib/Mac/Glue/glues/GrowlHelperApp.pod blib/lib/Mac/Glue/glues/GrowlHelperApp.pod Manifying blib/man3/Mac::Growl.3pm Manifying blib/man3/Mac::Glue::glues::GrowlHelperApp.3pm perl version 5.12.1 can't run /usr/bin/gluemac. Try the alternative(s): /usr/bin/gluemac5.10.0 (uses perl 5.10.0) /usr/bin/gluemac5.8.9 (uses perl 5.8.9) Run "man perl" for more information about multiple version support in Mac OS X. make: *** [.makeglue] Error 255 -> FAIL Installing Mac::Growl failed. See /Users/heavenshell/.cpanm/build.log for details.
Mac::FSEvents
cpanm (App::cpanminus) 1.0015 on perl 5.012001 built for darwin-thread-multi-2level Work directory is /Users/heavenshell/.cpanm/work/1286796963.12073 You have make /usr/bin/make You have LWP 5.836 You have /usr/bin/tar: bsdtar 2.6.2 - libarchive 2.6.2 You have /usr/bin/unzip Searching Mac::FSEvents on cpanmetadb ... Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.56) Checking if you have ExtUtils::Install 1.46 ... Yes (1.55) Checking if you have Module::Build 0.28 ... Yes (0.3603) --> Working on Mac::FSEvents Fetching http://search.cpan.org/CPAN/authors/id/A/AG/AGRUNDMA/Mac-FSEvents-0.04.tar.gz -> OK Unpacking Mac-FSEvents-0.04.tar.gz Entering Mac-FSEvents-0.04 Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.56) Configuring Mac-FSEvents-0.04 Running Makefile.PL Processing hints file hints/darwin.pl Checking if your kit is complete... Looks good Adding -arch i386 -arch ppc Writing Makefile for Mac::FSEvents -> OK Finding PREREQ from Makefile ... Building and testing Mac-FSEvents-0.04 cp lib/Mac/FSEvents.pm blib/lib/Mac/FSEvents.pm cp lib/Mac/FSEvents/Event.pm blib/lib/Mac/FSEvents/Event.pm /opt/local/bin/perl /opt/local/lib/perl5/5.12.1/ExtUtils/xsubpp -typemap /opt/local/lib/perl5/5.12.1/ExtUtils/typemap -typemap typemap FSEvents.xs > FSEvents.xsc && mv FSEvents.xsc FSEvents.c Please specify prototyping behavior for FSEvents.xs (see perlxs manual) /usr/bin/gcc-4.2 -c -I. -arch i386 -arch ppc -pipe -O2 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector -I/opt/local/include -O3 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" "-I/opt/local/lib/perl5/5.12.1/darwin-thread-multi-2level/CORE" FSEvents.c Running Mkbootstrap for Mac::FSEvents () chmod 644 FSEvents.bs rm -f blib/arch/auto/Mac/FSEvents/FSEvents.bundle env MACOSX_DEPLOYMENT_TARGET=10.3 /usr/bin/gcc-4.2 -arch i386 -arch ppc -L/opt/local/lib -bundle -undefined dynamic_lookup -fstack-protector -framework CoreServices -framework CoreFoundation FSEvents.o -o blib/arch/auto/Mac/FSEvents/FSEvents.bundle chmod 755 blib/arch/auto/Mac/FSEvents/FSEvents.bundle cp FSEvents.bs blib/arch/auto/Mac/FSEvents/FSEvents.bs chmod 644 blib/arch/auto/Mac/FSEvents/FSEvents.bs Manifying blib/man3/Mac::FSEvents::Event.3pm Manifying blib/man3/Mac::FSEvents.3pm PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'use Mac::FSEvents;' # at t/01use.t line 3. # Tried to use 'Mac::FSEvents'. # Error: Can't load '/Users/heavenshell/.cpanm/work/1286796963.12073/Mac-FSEvents-0.04/blib/arch/auto/Mac/FSEvents/FSEvents.bundle' for module Mac::FSEvents: dlopen(/Users/heavenshell/.cpanm/work/1286796963.12073/Mac-FSEvents-0.04/blib/arch/auto/Mac/FSEvents/FSEvents.bundle, 2): no suitable image found. Did find: # /Users/heavenshell/.cpanm/work/1286796963.12073/Mac-FSEvents-0.04/blib/arch/auto/Mac/FSEvents/FSEvents.bundle: no matching architecture in universal wrapper at /opt/local/lib/perl5/5.12.1/darwin-thread-multi-2level/DynaLoader.pm line 204. # at (eval 4) line 2 # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/01use.t .......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/02pod.t .......... skipped: Test::Pod 1.14 required t/03podcoverage.t .. skipped: Test::Pod::Coverage 1.04 required t/04critic.t ....... skipped: Critic test only for developers. Can't load '/Users/heavenshell/.cpanm/work/1286796963.12073/Mac-FSEvents-0.04/blib/arch/auto/Mac/FSEvents/FSEvents.bundle' for module Mac::FSEvents: dlopen(/Users/heavenshell/.cpanm/work/1286796963.12073/Mac-FSEvents-0.04/blib/arch/auto/Mac/FSEvents/FSEvents.bundle, 2): no suitable image found. Did find: /Users/heavenshell/.cpanm/work/1286796963.12073/Mac-FSEvents-0.04/blib/arch/auto/Mac/FSEvents/FSEvents.bundle: no matching architecture in universal wrapper at /opt/local/lib/perl5/5.12.1/darwin-thread-multi-2level/DynaLoader.pm line 204. at t/05event.t line 9 Compilation failed in require at t/05event.t line 9. BEGIN failed--compilation aborted at t/05event.t line 9. t/05event.t ........ Dubious, test returned 2 (wstat 512, 0x200) No subtests run Test Summary Report ------------------- t/01use.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/05event.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=5, Tests=1, 0 wallclock secs ( 0.04 usr 0.03 sys + 0.16 cusr 0.05 csys = 0.28 CPU) Result: FAIL Failed 2/5 test programs. 1/1 subtests failed. make: *** [test_dynamic] Error 2 -> FAIL Installing Mac::FSEvents failed. See /Users/heavenshell/.cpanm/build.log for details.
ググってもインストールに失敗したというようなのは出てこないんだよなー。
何をすれば良いのか良くわからん…。