Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: 2008 r2 and tk

by kcott (Abbot)
on Nov 16, 2010 at 23:20 UTC ( #871862=note: print w/ replies, xml ) Need Help??


in reply to Re: 2008 r2 and tk
in thread 2008 r2 and tk

Here's the CPAN Testers Matrix for Tk v804.029 (which is the latest distribution released on 27-May-2010). As you can see, it compiles on a number of platforms (including Linux) using 5.12.x versions of Perl - you'll also see that it's had many problems.

I have that version of Tk running on Windows XP and Cygwin both using Perl 5.12.0.

As something of a minor disclaimer: I'm not advocating its use over other GUI toolkits nor am I claiming I had no problems with the installation process.

-- Ken


Comment on Re^2: 2008 r2 and tk
Re^3: 2008 r2 and tk
by wazoox (Prior) on Nov 17, 2010 at 12:44 UTC
    Thank you, I stand corrected. I threw up the towel on Tk quite a while ago because of these problems and didn't keep up with the latest news :)
Re^3: 2008 r2 and tk
by tman (Initiate) on Nov 17, 2010 at 13:27 UTC

    Thanks for the replies. I am not feeling confident this is going to work. But doing as I am told..

    I found on a 64 bit patch that Slaven put out for a bug very similar to what we are getting, Tk bug 60707, that looks like:

    diff --git c/pTk/mTk/xlib/X11/X.h w/pTk/mTk/xlib/X11/X.h index 95db07f..a1cf10c 100644 --- c/pTk/mTk/xlib/X11/X.h +++ w/pTk/mTk/xlib/X11/X.h @@ -40,7 +40,7 @@ SOFTWARE. /* Resources */ -#ifdef _WIN64</code> +#if defined(_WIN64) && defined(_MSC_VER) typedef __int64 XID; #else typedef unsigned long XID;

    My question is how do I run/install the patch(I asked another guy who writes perl and he was not sure)and there were no instructions on the bug page

    Thanks for the help and great site

    (Thank God for the preview pane)

      You patch your code with a program called patch (also written by Larry Wall).

      You may already have this on your Windows box. Try patch --help from the commandline.

      As you haven't used this before you'll probably need more than the terse usage that command will provide: try Patch for Windows which has more detailed help (including installation instructions in case you don't already have it).

      -- Ken

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://871862]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2014-08-31 01:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls