We don't bite newbies here... much | |
PerlMonks |
pp missing module errorby nzsvz9 (Sexton) |
on May 27, 2020 at 15:24 UTC ( [id://11117344]=perlquestion: print w/replies, xml ) | Need Help?? |
nzsvz9 has asked for the wisdom of the Perl Monks concerning the following question:
Hello Perl Monks!
Strawberry perl 5, version 30, subversion 1 (v5.30.1) built for MSWin32-x64-multi-thread pp PAR Packager, version 1.050 (PAR version 1.016) I have a Tk application which uses GD. The Tk displays the image, and the GD portion is used to resize the image, and interrogate the pixels in the image. The GD code does snippets include the following: The GD code in the perl program works well. Original image is read in, resized, and saved as a thumbnail - as expected. However, when I "package" the code using pp - I get the following error when I try to use it on a computer that does NOT have perl installed. Which to me is the program can't find xs.dll - do I need to explicitly include this in the pp command? If so, how? BTW: Line 11 is the following not-so-very complex but important line: I have tried several options with pp - to no avail. I tried -M GD.pm and -x but it makes no difference. There is another potential complication involved, of course. When exiting the perl Tk program I often get the "TK_FreeCursor received unknown cursor argument" which I know to be a problem in the Tk libraries where Tk_Cursor is inconsistent with Tk_FreeCursor (or so I've read) and needs to be fixed - but I don't expect it's contributing to this pp error. Although if someone would fix that - I'd be grateful. Or, if someone would teach me how ... but I digress. My apologies. Any guidance or wisdom is appreciated that leads me to a solution. Regards, nzsvz9 - formerly known as the guy who could fix problems, now known as the guy asking for help with problems :( And - a quote just to provoke thought: "There are three ways to spoil a public man: women, gambling, and listening to experts. The first is the pleasantest, the second is the fastest, but the third is the most certain." ~ Georges Pompidou
Back to
Seekers of Perl Wisdom
|
|