Hi, Craig.

The PerlMonks thread you quoted ends with a solution to the OP's problem.  The 
mactst.pl you quoted doesn't seem to implement that solution, so my first 
recommendation would be to try that.

-- 
Rocco Caputo <rcap...@pobox.com>

> On Jan 4, 2016, at 13:34, Craig Votava <craig.vot...@alcatel-lucent.com> 
> wrote:
> 
> Folks-
> 
> I’m running Yosemite (MacOSX 10.10.5) on a MacPro (Mid 2010) and am trying to 
> use ActiveState’s perlapp to create an executable perl script.
> 
> I have been successful in creating some perl scripts that don’t use POE, 
> however when I try a script using POE, I get the following error:
> 
> perlapp --perl /usr/local/ActivePerl-5.20/bin/perl --verbose --clean --force 
> --lib lib --exe mca mactst.pl
> PerlApp 9.4.0 build 298593 (perl 5.14.0)
> Copyright (C) 1998-2014 ActiveState Software Inc. All rights reserved.
> Commercial license S2EB72B1777B for Craig Votava 
> <craig.vot...@alcatel-lucent.com <mailto:craig.vot...@alcatel-lucent.com>>
> 
> -e syntax OK
> Free non-Callback 101ea3e08 RV=0 during global destruction.
> . (1):
>  0 0x104012158   IV f=00000001 undef(1)
> SV = IV(0x104012148) at 0x104012158
>   REFCNT = 1
>   FLAGS = ()
>   IV = 0
> 'mactst.pl' had compilation errors.
> 
> The contents of mactst.pl is as follows:
> 
> #!/usr/local/ActivePerl-5.20/bin/perl
> use warnings;
> use strict;
> use Tk;
> use POE;
> 
> if(! defined($poe_main_window)) { die "\$poe_main_window not defined" };
> 
> This *MAY* have something to do with an issue about the POE::Loop that gets 
> selected (read about it here <http://www.perlmonks.org/?node_id=758312>), but 
> I’m not sure.
> 
> How can I debug this?
> 
> Any help is much appreciated!
> 
> Thanks
> 
> -Craig
> 

Reply via email to