Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Failure with perl2exe

Status
Not open for further replies.

MoshiachNow

IS-IT--Management
Feb 6, 2002
1,851
IL
HI,

Running perl2exe gives warniing.
An executable is created,however it closes immediately with some warning that I'm not able to grasp ...too fast...

perl2exe nettestTk.pl

Perl2Exe V8.70 Copyright (c) 1997-2005 IndigoSTAR Software
Registered to Lev Weissman:levcreo:20060214
Converting 'nettestTk.pl' to nettestTk.exe
Warning: Can't locate Mac/InternetConfig.pm
at D:\Perl\lib\Net\Config.pm line 40
@INC = D:\Perl\lib, D:\Perl\site\lib,

tried installing Mac::InternetConfig.pm with CPAN and ppm,got errors.

1.Any suggestion for a workaround?
2.How can I catch the messages produced by the perl2exe generated executable ?

Thanks

Long live king Moshiach !
 
Try
perl2exe nettestTk.pl>>c:\results.txt
The >>c:\results.txt part will redirect the console output to a file at c:\ named results.txt. Nothing will show on the console while this runs.
 
Thanks,

I meant to catch the messages from the immediately dissapearing window,produced by the resulted application .exe.

The window just flashes and closes ...

Long live king Moshiach !
 
Moshi

What about closing and then re-opening (to a file) STDERR as the first thing you do in your script?

Mike

The options are: fast, cheap and right - pick any two. [orientalbow]

Want great answers to your Tek-Tips questions? Have a look at faq219-2884

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top