Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Fellow Monks,

I've installed cygwin on my pc, it comes with perl v5.8.6. I wanted to also install ptkdb to help with debugging any perl scripts. So I thought I'd use cpan to do this, but I hit a dependency of needing to have TK installed first. This gave me a couple of errors, identical to those from this recent post Trouble installing TK under cygwin. The question didn't really get answered there (except to say use activestate instead)
make[1]: *** [Xlib.o] Error 1 make[1]: Leaving directory `/cygdrive/e/temp/Tk-804.027/Xlib' make: *** [subdirs] Error 2
Any ideas? Thanks,
Jonathan

Considered
perlfan: This is a dup of 441378 which is only 3 nodes down on the front page
Unconsidered
Arunbear: keep votes prevented reaping; Keep/Edit/Delete: 9/2/12

Replies are listed 'Best First'.
Re: tk installation problem on cygwin
by webengr (Pilgrim) on Mar 22, 2005 at 17:59 UTC
    A quick google reveals this. Look at the last posting in the thread. I have not had time to try it, but if it works, please let us know.
    PCS
Re: tk installation problem on cygwin
by ysth (Canon) on Mar 23, 2005 at 02:10 UTC
Re: tk installation problem on cygwin
by Courage (Parson) on Mar 23, 2005 at 05:21 UTC
    Not only there was advice to use activestate perl (which is not best for cygwin!), there was also advice "use Tcl::Tk instead" which makes comliling easier because it trivial to compile

    Tcl::Tk will not work directly with ptkdb, but it comes with "tcltkdb" which is exactly the same, but adopted for Tcl::Tk.

Re: tk installation problem on cygwin
by des-or-mad (Initiate) on Mar 22, 2005 at 20:58 UTC
    Hi!

    I'm using ActivePerl from www.activestate.com for Windows. The package includes Tk and "plays" well with other CPAN modules. It has an easy installer and integrates automatically into Apache and IIS.
Re: tk installation problem on cygwin
by Anonymous Monk on Mar 24, 2005 at 09:31 UTC
    Fellow Monks,

    I see that this node has been marked for consideration, there are two things that bother me about this:

    Conspiracy theory:
    It was perlfan who marked it for consideration, are his reasons genuine for this consideration?
    Or did he want to get this node considered because he received negative -- points for one of his answers.
    (why did he not ask for consideration before he put in two response, plus I see he was involved in the original node (Trouble installing TK under cygwin), so he should have known it was a dup node from the start)

    Non-conspiracy theory:
    This node does contain different information to the previous question Trouble installing TK under cygwin, so I believe it does contain merit in being retained.

    Jonathan
A reply falls below the community's threshold of quality. You may see it by logging in.