POE and Activestate perlapp fail on MacOSX

[email protected] (Craig Votava) Mon, 4 Jan 2016 12:34:42 -0600
Newsgroups perl.poe
Message-ID <[email protected]>
--Apple-Mail=_EE6EA0DA-3548-4474-8006-D86645512A29
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Folks-

I=E2=80=99m running Yosemite (MacOSX 10.10.5) on a MacPro (Mid 2010) and =
am trying to use ActiveState=E2=80=99s perlapp to create an executable =
perl script.

I have been successful in creating some perl scripts that don=E2=80=99t =
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 =
<[email protected]>

-e syntax OK
Free non-Callback 101ea3e08 RV=3D0 during global destruction.
. (1):
 0 0x104012158   IV f=3D00000001 undef(1)
SV =3D IV(0x104012148) at 0x104012158
  REFCNT =3D 1
  FLAGS =3D ()
  IV =3D 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=3D758312>), but I=E2=80=99m not sure.

How can I debug this?

Any help is much appreciated!

Thanks

-Craig


--Apple-Mail=_EE6EA0DA-3548-4474-8006-D86645512A29
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Folks-<div class=3D""><br class=3D""></div><div =
class=3D"">I=E2=80=99m running Yosemite (MacOSX 10.10.5) on a MacPro =
(Mid 2010) and am trying to use ActiveState=E2=80=99s perlapp to create =
an executable perl script.</div><div class=3D""><br class=3D""></div><div =
class=3D"">I have been successful in creating some perl scripts that =
don=E2=80=99t use POE, however when I try a script using POE, I get the =
following error:</div><div class=3D""><br class=3D""></div><div =
class=3D""><font face=3D"Courier New" class=3D"">perlapp --perl =
/usr/local/ActivePerl-5.20/bin/perl --verbose --clean --force --lib lib =
--exe mca mactst.pl<br class=3D"">PerlApp 9.4.0 build 298593 (perl =
5.14.0)<br class=3D"">Copyright (C) 1998-2014 ActiveState Software Inc. =
All rights reserved.<br class=3D"">Commercial license S2EB72B1777B for =
Craig Votava &lt;<a href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt;<br class=3D""><br =
class=3D"">-e syntax OK<br class=3D"">Free non-Callback 101ea3e08 RV=3D0 =
during global destruction.<br class=3D"">. (1):<br class=3D"">&nbsp;0 =
0x104012158&nbsp;&nbsp;&nbsp;IV f=3D00000001 undef(1)<br class=3D"">SV =3D=
 IV(0x104012148) at 0x104012158<br class=3D"">&nbsp;&nbsp;REFCNT =3D =
1<br class=3D"">&nbsp;&nbsp;FLAGS =3D ()<br class=3D"">&nbsp;&nbsp;IV =3D =
0<br class=3D"">'mactst.pl' had compilation errors.</font><br =
class=3D""><br class=3D""></div><div class=3D"">The contents of =
mactst.pl is as follows:</div><div class=3D""><br class=3D""></div><div =
class=3D""><font face=3D"Courier New" =
class=3D"">#!/usr/local/ActivePerl-5.20/bin/perl<br class=3D"">use =
warnings;<br class=3D"">use strict;<br class=3D"">use Tk;<br =
class=3D"">use POE;<br class=3D""><br class=3D"">if(! =
defined($poe_main_window)) { die "\$poe_main_window not defined" =
};</font></div><div class=3D""><br class=3D""></div><div class=3D"">This =
*MAY* have something to do with an issue about the POE::Loop that gets =
selected (<a href=3D"http://www.perlmonks.org/?node_id=3D758312" =
class=3D"">read about it here</a>), but I=E2=80=99m not sure.</div><div =
class=3D""><br class=3D""></div><div class=3D"">How can I debug =
this?</div><div class=3D""><br class=3D""></div><div class=3D"">Any help =
is much appreciated!</div><div class=3D""><br class=3D""></div><div =
class=3D"">Thanks</div><div class=3D""><br class=3D""></div><div =
class=3D"">-Craig</div><div class=3D""><br class=3D""></div></body></html>=

--Apple-Mail=_EE6EA0DA-3548-4474-8006-D86645512A29--