Re: Tk problem building / installing using Perl 5.12.0.1 on x64
[email protected] ("Curtis Jewell")
| Newsgroups | perl.win32.vanilla |
|---|---|
| Message-ID | <[email protected]> |
It's a Perl::Tk error (as I recall 804.028_502 working on x64 without such a fix) - report it to them. But thanks for letting us know. --Curtis On Tue, 27 Jul 2010 10:39 -0500, "Paul" <[email protected]> wrote: > 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 -- Curtis Jewell http://strawberryperl.com/ [email protected] http://csjewell.dreamwidth.org/ Strawberry Perl for Windows betas: http://strawberryperl.com/beta/