Hey Monks, This question has been posted a couple of times before. I have looked through the solutions posted as well. But I have still not been able to fix my issue. I need to make a standalone exe which can run on systems without perl. The exe I have runs perfectly on systems that have perl. But on new systems, it just bombs out. I have been using
pp -x -o Test_file.exe Test_file.pl
On reading up more, I figure I need to use
pp -x -link dll file -o Test_file.exe Test_file.pl
I use the module LibXML in my script and this is the error I get. C:\Windows\temp\par-707072617461706b\cache-e7ed955a0556640896b5479a0befbe205af169df\75dbd567.dll' for module XML::LibXML: load_file:The specified module could not be found at C:/Dwimperl/perl/lib/DynaLoader.pm line 190. at C:/Dwimperl/perl/site/lib/PAR/Heavy.pm line 120. How do I know what dll files need to be included? I have also downloaded Dependency Walker. It gives me an error opening file for API-MS-WIN-CORE-KERNEL32-PRIVATE-L1-1-1.DLL and other such dlls. I am not sure is this is even relevant. This is driving me crazy :( Would really appreciate some help. Thank you!

In reply to Using PAR Packer to convert into an exe file by Ppeoc

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.