Hi fellow monks...,,
I am using the following modules in my script,

use Win32::GUIRobot qw(CloseWindow); use MIME::Lite; use File::Basename qw(fileparse); use Cwd qw(abs_path); use Win32::TieRegistry(Delimiter => "/", ArrayValues => 0); use Win32::GuiTest qw(FindWindowLike PushChildButton);

I use the following command to convert my script to .exe file. pp -a "C:\strawberry\perl\site\lib\MIME\types.db;lib/MIME/types.db" -F PatchContent=MIME/Types.pm  -M PerlIO::encoding -o login.exe login.pl
I transferred the .exe file to a non perl installed system, and executed using the command prompt(by typing the file name "login.exe").
When I do so I am getting an system error saying: The program can't start because libgif-6__.dll is missing from your computer. Try reinstalling the program to fix this problem. , after clicking OK on it I am getting the error saying
D:\Client_Comp>login.exe Can't load 'C:\Users\1018516\AppData\Local\Temp\4\par-31303138353136\c +ache-15be3067c782a9e68a5980d5e093aae39a1b1a41\17d8ab69.dll' for modul +e Prima: load_file:The specified module could not be found at C:/stra +wberry/perl/lib/DynaLoader.pm li ne 190. at C:/strawberry/perl/vendor/lib/PAR/Heavy.pm line 120. Compilation failed in require at Win32/GUIRobot.pm line 7. BEGIN failed--compilation aborted at Win32/GUIRobot.pm line 7. Compilation failed in require at script/login.pl line 1. BEGIN failed--compilation aborted at script/login.pl line 1. D:\Client_Comp>
This error is coming in each and every non Perl installed machine. I don't know what is this error all about.
Help me in solving this.

Thanks in advance.


In reply to Error on executing a .exe file compiled from the pp in a non perl installed machine. by pradeep,krishna

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.