develooper Front page | perl.poe | Postings from January 2016

Re: POE and Activestate perlapp fail on MacOSX

Thread Previous | Thread Next
From:
Rocco Caputo
Date:
January 5, 2016 04:48
Subject:
Re: POE and Activestate perlapp fail on MacOSX
Message ID:
8B9491DD-F09D-4E55-B6D3-161C240FE05F@pobox.com
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 <rcaputo@pobox.com>

> On Jan 4, 2016, at 13:34, Craig Votava <craig.votava@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.Votava@alcatel-lucent.com <mailto:Craig.Votava@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
> 


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About