Chuma has asked for the wisdom of the Perl Monks concerning the following question:
Hello!
I'm trying to teach myself Tk, by making a little game. Now I'd like to send it to my sister, so my little nephews can play it, but she doesn't have Perl installed, so I'd like to compile it to an executable (we both have macs). I use the pp tool, and it seems to work just fine on little example programs, but for this one I get errors. I worked out most of the problems, but the last error has me at a loss.
>>> pp -c hopgame SYSTEM ERROR in compiling hopgame: 11 at /System/Library/Perl/Extras/5 +.18/Module/ScanDeps.pm line 1351. >>> pp hopgame /usr/bin/pp5.18: Failed to extract a parl from 'PAR::StrippedPARL::Sta +tic' to file '/var/folders/y8/p9hddj4d1l7fryf24cz0cd3m0000gn/T/parlpo +XAzmu' at /System/Library/Perl/Extras/5.18/PAR/Packer.pm line 1152, < +DATA> line 1.
I guess it's something to do with importing the Tk modules? I don't know what else to do about it. Of course, if there's an easier way to compile to an executable, I'd welcome that too. I have ActivePerl 5.20, Mac OS 10.12.6.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Issues with pp and Tk
by Discipulus (Canon) on Oct 18, 2017 at 11:05 UTC | |
|
Re: Issues with pp and Tk
by marto (Cardinal) on Oct 18, 2017 at 11:08 UTC | |
|
Re: Issues with pp and Tk
by kcott (Archbishop) on Oct 19, 2017 at 01:02 UTC | |
|
Re: Issues with pp and Tk
by thanos1983 (Parson) on Oct 18, 2017 at 10:45 UTC | |
|
Re: Issues with pp and Tk
by Chuma (Scribe) on Oct 19, 2017 at 04:35 UTC | |
by marto (Cardinal) on Oct 19, 2017 at 07:35 UTC | |
by Chuma (Scribe) on Oct 19, 2017 at 11:04 UTC | |
by marto (Cardinal) on Oct 19, 2017 at 11:24 UTC | |
by Chuma (Scribe) on Oct 19, 2017 at 13:47 UTC | |
| |
|
Re: Issues with pp and Tk
by Chuma (Scribe) on Oct 18, 2017 at 11:38 UTC |