RE: perlapp - build exe from script but errors when running exe
by Paul J Brzezinski other posts by this author
Dec 13 2007 10:17AM messages near this date
RE: perlapp - build exe from script but errors when running exe
|
RE: perlapp - build exe from script but errors when running exe
> -----Original Message-----
> From: pdk-bounces@[...].com [mailto:pdk-
> bounces@[...].com] On Behalf Of Brzezinski, Paul J
> Sent: Wednesday, December 12, 2007 3:53 PM
> To: Jan Dubois; PDK@[...].com
> Subject: RE: perlapp - build exe from script but errors when running
> exe
>
> Thank you Jan, the update you suggested got rid of that msg.
>
> Paul
>
>
> > -----Original Message-----
> > From: Jan Dubois [mailto:jand@[...].com]
> > Sent: Wednesday, December 12, 2007 3:40 PM
> > To: Brzezinski, Paul J; PDK@[...].com
> > Subject: RE: perlapp - build exe from script but errors when running
> > exe
> >
> > On Wed, 12 Dec 2007, Brzezinski, Paul J wrote:
> > > Yes it did seem to work!
> > >
> > > I still get one line that I don't expect...is this related to the
> way
> > > the 3rd party module uses DynaLoader?
> > >
> > > Use of uninitialized value in pattern match (m//) at
> > > /<C:\source\misc_perl\AIXperf.exe>DynaLoader.pm line 163.
> >
> > Yes. You should fix the autoImport() function of your 3rd party
> module
> > by adding the following line:
> >
> > > sub autoImport
> > > {
> > > my $ver = shift;
> > > if (!(eval "
> > > package $ver;
> > > require DynaLoader;
> > > \@ISA = qw(DynaLoader);
> >
> > \$INC{\"$ver.pm\"} = \$INC{\"perlchartdir.pm\"};
> >
> > > bootstrap $ver;
> > > sub perlchartdir::major_ver { return &major_ver; };
> > > sub perlchartdir::minor_ver { return &minor_ver; }
> > > sub perlchartdir::copyright { return ©right; }
> > > sub perlchartdir::id { return &id; }
> > > sub perlchartdir::callMethod { return &callMethod; }
> > > ") && ($@)) {
> > > die;
> > > }
> > > }
> >
> > Fixing the warning may actually be needed to make sure the extracted
> > library is properly deleted on process exit.
> >
I noticed that the executable complains -- this is the last thing that
it does just before terminating:
rmtree failed: Directory not empty
Is there a work-around or a way to suppress the message?
> > Cheers,
> > -Jan
> >
>
> _______________________________________________
> PDK mailing list
> PDK@[...].com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
PDK mailing list
PDK@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Paul J Brzezinski
Jan Dubois
Paul J Brzezinski
Jan Dubois
Paul J Brzezinski
Jan Dubois
Paul J Brzezinski
Paul J Brzezinski
Jan Dubois
Paul J Brzezinski
|