Hello, I have installed RabbitMQ server on my Windows 10 machine but i can't seem to install Net::RabbitMQ module. It keeps on failing... when i execute cpan install Net::RabbitMQ , it gives a whole bunch of errors:
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp + -typemap C:\strawberry\perl\lib\ExtUtils\typemap -typemap typemap +RabbitMQ.xs > RabbitMQ.xsc && C:\strawberry\perl\bin\perl.exe -MExtUt +ils::Command -e mv -- RabbitMQ.xsc RabbitMQ.c gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_ +SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno +-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.2.8\" -DX +S_VERSION=\"0.2.8\" "-IC:\strawberry\perl\lib\CORE" RabbitMQ.c In file included from RabbitMQ.xs:5:0: amqp.h:11:1: error: unknown type name 'uint32_t' amqp.h:12:1: error: unknown type name 'uint32_t' amqp.h:13:1: error: unknown type name 'uint16_t' amqp.h:24:3: error: unknown type name 'uint32_t' amqp.h:42:5: error: unknown type name 'int32_t' amqp.h:44:5: error: unknown type name 'uint64_t' amqp.h:79:3: error: unknown type name 'uint8_t' amqp.h:84:7: error: unknown type name 'uint16_t' amqp.h:85:7: error: unknown type name 'uint64_t' amqp.h:90:7: error: unknown type name 'uint8_t' amqp.h:91:7: error: unknown type name 'uint8_t' amqp.h:92:7: error: unknown type name 'uint8_t' amqp.h:93:7: error: unknown type name 'uint8_t' amqp.h:305:6: error: unknown type name 'uint64_t' amqp.h:310:27: error: unknown type name 'uint64_t' amqp.h:337:6: error: unknown type name 'uint32_t' amqp.h:338:6: error: unknown type name 'uint16_t' In file included from RabbitMQ.xs:7:0: amqp_framing.h:48:35: error: unknown type name 'uint16_t' amqp_framing.h:55:35: error: unknown type name 'uint16_t' amqp_framing.h:62:3: error: unknown type name 'uint8_t' amqp_framing.h:63:3: error: unknown type name 'uint8_t' amqp_framing.h:89:3: error: unknown type name 'uint16_t' amqp_framing.h:90:3: error: unknown type name 'uint32_t' amqp_framing.h:91:3: error: unknown type name 'uint16_t' amqp_framing.h:96:3: error: unknown type name 'uint16_t' amqp_framing.h:97:3: error: unknown type name 'uint32_t' amqp_framing.h:98:3: error: unknown type name 'uint16_t' amqp_framing.h:121:3: error: unknown type name 'uint16_t' amqp_framing.h:123:3: error: unknown type name 'uint16_t' amqp_framing.h:124:3: error: unknown type name 'uint16_t' amqp_framing.h:154:3: error: unknown type name 'uint16_t' amqp_framing.h:161:3: error: unknown type name 'uint16_t' amqp_framing.h:163:3: error: unknown type name 'uint16_t' amqp_framing.h:164:3: error: unknown type name 'uint16_t' amqp_framing.h:184:3: error: unknown type name 'uint16_t' amqp_framing.h:189:3: error: unknown type name 'uint16_t' amqp_framing.h:207:3: error: unknown type name 'uint16_t' amqp_framing.h:220:3: error: unknown type name 'uint16_t' amqp_framing.h:233:3: error: unknown type name 'uint32_t' amqp_framing.h:234:3: error: unknown type name 'uint32_t' amqp_framing.h:239:3: error: unknown type name 'uint16_t' amqp_framing.h:254:3: error: unknown type name 'uint16_t' amqp_framing.h:261:3: error: unknown type name 'uint32_t' amqp_framing.h:266:3: error: unknown type name 'uint16_t' amqp_framing.h:275:3: error: unknown type name 'uint32_t' amqp_framing.h:280:3: error: unknown type name 'uint16_t' amqp_framing.h:294:3: error: unknown type name 'uint32_t' amqp_framing.h:295:3: error: unknown type name 'uint16_t' amqp_framing.h:306:3: error: unknown type name 'uint16_t' amqp_framing.h:333:3: error: unknown type name 'uint16_t' amqp_framing.h:343:3: error: unknown type name 'uint16_t' amqp_framing.h:352:3: error: unknown type name 'uint64_t' amqp_framing.h:360:3: error: unknown type name 'uint16_t' amqp_framing.h:367:3: error: unknown type name 'uint64_t' amqp_framing.h:371:3: error: unknown type name 'uint32_t' amqp_framing.h:381:3: error: unknown type name 'uint64_t' amqp_framing.h:387:3: error: unknown type name 'uint64_t' amqp_framing.h:398:3: error: unknown type name 'uint32_t' amqp_framing.h:399:3: error: unknown type name 'uint16_t' amqp_framing.h:410:3: error: unknown type name 'uint16_t' amqp_framing.h:438:3: error: unknown type name 'uint64_t' amqp_framing.h:443:3: error: unknown type name 'uint64_t' amqp_framing.h:453:3: error: unknown type name 'uint16_t' amqp_framing.h:463:3: error: unknown type name 'uint16_t' amqp_framing.h:472:3: error: unknown type name 'uint64_t' amqp_framing.h:481:3: error: unknown type name 'uint64_t' amqp_framing.h:487:3: error: unknown type name 'uint64_t' amqp_framing.h:493:3: error: unknown type name 'uint32_t' amqp_framing.h:494:3: error: unknown type name 'uint16_t' amqp_framing.h:495:3: error: unknown type name 'uint32_t' amqp_framing.h:506:3: error: unknown type name 'uint16_t' amqp_framing.h:532:3: error: unknown type name 'uint16_t' amqp_framing.h:541:3: error: unknown type name 'uint16_t' amqp_framing.h:550:3: error: unknown type name 'uint64_t' amqp_framing.h:612:3: error: unknown type name 'uint8_t' amqp_framing.h:613:3: error: unknown type name 'uint16_t' amqp_framing.h:614:3: error: unknown type name 'uint32_t' amqp_framing.h:615:3: error: unknown type name 'uint64_t' amqp_framing.h:616:3: error: unknown type name 'uint8_t' amqp_framing.h:621:3: error: unknown type name 'uint64_t' amqp_framing.h:628:3: error: unknown type name 'uint8_t' amqp_framing.h:639:3: error: unknown type name 'uint8_t' amqp_framing.h:640:3: error: unknown type name 'uint8_t' amqp_framing.h:645:3: error: unknown type name 'uint64_t' amqp_framing.h:656:3: error: unknown type name 'uint32_t' amqp_framing.h:705:3: error: unknown type name 'uint8_t' amqp_framing.h:706:3: error: unknown type name 'uint8_t' amqp_framing.h:711:3: error: unknown type name 'uint64_t' amqp_framing.h:733:3: error: unknown type name 'uint8_t' amqp_framing.h:737:3: error: unknown type name 'uint64_t' amqp_framing.h:752:3: error: unknown type name 'uint8_t' amqp_framing.h:753:3: error: unknown type name 'uint64_t' amqp_framing.h:777:3: error: unknown type name 'uint8_t' amqp_framing.h:778:3: error: unknown type name 'uint8_t' RabbitMQ.xs: In function 'hash_to_amqp_table': RabbitMQ.xs:265:65: error: 'uint64_t' undeclared (first use in this fu +nction) RabbitMQ.xs:265:65: note: each undeclared identifier is reported only +once for each function it appears in RabbitMQ.xs: In function 'XS_Net__RabbitMQ_ack': RabbitMQ.xs:524:5: error: unknown type name 'uint64_t' RabbitMQ.xs: In function 'XS_Net__RabbitMQ_reject': RabbitMQ.xs:542:4: error: unknown type name 'uint64_t' RabbitMQ.xs: In function 'XS_Net__RabbitMQ__publish': RabbitMQ.xs:633:40: error: 'uint8_t' undeclared (first use in this fun +ction) RabbitMQ.xs:641:40: error: 'uint64_t' undeclared (first use in this fu +nction) RabbitMQ.xs: In function 'XS_Net__RabbitMQ_basic_qos': RabbitMQ.xs:804:5: error: unknown type name 'uint32_t' RabbitMQ.xs:805:5: error: unknown type name 'uint16_t' dmake.exe: Error code 129, while making 'RabbitMQ.o' JESUS/Net--RabbitMQ-0.2.8.tgz C:\strawberry\c\bin\dmake.exe -- NOT OK CPAN: YAML::XS loaded ok (v0.41) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Stopping: 'install' failed for 'Net::RabbitMQ'.
Any ideas? Thanks

In reply to Net::RabbitMQ failed installation by perl_help26

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.