in reply to Re^4: Tk:Photo -data with binary data?
in thread Tk:Photo -data with binary data?

okay, if a man with your level of knowledge gets confused, this means the installation instruction needs fixing...

But if you're afraid of windows binaries, then just install ActiveTcl, and continue where you stopped last time...

Also, recent ActivePerl comes with Tcl/Tk bundled into single dll, so dependant Tcl module from CPAN already shipped with binary...
And finding tcl/tk on the PATH means existance of tclsh.exe somewhere in PATH

PS. I also had problem with Gtk on Windows, although they are solvable, I am not ready for it -- too huge for deployment, and, beleive me or not, its look-n-feel worse than look=n-feel of Tcl/Tk+tile

Replies are listed 'Best First'.
Re^6: Tk:Photo -data with binary data?
by BrowserUk (Patriarch) on Nov 29, 2006 at 17:20 UTC

    Okay. I pulled ActiveTcl and installed without problems. Making Tcl/Tk went further, but:

    c:\Perl\packages\Tcl-Tk-0.92>makefile Checking if your kit is complete... Looks good Warning: prerequisite Tcl 0.85 not found. Writing Makefile for Tcl::Tk c:\Perl\packages\Tcl-Tk-0.92>nmake Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. cp lib/Tcl/Tk.pm blib\lib\Tcl\Tk.pm cp lib/Tcl/Tk/Widget/Balloon.pm blib\lib\Tcl\Tk\Widget\Balloon.pm c:\Perl\packages\Tcl-Tk-0.92>nmake test Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_ t\after.........Can't locate Tcl.pm in @INC (@INC contains: C:\Per BEGIN failed--compilation aborted at C:\Perl\packages\Tcl-Tk-0.92\ Compilation failed in require at t\after.t line 4. BEGIN failed--compilation aborted at t\after.t line 4. t\after.........dubious Test returned status 2 (wstat 512, 0x200) [clipped lots more failling tests]

    what is " Tcl 0.85"? Is this another perl package? Or should it be satisfied by the ActiveTcl iinstallation meaning I've got a path/env problem?


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      Tcl::Tk requires Tcl CPAN module, which in turn wants Tcl/Tk installation, because Tcl is the thin bridge module between Perl and Tcl.

      BTW another CPAN module which provides Tcl/Tk GUI is Tkx, it also connects to Tcl/Tk via Tcl. It is extremely thin and do not provide perl/Tk syntax.

      BTW this approach has its mailing list tcltk@perl.org , so you'll get all answers there.

      Best regards,
      Vadim

        Thanks, it's all compiled clean, tested perfectly and installed.

        All that's needed is a couple of hints in the POD about the dependancies. Once you know what's required (& where to get it), the order to build/install them in, the installation is extremely clean and trouble free.

        Of course, now I've got to work out how to use it... :)


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.