From: Casey W. <wil...@nc...> - 2001-11-21 20:09:32
|
Ok, may have figured it out...I was getting these errors... U:\Perls\Wx\VNC>perlapp -f -g -c vncadmin.pl -exe testwx.exe "EVT_MENU" is not exported by the Wx::Event module at VA_Frame.pm line 5 "EVT_SIZE" is not exported by the Wx::Event module at VA_Frame.pm line 5 FreeStanding Builder failed to compile the script : Can't continue after import errors at VA_Frame.pm line 5 BEGIN failed--compilation aborted at VA_Frame.pm line 5. BEGIN failed--compilation aborted at (eval 30) line 5. ...whenever I tried building with PerlApp. So...I opened up the Event.pm in the Wx directory in my site\lib dir and added all of the events that I'm using in my program to the @EXPORT_OK array. Now building and running works. My question is...Would adding all of the Events in the Event.pm file into the @EXPORT_OK array screw anything up, (I don't see why it would)? If not, could this be added in the next release of wxPerl? :) Heck, I'll do it and send in if the developer doesn't want the hassle. :) -Casey Williams ----- Original Message ----- From: "Casey Williams" <wil...@nc...> To: <wxp...@li...> Sent: Wednesday, November 21, 2001 1:43 PM Subject: Re: [wxperl-users] Perl2Exe with wxPerl > It seems that easy wxPerl scripts work with PerlApp However, once I started > importing events and such, PerlApp started bombing. I'll hack around and > see what I can find out. :( > > -Casey > > ----- Original Message ----- > From: "Casey Williams" <wil...@nc...> > To: "Marco Trudel" <wx...@so...>; <wxp...@li...> > Sent: Wednesday, November 21, 2001 1:09 PM > Subject: Re: [wxperl-users] Perl2Exe with wxPerl > > > > I'm not sure about Perl2Exe but with PerlApp, it extracts the stuff in the > > exe to the TEMP system variable. The location of the dir it extracts to > is > > $INC[0]. You'll be able to find "bind"ed files under there. Knowing > > this...I'm thinking *maybe* a BEGIN block could be used to copy this to a > > permanant location. > > > > -Casey > > > > ----- Original Message ----- > > From: "Marco Trudel" <wx...@so...> > > To: <wxp...@li...> > > Sent: Wednesday, November 21, 2001 12:56 PM > > Subject: Re: [wxperl-users] Perl2Exe with wxPerl > > > > > > > Marcus wrote: > > > > > > > Is it possible to use Perl2Exe, or PerlApp, with wxPerl to create > > > > binaries for distribution, or is there another way? > > > > > > > > Thanks, > > > > > > > > Marcus > > > > > > > > > > yeah, it's possible... i'll do it right now... > > > but it's like Casey Williams says, you have to use a dll... > > > > > > but when we already have this topic, i've a question to perl2exe: > > > i think it just takes the code and the libs to a file and when you > > > execute it it extracts itselft somewhere and runs the script with the > > > interpreter... > > > > > > is this right? i think so because the exe files are always very big... > > > about 700kb for a simple print... > > > isn't there a real perl COMPILER in this whole world out there ? > > > > > > greetings > > > marco > > > > > > > > > > > > _______________________________________________ > > > wxperl-users mailing list > > > wxp...@li... > > > https://lists.sourceforge.net/lists/listinfo/wxperl-users > > > > > > > > > _______________________________________________ > > wxperl-users mailing list > > wxp...@li... > > https://lists.sourceforge.net/lists/listinfo/wxperl-users > > > > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |