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:
(after which follow some more errors, but seemingly all caused by not finding these files)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
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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |