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!
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.