Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Perl, Wx, DBI and PAR on Win32 - deployment problems?

by lukeyboy1 (Beadle)
on Feb 24, 2006 at 14:18 UTC ( #532547=perlquestion: print w/ replies, xml ) Need Help??
lukeyboy1 has asked for the wisdom of the Perl Monks concerning the following question:

Good afternoon, wise monks. An interesting problem for you - and I don't see any mention of it on the site.

I've an application that looks a bit like this:

#!/c:/perl/bin/perl


use strict;
use DBI;
use Wx;
use myClass;

...blah....
Anyway, It all just works perfectly, when I both run and it build an exe with pp on my machine. This is, of course, the case, since I've lots of perl specific stuff on my machine, and all the paths are set up correctly (etc.)
I'm using the following to build it:
pp -M Wx -M DBI -M myClass -B -o gui.exe foo.pl

I'm also packaging lots of DLLs, and installing them in C:/Winnt/system32 with it, in order to satisfy any requirements, these are:
wxmsw26_stc_gcc_custom.dll
wxmsw26_media_gcc_custom.dll
wxmsw26_html_gcc_custom.dll
wxmsw26_gl_gcc_custom.dll
wxmsw26_core_gcc_custom.dll
wxmsw26_adv_gcc_custom.dll
wxbase26_gcc_custom.dll
mingwm10.dll
perl58.dll

The main problem is that it just doesn't work on other win32 machines when I deploy it(*). I just can't think of other things I need to do, and I was wondering if the monks had any pearls of wisdom to pass on to me?

Thanks!

(*) I'm using the Nullsoft installer to build a proper installer for the application, for the avoidance of doubt!

Comment on Perl, Wx, DBI and PAR on Win32 - deployment problems?
Re: Perl, Wx, DBI and PAR on Win32 - deployment problems?
by Anonymous Monk on Feb 24, 2006 at 14:47 UTC
    The main problem is that it just doesn't work on other win32 machines when I deploy it(*)
    How? What error messages do you get?
      it doesn't give any error message, just simply exits, which is wierd.......! Also. When you run pp -c, the perl interpreter crashes......
        So debug it
Re: Perl, Wx, DBI and PAR on Win32 - deployment problems?
by Anonymous Monk on Feb 24, 2006 at 14:51 UTC
    Try -c option
      the perl interpreter crashes! :(
      C:\projects\access\forth>pp -M Wx -M DBI -B -c -o gui.exe foo.pl Couldn't open 37jnH1.out at C:/Perl/site/lib/Module/ScanDeps.pm line 9 +25.
      does this mean that i've some dependencies that I don't know about, or is there some other gotcha that i'm missing....?
Re: Perl, Wx, DBI and PAR on Win32 - deployment problems?
by chanio (Priest) on Feb 24, 2006 at 16:19 UTC
Re: Perl, Wx, DBI and PAR on Win32 - deployment problems?
by InfiniteSilence (Curate) on Feb 24, 2006 at 16:28 UTC
    ...other win32 machines when I deploy it(*)...

    Deploy, or install? Perl modules come with tests that can be run to check for all system dependencies before the first run. Do you have anything like that?

    Celebrate Intellectual Diversity

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://532547]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2014-11-23 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (127 votes), past polls