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: problem with a PDK exe on Vista
by Jan Dubois other posts by this author
May 1 2008 12:58PM messages near this date
problem with a PDK exe on Vista | PerlApp module to include with packaged scripts
On Thu, 01 May 2008, Spencer Chase wrote:
>  
>  Greetings Pdk,
>  
>  I have had little trouble running exes made with PerlApp on Vista with
>  one exception. Of course, this is the app that I bought the Vista
>  machine specifically to run so I am motivated to get it working. It
>  works fine when run from Komodo or from the perl interpreter. As an
>  exe. the command window shows briefly and then disappears before I can
>  see any error messages.
> 
>  The problem has something to do with the Archive::Extract module. The
>  following test works fine if Archive::Extract is commented out and the
>  exe made from that script. Including use Archive::Extract causes the
>  exe to not work although it works fine as a .pl run from the
>  interpreter or Komodo.

I don't think this is related to Vista at all; I see the same problem
on XP.  I wonder why you are not seeing any error messages in the
console though; are you using the --gui option?

Anyways, the problem is that Archive::Extract uses IPC::Cmd, which use
ExtUtil::MakeMaker (I kid you not) to run external programs.  PerlApp
doesn't realize that ExtUtils::MakeMaker on Windows requires
ExtUtils::MM_Win32.  Adding this module manually made the problem go
away.  Still don't know if ExtUtils::MakeMaker will really work
sensibly when embedded in a PerlAppified application though, as your
sample program was just loading the Archive::Extract module, not
doing anything with it.

I would prefer to use a fully contained module for a "compiled"
application instead of one that goes out to the filesystem to
find [tar unzip gzip bunzip2 uncompress] binaries to run.

Cheers,
-Jan


_______________________________________________
PDK mailing list
PDK@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Spencer Chase
Jan Dubois

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved