From: Marcus <li...@wo...> - 2001-11-21 18:17:38
|
Is it possible to use Perl2Exe, or PerlApp, with wxPerl to create binaries for distribution, or is there another way? Thanks, Marcus |
From: Casey W. <wil...@nc...> - 2001-11-21 18:30:46
|
I tried to do this recently and found that I had to include the wx22_7.dll *outside* the exe, as long as it's in a system dir or in the same dir as your exe, it should work. I've been thinking about maybe binding the dll into the exe and then seeing if I could use a BEGIN block to copy that dll to where it needs to be. We'll see. -Casey Williams ----- Original Message ----- From: "Marcus" <li...@wo...> To: <wxp...@li...> Sent: Wednesday, November 21, 2001 12:17 PM Subject: [wxperl-users] Perl2Exe with wxPerl > Is it possible to use Perl2Exe, or PerlApp, with wxPerl to create > binaries for distribution, or is there another way? > > Thanks, > > Marcus > > > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Marco T. <wx...@so...> - 2001-11-21 18:58:25
|
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 |
From: Casey W. <wil...@nc...> - 2001-11-21 19:14:19
|
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 > |
From: Casey W. <wil...@nc...> - 2001-11-21 19:43:40
|
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 > |
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 > |
From: Jouke V. <jo...@pv...> - 2001-11-21 19:29:47
|
> 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 ? No, there is no real compiler. The size of your executable mostly has to do with the interpreter and the modules you include. That has nothing to do with the complexity of the program you write... -- *-----------------------------------------------* |Jouke Visser |jo...@pv... | |Perl GUI Geek |http://www.pvoice.org | *-----------------------------------------------* PS: Notice new mailaddress!! |