I figured I just forgot to install some basic stuff for compiling

No -it's nothing you've overlooked. I've come across this problem before - I think it has been fixed in perl 5.8.8. If not, it has been fixed in bleadperl and should therefore be fixed in perl 5.8.9.

If you go into C:/PXPerl/lib/CORE/win32.h you should be able to find the following block of code:
#ifndef _INTPTR_T_DEFINED typedef int intptr_t; # define _INTPTR_T_DEFINED #endif #ifndef _UINTPTR_T_DEFINED typedef unsigned int uintptr_t; # define _UINTPTR_T_DEFINED #endif

Just before that above code, insert:
#ifdef _STDINT_H #ifndef _INTPTR_T_DEFINED #define _INTPTR_T_DEFINED #endif #ifndef _UINTPTR_T_DEFINED #define _UINTPTR_T_DEFINED #endif #endif

And that should fix that problem for you. Probably best to first make a backup copy of win32.h in case you mess something up with the copy'n'paste :-)

I think the blame lies with win32.h - though it's interesting to note that this problem would not arise if ExtUtils::ParseXS did not insist on inserting the "-IC:\mingw\include" switch.

Cheers,
Rob

In reply to Re^3: PXPerl CPAN windows problem by syphilis
in thread PXPerl CPAN windows problem by rustyjuggler

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.