Hi everyone,
I am new to the activestate plaform. I have created 2 projects 5.38 and 5.40 and added the libraries. somehow i am unable to add Tk package. I am also could not able to add the package using state install Tk. i get this error
• Searching for Tk in the ActiveState Catalog Found
• Creating commit Done
• Resolving Dependencies x Failed
x Could not plan build, platform responded with:
Failed to create build plan
Found unsatisfied dependency: Ingredient|language|perl (5.38.2) depends on
Feature|builder|perl-core-builder (>=0)
@shiraz-shah - I have added Tk to your project - and it has completed.
Thank you for bringing this to our attention - the permanent fix should be on the platform later today.
First - The error you were getting was due to the fix not being platform wide, that is resolved - you should be able to make future commits.
Second - Bwidget and tooltip, are Tcl modules. You can do a Tcl language build with these modules, but it does not yet integrate with our Perl builds. We are working on this sort of integration, but it might not be available until next year.
The PerlTk module is not TclTk, and you can’t use TclTk modules with it. PerlTk is a re-implementation of TclTk written in C for Perl using Perl-ish syntax structures. Even the documentation for TclTk will not be usable with PerlTk.
PerlTk has it’s own ecosystem of submodules in the Tk-* namespace on CPAN. Many exist in order to mirror the modules of the TclTk ecosystem. You might find there is something like Bwidget and something like tooltip.
Tkx is different again. This implementation is a thin wrapper written in Perl that used TclTk as a library. Commands are Tcl-like, but have a Perl call to reach them via the wrapper. Using a TclTk module with Tkx isn’t a matter of just dropping it in. The TclTk module has be to compiled as part of the Perl distribution, which it won’t normally do because The Platform knows it is TclTk and is not Perl.