I m试图在我的Mabook Pro上安装Moose(CPAN模块)。 该公司发现依赖Sub-Name,并在试图安装时收到以下错误信息。 关于我如何解决这一问题的想法?
XMATH/Sub-Name-0.04.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, blib/lib , blib/arch )" t/*.t t/smoke....Can t load /private/var/root/.cpan/build/Sub-Name-0.04-ziHbmm/blib/arch/auto/Sub/Name/Name.bundle for module Sub::Name: dlopen(/private/var/root/.cpan/build/Sub-Name-0.04-ziHbmm/blib/arch/auto/Sub/Name/Name.bundle, 2): no suitable image found. Did find: /private/var/root/.cpan/build/Sub-Name-0.04-ziHbmm/blib/arch/auto/Sub/Name/Name.bundle: mach-o, but wrong architecture at /opt/local/lib/perl5/5.8.9/darwin-2level/DynaLoader.pm line 230. at t/smoke.t line 6 Compilation failed in require at t/smoke.t line 6.
+++ 增 编
I tried the suggestion to use the command sudo port install p5-moose
安装报告取得了成功,但“使用Moose”的档案显示:
"Can t load /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Class/C3/XS/XS.bundle for module Class::C3::XS: dlopen(/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Class/C3/XS/XS.bundle, 1): no suitable image found. Did find: /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Class/C3/XS/XS.bundle: mach-o, but wrong architecture at /opt/local/lib/perl5/5.8.9/darwin-2level/XSLoader.pm line 73. at /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/Class/C3/XS.pm line 48 Compilation failed in require at (eval 5) line 3.
我很想知道,当我从我的旧机器(前电话)移至这台机器时,如果双筒移动,我现在需要重新编造。 但是,如果是,我如何这样做?