|
|
| "be consistent" | |
| PerlMonks |
Re: TkDND with PAR::Packerby huck (Prior) |
| on Feb 23, 2017 at 06:29 UTC ( [id://1182592]=note: print w/replies, xml ) | Need Help?? |
|
is this on windows? in Tkx example was:Re^3: Tcl & Tcl::Tk used for 1 main window i posted a working TKDND program i use from time to time. To get it to work i needed to place tkdnd2.6 into a known location (d:\active\tkx_extra\tkdnd2.6) and then use tk-magic to get tk to search for it there. i suppose that somehow tk knows in your systems to search under System\Library\Tcl\8.5\ for tk packages, but when you did your -l magic with pp that is not where those items ended up. tkkit is the name of a reduced tcl/tk environment that activestate perl makes available. based on your System\Library\Tcl\8.5\ path i dont think you are using it, but you might find some clues to extending it in http://grokbase.com/t/perl/tcltk/102hfq8ynx/drag-n-drop-in-perl-tkx/oldest i suspect your -l magic with pp is making those needed files available SOMEWHERE. Based on your begin-magic structure above i suspect it is under $ENV{PAR_TEMP} somewhere. you might try playing with variants of to get it to work. While your pp'ed program is running you might try printing out $ENV{PAR_TEMP} and refining the above path further by searching under it. another option might just be to distribute the tkdnd2.8 package and install it to some location you know you can write to, such as where the pp'ed executable is. in that case you could do Im out on a limb again, i dont think its windows 'cus there is no dll, but there is a dylib, but i thought id give it a try at least
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||