Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Hi mkmal,

I've been in the habit of using ASP's perlapp, but it unfortunately requires a paid license that not everyone wants to spend money for. (I'm lucky that I need it for work, and my company generously paid for the license).

So this seemed a good chance to learn an alternative approach.

I tried many of the same steps that you did, and got mostly the same results. Then I noticed you had modified your pp command to:

pp --gui -o gui2.exe -l C:/Perl/lib/auto/Tcl/tkki. dll -l +C:/Perl/lib/auto/Tcl/Tcl.dll
and I realized there was a typo in "tkki. dll" -- beside the extra space, it should be "tkkit.dll".

Once I changed that:

pp --gui -o gui1.exe -l C:/Perl/lib/auto/Tcl/tkkit.dll -l +C:/Perl/lib/auto/Tcl/Tcl.dll

the executable "gui1.exe" works as it should have.

You later said:

Here is the command I am using now. Please let me know if you see +any more errors. pp --gui -o gui1.exe -l C:/Perl/lib/auto/Tcl/tkkit.dll -l +C:/Perl/lib/auto/Tcl/Tcl.dll -x

I tried that as well, both with and without the -x; both worked ("gui1.exe" ran as expected). The only difference seemed to be that -x caused the gui to appear during compilation. Is it possible you *thought* you've corrected the "tkkit.dll" typo, but still have it (maybe in your "build" script?)

A few notes -- the app does startup kind of slowly, though (at least compared to apps I've built with "perlapp"). But when I run it a few more times, it seems to start quicker after the initial run.

It was fairly difficult to installing PAR::Packer (this was on a Windows 7 machine), at least for my ActiveState Perl environment. The thing that finally worked for me was:

C:\> ppm install MinGW C:\> cpanp i PAR::Packer

Update: added the prerequisite "ppm install MinGW"

Update 2: After installing on a different Windows 7 machine, I see that the tests fail for "ppm install MinGW":

Result: FAIL dmake: Error code 129, while making 'test_dynamic' dmake: Error code 255, while making 'subdirs-test'
It didn't seem to matter; answering 'y' to:
The tests for 'Win32::Exe' failed. Would you like me to proceed anyway or should we abort? Proceed anyway? [y/N]: y

was ultimately successful at installing "PAR::Packer" and "pp".

say  substr+lc crypt(qw $i3 SI$),4,5

In reply to Re: pp with gui by golux
in thread pp with gui by mkmal

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others having an uproarious good time at the Monastery: (2)
    As of 2017-12-15 01:15 GMT
    Find Nodes?
      Voting Booth?
      What programming language do you hate the most?

      Results (415 votes). Check out past polls.