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

Re: 2008 r2 and tk

by wazoox (Prior)
on Nov 16, 2010 at 21:16 UTC ( [id://871834]=note: print w/replies, xml ) Need Help??


in reply to 2008 r2 and tk

Tk apparently is in a deep state of abandonment. It compiles on my Linux machines running 5.10 with force (it fails many tests) but doen't seem to compile on 5.12 anyway. Maybe you could use Tcl::Tk instead?

Replies are listed 'Best First'.
Re^2: 2008 r2 and tk
by kcott (Archbishop) on Nov 16, 2010 at 23:20 UTC

    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

      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

      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 :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-25 23:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found