in reply to Re^2: Perl 5.10 - errors when compiling xs-modules
in thread Perl 5.10 - errors when compiling xs-modules (SOLVED)

There are some Vista-specific issues with relation to MinGW. The solution involves installing patched versions of gcc.exe and g++.exe. Grab http://dessent.net/tmp/gcc-vista-3.4.5-20060117-1.tar.gz and unpack it in your MinGW root folder (ie Data/MinGW). It should install the patched files in all the right places.

The fact that you found it necessary to add libexec\gcc\mingw32\3.4.5 to the path is consistent with this "Vista-specific" issue ... as also is the inability to locate the header files.

However, if you were running perl 5.8 on Vista against this same version of MinGW, then you should have struck exactly the same problem ... but you didn't. (I'm guessing you *weren't* running 5.8 on Vista using the same version of MinGW).

Having installed the patched files you can then remove those 3 folders that you quoted from the path.

Cheers,
Rob
  • Comment on Re^3: Perl 5.10 - errors when compiling xs-modules

Replies are listed 'Best First'.
Re^4: Perl 5.10 - errors when compiling xs-modules
by CountZero (Bishop) on Dec 26, 2007 at 14:33 UTC
    Thank you, that did the trick!

    And indeed my previous Perl-installs were on Windows XP.

    Windows Vista: a giant leap forward (into the unknown)!

    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