in reply to Re^2: Win32::GUI Installation Errors
in thread Win32::GUI Installation Errors

I'm running Windows 7 64bit (Could that be a problem?) and Strawberry Perl 5.10.1.3.

The result for the new MinGW compiler is this:
Using built-in specs. COLLECT_GCC=gcc Target: mingw32 Configured with: ../gcc-4.5.0/configure --enable-languages=c,c++,ada,f +ortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable- +shared --en able-libgomp --disable-win32-registry --enable-libstdcxx-debug --enabl +e-version-specific-runtime-libs --disable-werror --build=mingw32 --pr +efix=/mingw Thread model: win32 gcc version 4.5.0 (GCC)
As you can see, the new MinGW is a later version than the one shipped with Perl.
I ran the commands you mentioned, but it still returns the same errors on dmake. Dmake realclean does not return an error, but doesn't seem to affect the install in any other way though.

- Cbeppe

Replies are listed 'Best First'.
Re^4: Win32::GUI Installation Errors
by syphilis (Archbishop) on Dec 20, 2010 at 11:40 UTC
    I'm running Windows 7 64bit (Could that be a problem?) and Strawberry Perl 5.10.1.3

    I'm running Windows Vista 64 bit with both 32-bit and 64-bit builds of Strawberry Perl, and there's no problem.
    I guess there could be some Windows7-specific issue involved ... but I've not heard of any such thing.

    The compilers you're using are 32-bit compilers, which should be fine as long as your build of Strawberry Perl is also 32-bit. I don't think Strawberry Perl even provides a 64-bit build of perl 5.10.
    Anyway, just check that perl -V:archname reports MSWin32-x86-multi-thread, not MSWin32-x64-multi-thread

    Can't really think of anything else ...

    Cheers,
    Rob
Re^4: Win32::GUI Installation Errors
by Anonymous Monk on Dec 20, 2010 at 11:42 UTC

    Avoid mixing Strawberry perl with your own mingw installation unless you exactly know what can happen. I recommend to remove all the other mingws from your PATH when building Win32::GUI in strawberry perl.

    Also assure that you do not have some other copy of dmake.exe in your PATH before strawberry's directories (IIRC Win32::GUI generate slightly strange Makefile which can be refused by the original dmake - e.g. https://rt.cpan.org/Public/Bug/Display.html?id=53721)

    Win32::GUI should build fine with Strawberry perl 5.10.1 with mingw toolchain included with strawberry perl.

    --
    kmx