error while installing MongoDB through cpan

Running Mkbootstrap for MongoDB () "C:\Dwimperl\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e chmod - +- 644 "MongoDB.bs" "C:\Dwimperl\perl\bin\perl.exe" "-Iinc" "C:\Dwimperl\perl\lib\ExtUtils +\xsubpp"-typemap "C:\Dwimperl\perl\lib\ExtUtils\typemap" xs\BSON.xs +>xs\BSON.xsc && "C :\Dwimperl\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e mv -- xs\ +BSON.xsc xs\BSON.c gcc -c -I. -Ibson -Iyajl -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPT +S -DUSE_SI TECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-al +iasing -mm s-bitfields -DBSON_COMPILATION -s -O2 -DVERSION=\"v0.706.0.0\" + -DXS_VER SION=\"v0.706.0.0\" -o xs\BSON.o "-IC:\Dwimperl\perl\lib\CORE" xs\B +SON.c In file included from bson/bson.h:23, from ./perl_mongo.h:22, from xs\BSON.xs:17: bson/bson-compat.h:96: error: expected '=', ',', ';','asm' or '__attri +bute__' b efore 'INIT_ONCE'dmake.EXE: Error code 129, while making 'xs\BSON.o' + MONGODB/MongoDB-v0.706.0.0.tar.gz C:\Dwimperl\c\bin\dmake.EXE -- NOT OK CPAN: YAML loaded ok (v0.77) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible

In reply to Re^8: error catching in mongodb and perl by praveenchappa
in thread error catching in mongodb and perl by praveenchappa

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.