Dear Brothers and Sisters in Perl!

I have recently installed ActiveState Perl 5.10 (on Windows Vista) and was now trying to get it to work with the MinGW compilers to install some modules which need xs-code.

When installing the xs-version of the Template Toolkit stash-module, I got the following errors:

In file included from Stash.xs:40: C:/data/Perl/lib/CORE/perl.h:587:24: sys/types.h: No such file or dire +ctory C:/data/Perl/lib/CORE/perl.h:598:22: stdarg.h: No such file or directo +ry C:/data/Perl/lib/CORE/perl.h:618:19: ctype.h: No such file or director +y C:/data/Perl/lib/CORE/perl.h:630:23: locale.h: No such file or directo +ry C:/data/Perl/lib/CORE/perl.h:647:20: setjmp.h: No such file or directo +ry C:/data/Perl/lib/CORE/perl.h:658:23: stdlib.h: No such file or directo +ry C:/data/Perl/lib/CORE/perl.h:965:23: stddef.h: No such file or directo +ry C:/data/Perl/lib/CORE/perl.h:973:25: string.h: No such file or directo +ry C:/data/Perl/lib/CORE/perl.h:1137:25: sys/stat.h: No such file or dire +ctory C:/data/Perl/lib/CORE/perl.h:1159:21: time.h: No such file or director +y C:/data/Perl/lib/CORE/perl.h:1180:19: errno.h: No such file or directo +ry C:/data/Perl/lib/CORE/perl.h:1773:20: limits.h: No such file or direct +ory C:/data/Perl/lib/CORE/perl.h:1776:19: float.h: No such file or directo +ry
(after which follow some more errors, but seemingly all caused by not finding these files)

On Perl 5.8 I have been able to install such modules without a hitch. Are there perhaps some development files I have to install first? I checked my Perl (and MinGW) install and indeed these files are missing.

Does anyone has any idea where to get these files and why they are no longer automatically installed as before?

Update 1: the header-files are under the MinGW distribution (thx syphilis) but CPAN + MinGW seem unable to find them.

Update 2: As syhilis pointed out I needed some patched version of MinGW to work on Windows Vista.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James


In reply to Perl 5.10 - errors when compiling xs-modules (SOLVED) by CountZero

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.