ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pdk
pdk
RE: perlapp - build exe from script but errors when running exe
by Jan Dubois other posts by this author
Dec 13 2007 11:30AM 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
On Thu, 13 Dec 2007, Brzezinski, Paul J wrote:
> >On Wed, 12 Dec 2007, Jan Dubois wrote:
> >> 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?

Setting the proper %INC entry should have prevented this problem.  If
it still occurs even after the fix then there is probably some logic
in the module itself that further increments the reference count of the
DLL, preventing it from unloading.

The problem should go away if you *don't* use the --clean option.
Actually, this may not work because the file is bound using --bind
and therefore is not put in the shared temp directory.

Did you try using --dyndll to avoid writing the DLL to disk in the
first place?

Cheers,
-Jan

_______________________________________________
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved