I am trying to install the MongoDB module using cpanm on Mac OS 10.6.8. However, as it tries to fulfill dependencies, it appears to fail on the install of Stash, as follows:

Building and testing Package-Stash-XS-0.25 cp lib/Package/Stash/XS.pm blib/lib/Package/Stash/XS.pm /usr/bin/perl /Library/Perl/Updates/5.10.0/ExtUtils/xsubpp -typemap / +System/Library/Perl/5.10.0/ExtUtils/typemap -typemap typemap XS.xs > + XS.xsc && mv XS.xsc XS.c gcc-4.2 -c -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -D +PERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os -DVERSION +=\"0.25\" -DXS_VERSION=\"0.25\" "-I/System/Library/Perl/5.10.0/darwi +n-thread-multi-2level/CORE" XS.c XS.xs: In function ‘XS_Package__Stash__XS_add_symbol’: XS.xs:534: warning: format ‘%d’ expects type ‘int’, but argument 3 has + type ‘I32’ XS.xs:534: warning: format ‘%d’ expects type ‘int’, but argument 4 has + type ‘I32’ /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/ +../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ +ppc/as) for architecture ppc not installed Installed assemblers are: /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64 /usr/bin/../libexec/gcc/darwin/i386/as for architecture i386 XS.xs: In function ‘XS_Package__Stash__XS_add_symbol’: XS.xs:534: warning: format ‘%d’ expects type ‘int’, but argument 3 has + type ‘I32’ XS.xs:534: warning: format ‘%d’ expects type ‘int’, but argument 4 has + type ‘I32’ lipo: can't open input file: /var/tmp//cc8KKzN9.out (No such file or d +irectory) make: *** [XS.o] Error 2 -> FAIL Installing Package::Stash::XS failed. See /Users/pproctor/.cpa +nm/build.log for details. -> FAIL Bailing out the installation for Package-Stash-0.33. Retry wit +h --prompt or --force. -> FAIL Bailing out the installation for Class-Load-0.19. Retry with - +-prompt or --force. -> FAIL Bailing out the installation for DateTime-TimeZone-1.46. Retry + with --prompt or --force. -> FAIL Bailing out the installation for DateTime-0.75. Retry with --p +rompt or --force.


This, of course, then causes the downstream installs to fail. Any thoughts?

Thanks!

In reply to Stash install failing on Mac OS by redfieldp

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.