Thanks Roderich, That shows how much I have used Tcl (i.e. never).
Claudio - The missing DLLs are likely to be the cause. You can use ldd on the DLLs loaded by perl in a rinse-and-repeat process to identify the set. You might also be able to adapt the code or the approach in pp_autolink to run on a mac (see also the link to pp_simple.pl in its readme), although it could miss DLLs loaded from inside Tcl/Tk. Some direct calls to ldd would help there. https://github.com/shawnlaffan/perl-pp-autolink Shawn. On Sat, 15 Jun 2019 at 21:35, Roderich Schupp <roderich.sch...@gmail.com> wrote: > On Sat, Jun 15, 2019 at 11:49 AM Oliver Betz <list...@gmx.net> wrote: > >> On Fri, Jun 14, 2019 at 8:40 PM welle ozean via par <par@perl.org> >> wrote: >> > By the way, why is the application trying to call something in >> "Users/we/perl5/perlbrew" which is a path in the machine where I >> compiled the application? >> >> >> this is likely a problem of the Perl distribution you are using. >> >> > No. Some "packed" modules that are extracted with mangled names (like > 1a40c6f9.pm) have #line directives that carry their original file name > (i.e. on the packer's machine). > (If you must know, these are the modules packed into the "FILE" section, > see "Anatomy of a Self-Contained PAR executable" in PAR::Tutorial.) > Otherwise die() etc messages involving these modules would be useless. > These include all dependencies of Archive::Zip (including several > IO::Compress::* modules and core modules like IO). Nothing to worry about. > (OTOH you should worry about modules with paths that could only have come > from the machine where the executable is run as these indicate a failure to > pack all dependencies and also a failure of PAR to contain all module > loading to packed modules only). > > Am Sa., 15. Juni 2019 um 03:11 Uhr schrieb Shawn Laffan < > shawnlaf...@gmail.com>: > >> Also, the code you gave does not look correct. It is using the numeric >> not-equals operator to compare $retVal against a string. >> Is this from your code or within Tk? >> >> > The code > >> "if {$catchVal != 0} { >> if { $retVal != "_TK_BREAK_\n" } { # BREAK >> returns are not errors >> return..." >> > > probably is Tcl, not Perl :) The script is using Tcl::pTk which binds > Perl to a native Tcl and Tk installation (different from Tk > <https://metacpan.org/release/Tk> which is native Perl with XS code > derived from the C source of Tcl/Tk). > BTW, that means you would have to pack the native Tcl and Tk DLLs, too - > didyou? > > Cheers, Roderich >