Dravidan has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error while making a perl using perl2exe
by kcott (Archbishop) on Mar 04, 2014 at 05:12 UTC | |
by jellisii2 (Hermit) on Mar 04, 2014 at 12:30 UTC |