Hi Monk,

I am first time trying to create an exe using perl2exe but i am getting below error message, my perl program requires following modules and all of them are loaded in the program

use warnings; use Tkx; use DBI; use Data::Dumper; Tkx::package_require("Tktable"); use File::HomeDir; use Tkx::Scrolled;

I am also accessing some files from my local windows directories, I am trying to run perl2exe on Wondows 7 OS $UserName = getlogin; $FileDir = "C:/Documents and Settings/$UserName"; #$App_HOME_Dir = "C:/Documents and Settings/$UserName/Masking"; $App_HOME_Dir = "C:/Users/rponnusa/Masking"; $RDBMSConn_Dir = "$App_HOME_Dir/Connections"; $Dump_Dir = "$App_HOME_Dir/Dump"; $Profiler_Dir = "$App_HOME_Dir/Profiler";

PLEASE SEE THE PERL2EXE USER MANUAL UNDER "Can't locate somemodule.pm +in @INC" FOR AN EXPLANATION OF THE FOLLOWING MESSAGE: Can't locate unicore/Heavy.pl in @INC (@INC contains: PERL2EXE_STORAGE + C:\Perl\p erl2exe C:\Users\rponnusa\AppData\Local\Temp/p2xtmp-6676) at PERL2EXE_ +STORAGE/ut f8_heavy.pl line 176. BEGIN failed--compilation aborted at PERL2EXE_STORAGE/constant.pm line + 43. Compilation failed in require at PERL2EXE_STORAGE/ActiveState/Path.pm +line 11. BEGIN failed--compilation aborted at PERL2EXE_STORAGE/ActiveState/Path +.pm line 1 1. Compilation failed in require at PERL2EXE_STORAGE/ActivePerl/Config.pm + line 50. Compilation failed in require at PERL2EXE_STORAGE/XSLoader.pm line 96. Compilation failed in require at PERL2EXE_STORAGE/Tkx.pm line 215. BEGIN failed--compilation aborted at PERL2EXE_STORAGE/Tkx.pm line 215. Compilation failed in require at C:\Perl\perl2exe\Discovery.exe line 1 +0. BEGIN failed--compilation aborted at C:\Perl\perl2exe\Discovery.exe li +ne 10. This exe file was created with the evaluation version of Perl2Exe. For more information visit http://www.indigostar.com (The full version does not display this message with a 2 second delay. +) ...

Please advise me about how can i overcome this issue?


In reply to Error while making a perl using perl2exe by Dravidan

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.