Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: 2008 r2 and tk

by tman (Initiate)
on Nov 17, 2010 at 13:27 UTC ( #871992=note: print w/ replies, xml ) Need Help??


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

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)


Comment on Re^3: 2008 r2 and tk
Download Code
Re^4: 2008 r2 and tk
by kcott (Abbot) on Nov 17, 2010 at 13:43 UTC

    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://871992]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-12-28 18:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls