Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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)

Replies are listed 'Best First'.
Re^4: 2008 r2 and tk
by kcott (Chancellor) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://871992]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2018-05-23 00:11 GMT
Find Nodes?
    Voting Booth?