I'm not familiar with wxpar, but from its documentation, I see the following:

run 'wxpar' exactly as you would run pp.

From what you posted, you're not using the -c or -x options. If you look at the documentation for pp, the -c and -x options are used to "determine additonal run-time dependencies". Since you're not using either of these options, it's possible that wxpar is not picking up some needed dependencies for the XML::RPC that is causing the very issue that you are seeing.

Also, if you use the -c and/or -x option to catch any missing dependencies, you might start seeing error messages about any missing DLL files that wxpar didn't pick up. If that does happen, you can use the -l option to include any needed DLL files.

Oh and btw, if I try to compile the .exe using ActiveStates PDK, the problem actually disappears (XML-RPC response is properly received).

Both pp and ActiveState's PerlApp from their PDK are trying to catch all of the needed dependencies. However, I don't think that neither claim to be 100% perfect in doing so. That's why both have methods to allow the user to add in additional files and modules in case the tool misses anything. In the case of your code, it's possible that PerlApp is catching a dependency that wxpar missed or you might have used a PerlApp option that caused it to determine run-time dependencies. It's also possible that there could be scenarios where pp (and/or wxpar) could catch dependencies that PerlApp misses.


In reply to Re^3: Perl PP/PAR packaged executable can't send XML::RPC requests by dasgar
in thread Perl PP/PAR packaged executable can't send XML::RPC requests by mephesis

Title:
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, details, 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, summary, 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.