On 8/17/2018 1:13 PM, welle Ozean via tcltk wrote:
Hello,
my macOS application (written with Tcl::pTk) uses at the moment the
macOS default Tcl/Tk frameworks, i.e. the highest version it finds on
the machine. I would like to link Tcl::pTk to use a specific Tcl/Tk
framework so that I can include it in the macOS .app bundle and
distribute the framework with the application.
I admit I am not a Tcl expert, only recently switched to Tcl::pTk to
be able to use Tk on a macOS. Can somebody guide me (or point me to
some info) on how I can make Tcl.pm link to my:
tk.framework
tcl.framework
Both frameworks will be inserted in the .app bundle and have a static
position in relation to the executable.
PS: It is possible to use with Tcl.pm the Kit executables generated by
http://kitcreator.rkeene.org/kitcreator
Than you for any advice
Welle
Hi Welle,
Just pointing out for reference that someone else on PerlMonks (unless
you're user IB2017 :^) ) recently asked about this:
https://www.perlmonks.org/?node_id=1215353
My reply is currently at the bottom; my knowledge on this is limited to
what's mentioned in
https://metacpan.org/pod/Tcl#Moving-Tcl/Tk-around-with-Tcl.pm (the third
method sounds like what you want, which is achieved by passing extra
arguments to Makefile.PL), and that this mailing list is probably the
best place to ask for Tcl.pm expertise.
Also, I think how Tcl.pm is finding a newer version is that the newer
version of Tcl/Tk's tclsh command is just what is found first based on
your PATH; i.e. if the older version came first in the PATH then that
would probably be used instead. But I don't actually knowing what's
going on in Tcl.pm, so that might not be the case.
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus