Re: POE and Activestate perlapp fail on MacOSX

Rocco Caputo <[email protected]> Mon, 4 Jan 2016 23:48:01 -0500
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
--Apple-Mail=_AB4DD655-F148-46AC-9B1E-88134890990E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

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.

--=20
Rocco Caputo <[email protected]>

> On Jan 4, 2016, at 13:34, Craig Votava =
<[email protected]> wrote:
>=20
> Folks-
>=20
> 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.
>=20
> 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:
>=20
> 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] =
<mailto:[email protected]>>
>=20
> -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.
>=20
> The contents of mactst.pl is as follows:
>=20
> #!/usr/local/ActivePerl-5.20/bin/perl
> use warnings;
> use strict;
> use Tk;
> use POE;
>=20
> if(! defined($poe_main_window)) { die "\$poe_main_window not defined" =
};
>=20
> 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.
>=20
> How can I debug this?
>=20
> Any help is much appreciated!
>=20
> Thanks
>=20
> -Craig
>=20


--Apple-Mail=_AB4DD655-F148-46AC-9B1E-88134890990E
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""><div class=3D"">Hi, Craig.</div><div class=3D""><br =
class=3D""></div>The PerlMonks thread you quoted ends with a solution to =
the OP's problem. &nbsp;The mactst.pl you quoted doesn't seem to =
implement that solution, so my first recommendation would be to try =
that.<div class=3D""><br class=3D""><div class=3D"">
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
color: rgb(0, 0, 0); font-family: Monaco; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px;  "><div =
class=3D"">--&nbsp;</div><div class=3D"">Rocco Caputo &lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt;</div></span>

</div>
<br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Jan 4, 2016, at 13:34, Craig Votava &lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D"">
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" =
class=3D""><div 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></div></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_AB4DD655-F148-46AC-9B1E-88134890990E--