http://qs321.pair.com?node_id=1218866


in reply to macOS tcl::pTk packing Tcl

Tcl::pTk is pure Perl, so by itself it doesn't know about where to look for Tcl/Tk. However the Tcl.pm module it uses should be able to be told where to find Tcl/Tk. I'm not very knowledgeable about this, so I would try asking the folks at tcltk@perl.org who know more about Tcl.pm.

Replies are listed 'Best First'.
Re^2: macOS tcl::pTk packing Tcl
by chrstphrchvz (Scribe) on Jul 27, 2018 at 05:41 UTC

    There's currently a very brief explanation of choices at https://metacpan.org/pod/Tcl#Moving-Tcl/Tk-around-with-Tcl.pm. The second method (install Tcl/Tk to a known location, then tell Tcl.pm to use only that Tcl/Tk installation) or third method (static linking of Tcl.pm to Tcl/Tk, on-demand extracting of Tcl/Tk files) are what sound appropriate for this scenario.