in reply to Compiling Problems with PerlApp! Please Help.

As far as I know, in order for PerlApp to work smoothly you need to have ActivePerl installed in your system and use its repositories to install extra modules.

Assuming you're OK with the above, I suppose it should all work out for you if you create a file argfile.args containing the following lines (which are good for ActivePerl 5.10):

--bind mingwm10.dll[file=C:/Perl/site/lib/Alien/wxWidgets/msw_2_8_9_un +i_mslu_gcc_3_4/lib/mingwm10.dll,extract,mode=444] --bind wxbase28u_gcc_wxperl.dll[file=C:/Perl/site/lib/Alien/wxWidgets/ +msw_2_8_9_uni_mslu_gcc_3_4/lib/wxbase28u_gcc_wxperl.dll,extract,mode= +444] --bind wxbase28u_net_gcc_wxperl.dll[file=C:/Perl/site/lib/Alien/wxWidg +ets/msw_2_8_9_uni_mslu_gcc_3_4/lib/wxbase28u_net_gcc_wxperl.dll,extra +ct,mode=444] --bind wxbase28u_xml_gcc_wxperl.dll[file=C:/Perl/site/lib/Alien/wxWidg +ets/msw_2_8_9_uni_mslu_gcc_3_4/lib/wxbase28u_xml_gcc_wxperl.dll,extra +ct,mode=444] --bind wxmsw28u_adv_gcc_wxperl.dll[file=C:/Perl/site/lib/Alien/wxWidge +ts/msw_2_8_9_uni_mslu_gcc_3_4/lib/wxmsw28u_adv_gcc_wxperl.dll,extract +,mode=444] --bind wxmsw28u_aui_gcc_wxperl.dll[file=C:/Perl/site/lib/Alien/wxWidge +ts/msw_2_8_9_uni_mslu_gcc_3_4/lib/wxmsw28u_aui_gcc_wxperl.dll,extract +,mode=444] --bind wxmsw28u_core_gcc_wxperl.dll[file=C:/Perl/site/lib/Alien/wxWidg +ets/msw_2_8_9_uni_mslu_gcc_3_4/lib/wxmsw28u_core_gcc_wxperl.dll,extra +ct,mode=444] --bind wxmsw28u_gl_gcc_wxperl.dll[file=C:/Perl/site/lib/Alien/wxWidget +s/msw_2_8_9_uni_mslu_gcc_3_4/lib/wxmsw28u_gl_gcc_wxperl.dll,extract,m +ode=444] --bind wxmsw28u_html_gcc_wxperl.dll[file=C:/Perl/site/lib/Alien/wxWidg +ets/msw_2_8_9_uni_mslu_gcc_3_4/lib/wxmsw28u_html_gcc_wxperl.dll,extra +ct,mode=444] --bind wxmsw28u_media_gcc_wxperl.dll[file=C:/Perl/site/lib/Alien/wxWid +gets/msw_2_8_9_uni_mslu_gcc_3_4/lib/wxmsw28u_media_gcc_wxperl.dll,ext +ract,mode=444] --bind wxmsw28u_qa_gcc_wxperl.dll[file=C:/Perl/site/lib/Alien/wxWidget +s/msw_2_8_9_uni_mslu_gcc_3_4/lib/wxmsw28u_qa_gcc_wxperl.dll,extract,m +ode=444] --bind wxmsw28u_richtext_gcc_wxperl.dll[file=C:/Perl/site/lib/Alien/wx +Widgets/msw_2_8_9_uni_mslu_gcc_3_4/lib/wxmsw28u_richtext_gcc_wxperl.d +ll,extract,mode=444] --bind wxmsw28u_stc_gcc_wxperl.dll[file=C:/Perl/site/lib/Alien/wxWidge +ts/msw_2_8_9_uni_mslu_gcc_3_4/lib/wxmsw28u_stc_gcc_wxperl.dll,extract +,mode=444] --bind wxmsw28u_xrc_gcc_wxperl.dll[file=C:/Perl/site/lib/Alien/wxWidge +ts/msw_2_8_9_uni_mslu_gcc_3_4/lib/wxmsw28u_xrc_gcc_wxperl.dll,extract +,mode=444] --bind gdilib/gdiplus.dll[file=C:/Perl/site/lib/Alien/wxWidgets/msw_2_ +8_9_uni_mslu_gcc_3_4/os/gdiplus.dl_,mode=444]

Argfile.args should be placed in the same folder with the .pl file you have been trying to compile.

Replies are listed 'Best First'.
Re^2: Compiling Problems with PerlApp! Please Help.
by StmyD (Initiate) on Oct 16, 2010 at 19:02 UTC

    what modules do I install???

      My wxPerl scripts compile fine once I install Alien-wxWidgets, Wx, and Wx-Perl-Packager. Of course, you will have to install any other modules you happen to use in your script to avoid compilation errors.

        Im sorry, but where do i install Alien-wxWidgets, Wx, and Wx-Perl-Packager? Do I put them anywhere and then install them with PPM? Here is my code:

        #!/usr/bin/perl use strict; use warnings; print "Simple Letter Counting Program\n"; print "Written by StmyD\n"; print "Processing...\n"; print "Please type word for counting: "; my $name = "<STDIN>"; my $size = length(<STDIN>); my $final = $size - 1; my $super = 100 - $final; print "Your word contains $final letters and is $super letters away fr +om being 100 letters!\n"; print "Dare to try me again? Enter here: "; my $name2 = "<STDIN>"; my $size2 = length(<STDIN>); my $final2 = $size2 - 1; my $super2 = 100 - $final2; print "Your word contains $final2 letters and is $super2 letters away +from being 100 letters!\n"; print "One more time... next step gets interesting? Enter here: "; my $name3 = "<STDIN>"; my $size3 = length(<STDIN>); my $final3 = $size3 - 1; my $super3 = 100 - $final3; print "Your word contains $final3 letters and is $super3 letters away +from being 100 letters!\n"; print "CLICK ENTER to continue to next step, or type 420!\n"; my $text = <STDIN>; print "Ok, lets try something new. Enter two numbers when prompted and + i will tell you\n a bit about them.\n"; print "Number 1: \n"; my $number1 = <STDIN>; print "Number 2: \n"; my $number2 = <STDIN>; my $abs1 = abs($number1 - $number2); my $awesome = 100 - $abs1; print "These numbers are $abs1 integers apart and their difference is +$awesome\n integers away from 100 "; print "All done.\n"; print "CLICK ENTER to exit!\n"; my $text = <STDIN>;

        The problem is, it does indeed compile without the wx BUT when other people try to use it it does not work on other machines. How can I make this program distributable? Thank you very much thus far you are helping me significantly.

        dependent executable is not checked. i just had my buddy execute this on his machine and he received the following error: "The program cant start because libcc_s_sjlj.dll is missing from your computer. Try reinstalling the program to fix this problem."

        any thoughts?