Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 18475
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: smueller [...] cpan.org
Requestors: Stefan [...] Hoelscher.biz
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Is it a bug?
Date: Fri, 31 Mar 2006 16:05:23 +0200
To: bug-par [...] rt.cpan.org
From: Stefan Hölscher <Stefan [...] Hoelscher.biz>
Hello, I'm not sure if it is a bug, but I tried to compile this script for a very long time and it still doesn't work. The script works fine with ActivePerl 5.8.8.817 for Windows and the latest PPM modules I could get from ActiveState and Winnipeg (including PAR 0.90). The compilation with PAR finishes without any error messages or warnings. So it should actually work. But when I double click the executable the program starts (I can see the process in the Task Manager) and stops after a few seconds. It doesn't even show the Tk surface. I tried almost any option and parameter (I even included every used module with -M and -l) but it still does not work. I know you can't read all of those 5000 lines, but I hope you can give me a hint where to look for the fault. I would be very grateful! Thank you very much! Stefan Hölscher By the way: If I try --icon I get the following error message: Show quoted text
>C:\Perl\bin\pp: --icon and --info support needs Win32::Exe at
C:/Perl/site/lib/PAR/Packer.pm line 1050.

Message body is not shown because it is too large.

pp --icon pics/BSC.ico --gui -B -M Win32::Exe -M MIME::Base64 -M I18N -M IO -M HTML::Entities -M File::Glob -M XML::RSS -M Net::FTP -M LWP::Simple -M File::Copy -M Tk::ROText -M Tk::ProgressBar -M Tk::Dialog -M Tk -M Win32::GUI -M Win32API -M locale -M XML -M XMLRPC -M LWP -M File -M Net -M GD -M HTML -M warnings -M Unicode -M auto -M strict -M open -M Glob -M Enities -M Simple -M Copy -M Base64 -M ROText -M ActiveState -M Activeperl -M Text -l Tk -l Win32 -l Win32API -l locale -l XML -l XMLRPC -l LWP -l File -l Net -l GD -l HTML -l warnings -l Unicode -l auto -l strict -l open -l Glob -o Artikelprogramm.exe AP3.pl //--icon pics/BSC.ico
pp --gui -o Artikelprogramm.exe AP3.pl //--icon pics/BSC.ico
Subject: Is it a bug? (win32, binary)
On Fr. 31. Mär. 2006, 09:07:17, Stefan@Hoelscher.biz wrote: Show quoted text
> Hello, > > I'm not sure if it is a bug, but I tried to compile this script for a > very long time and it still doesn't work. > > The script works fine with ActivePerl 5.8.8.817 for Windows and the > latest PPM modules I could get from ActiveState and Winnipeg (including > PAR 0.90). > > The compilation with PAR finishes without any error messages or > warnings. So it should actually work. But when I double click the > executable the program starts (I can see the process in the Task > Manager) and stops after a few seconds. It doesn't even show the Tk
surface. Show quoted text
> > I tried almost any option and parameter (I even included every used > module with -M and -l) but it still does not work. > > I know you can't read all of those 5000 lines, but I hope you can give > me a hint where to look for the fault. I would be very grateful! > > Thank you very much! > Stefan Hölscher > > By the way: If I try --icon I get the following error message:
> >C:\Perl\bin\pp: --icon and --info support needs Win32::Exe at
> C:/Perl/site/lib/PAR/Packer.pm line 1050.
Hi Stefan, sorry for the delay. The error message about the --icon option means: In order for the --icon support to work, you need the Win32::Exe module. If you had installed PAR from CPAN instead of a PAR binary via PPM, you would have been asked whether you would like to install Win32::Exe. I suppose you are using the --gui option or so and are thus not seeing the error output of your script. Please do the following: a) Use a binary version of PAR and ActiveState Perl that are confirmed to be compatible as per http://par.wikia.com/wiki/PAR_PPM_Compatibility_List b) compile the script without the --gui option c) run the binary from a shell d) if problems persist, post the output here. Hope this helps, Steffen