Hi Everybody, I am trying to get a perl script packaged that uses the WxPerl libraries, and I am running into a problem when I try to run the .exe that was created with PAR. I must add that I am new at the the whole business of using a GUI with a perl script and packaging a perl script for stand alone use. Anyway this is what I ran into and hope that somebody can tell me what I am doing wrong. When I run the exe a dialog box pops up with the following error message: Error: This application has failed to start because wxbase26_gcc_custom.dll was not found. Re-installing this application may fix this problem.
I looked inside the exe with winzip and can see that the dll (wxbase26_gcc_custom.dll) that can't be found, is in fact present in the package. I created the package with the following command: wxpar -o minimal.exe minimal.pl (I also tried "wxpar -o minimal.exe --link=wxbase26_gcc_custom.dll minimal.pl" with the same result) The packaging process did not report any problems. The script by the way, works fine when I run it from the command line with the Perl interpreter, just not from the packaged exe. I am using the following setup: perl, v5.8.9 built for MSWin32-x86-multi-thread ActivePerl Build 827 [291969] Wx 0.26 Wx-Perl-Packager 0.24 PAR 0.994 PAR-Packager 1.002 The screen dump says the following: DEBUG : Initial wx_path is : DEBUG : preparing Wx for runtime PARLEXE DEBUG : Runtime PARLEXE Preparation complete DEBUG : Preparing Load Paths for Wx DEBUG : Load Path set C:\Documents and Settings\xz3kg2\Local Settings\Temp\par-xz3kg2\cache-2688caf696428bf9343f512d5ab2d5dbf408ec6e DEBUG : Load Paths Complete DEBUG : Preparing and Loading Wx DEBUG : Core Load = 1 Use of uninitialized value in -f at Wx/Perl/Packager/Base.pm line 445. Use of uninitialized value in numeric eq (==) at Wx/Perl/Packager/Base.pm line 445. DEBUG : Load Method = packload Can't load 'C:\DOCUME~1\xz3kg2\LOCALS~1\Temp\par-xz3kg2\cache-2688caf696428bf9343f512d5ab2d5dbf408ec6e\e808d0ef.dll' for module Wx: load_fil e:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 226. at C:/Perl/site/lib/PAR/Heavy.pm line 128 Compilation failed in require at Wx/Perl/Packager/Base.pm line 489. Compilation failed in require at script/minimal.pl line 13. BEGIN failed--compilation aborted at script/minimal.pl line 13. Out of memory! At this point I am at a loss for ideas and useful hints for solving my problem are very much appreciated. Thanks Edwin
