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

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.

Replies are listed 'Best First'.
Re^7: Tk:Photo -data with binary data?
by vkon (Curate) on Nov 29, 2006 at 20:19 UTC
    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.
        Of course, now I've got to work out how to use it... :)

        be sure to look at few examples

        As a good technique, you can mix pure-Tcl/Tk to create GUI and use perl/Tk syntax during the program for managing it.