OS: Windows 7, 64-bit
Perl 5.12.0.1
Module: Tk  804.029

I'm not sure if this is a Perl::Tk issue, or a MinGW wanted any input
guidance on where I need to go with this.

I attempted to install using CPAN, but encountered errors during the build.

Looking at the errors generated using dmake, the problem seemed to be
located in pTk/mTk/xlib/X11/X.h line 44.

Starting at 43:
43: #ifdef _DWIN64
44: typedef __int64 XID;
45: #else
46: typedef unsigned long XID;
47: #endif

I was able to correct this by changing this to
43: #ifdef _DWIN64
44: #include <inttypes.h>
45: typedef __int64 XID;
46: #else
47: typedef unsigned long XID;
48: #endif

After making this change, everything compiles, and "dmake test" passes
everything.

So, is this a Perl::Tk error, or a MingGW, or a Strawberry configuration issue ?

Any guidance would be greatly appreciated.

Paul

Reply via email to