crabbdean has asked for the wisdom of the Perl Monks concerning the following question:
I'm attempting to compile this into an executable using "pp" with the command:push (@INC,'H:\scr\pm'); require FileUtil_0_8_9_4; require logfile; use File::Spec; use Tk; use Tk::CheckbuttonGroup; use Tk::Checkbutton; use Config::IniFiles; use Win32;
I get this error at runtime:H:\scr\pl\tmpclean>pp -M Win32::FileSecurity -M FileUtil_0_8_9_4.pm -M + logfile.pm -o tmpclean.exe tmpclean_3_3.pl
Obviously I'm doing something wrong in the compiling. Now I've done compiling like this before but this is the first time I've had to install my own personal packages or import additional modules into the exe. Can anyone offer suggestions? Thanks.H:\scr\pl\tmpclean>tmpclean.exe Can't locate Win32/FileSecurity.pm in @INC (@INC contains: CODE(0xcce4 +64) . H:\scr\pm) at H:\scr\pm/FileUtil_0_8_9_4.pm BEGIN failed--compilation aborted at H:\scr\pm/FileUtil_0_8_9_4.pm lin +e 596. Compilation failed in require at script/tmpclean_3_3.pl line 13.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Creating PAR executables
by PodMaster (Abbot) on Jun 11, 2004 at 09:00 UTC |