Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 102019
Status: open
Priority: 0/
Queue: PAR

People
Owner: Nobody in particular
Requestors: vidalch_1 [...] yahoo.com
Cc:
AdminCc:

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



Subject: Windows 7 exe issue / Perl probram compiled with PP
Date: Mon, 9 Feb 2015 07:02:33 -0800
To: bug-PAR [...] rt.cpan.org
From: Chris <vidalch_1 [...] yahoo.com>
Good Morning, I am running Strawberry Perl for Windows. The majority of devices that this exe will be sent to are Win 7. I'm running pp from a Win7 machine. I have a Perl script written using Perl Tk. I enter the following at the command line : C:\Users\chrivida\Desktop>pp --gui --icon hello.ico -o out.exe sinfo5.pl Unknown option: icon C:\Strawberry\perl\site\bin/pp: Input file hello.ico was not found I figured pp couldnt find the ico file so I moved an ico into the same directory. And entered : C:\Users\chrivida\Desktop>pp --gui --icon player.ico -o out.exe sinfo5.pl Unknown option: icon C:\Strawberry\perl\site\bin/pp: Binary 'player.ico' sure doesn't smell like perl source! Can't locate object method "maybe_command" via package "MM" (perhaps you forgot to load "MM"?) at C:/Strawberry/perl/site/lib/PAR/Packer.pm line 1569. I then tried ... C:\Users\chrivida\Desktop>pp --gui --output=output.exe sinfo5.pl No errors, I see the camel icon for output.exe on my desktop. I double click it and the program runs fine. I go back to my desktop and rename output sinfo5, double click, the programs starts up and runs without a problem. When I try to share the executable, usually delivered through email, the icon shows up on everyones desktop with the camel icon, however, when they double click the desktop icon, the program doesnt launch. Thanks Chris Christopher Vidal vidalch_1@yahoo.com
Am 2015-02-09 10:05:41, vidalch_1@yahoo.com schrieb: Show quoted text
> I enter the following at the command line : > > C:\Users\chrivida\Desktop>pp --gui --icon hello.ico -o out.exe > sinfo5.pl > Unknown option: icon
The --icon option has been removed, don't use it. Show quoted text
> When I try to share the executable, usually delivered through email, > the icon shows up on everyones desktop with the camel icon, however, > when they double click the desktop icon, the program doesnt launch.
Have them run the executable from a DOS box and see if it prints any error messages. Cheers, Roderich
Subject: Re: [rt.cpan.org #102019] Windows 7 exe issue / Perl probram compiled with PP
Date: Mon, 9 Feb 2015 09:53:19 -0800
To: "bug-PAR [...] rt.cpan.org" <bug-PAR [...] rt.cpan.org>
From: Chris <vidalch_1 [...] yahoo.com>
Will do .. thanks man !! Sent from Yahoo Mail on Android
Subject: Re: [rt.cpan.org #102019] Windows 7 exe issue / Perl probram compiled with PP
Date: Mon, 9 Feb 2015 11:11:31 -0800
To: bug-PAR [...] rt.cpan.org
From: Chris <vidalch_1 [...] yahoo.com>
Error is attached. I do not get the same error when I execute from the command line. Christopher Vidal vidalch_1@yahoo.com -------------------------------------------- On Mon, 2/9/15, Roderich Schupp via RT <bug-PAR@rt.cpan.org> wrote: Subject: [rt.cpan.org #102019] Windows 7 exe issue / Perl probram compiled with PP To: vidalch_1@yahoo.com Date: Monday, February 9, 2015, 12:26 PM <URL: https://rt.cpan.org/Ticket/Display.html?id=102019 > Am 2015-02-09 10:05:41, vidalch_1@yahoo.com schrieb: Show quoted text
> I enter the following  at the command line : > > C:\Users\chrivida\Desktop>pp --gui --icon hello.ico
-o out.exe Show quoted text
> sinfo5.pl > Unknown option: icon
The --icon option has been removed, don't use it. Show quoted text
> When I try to share the executable, usually delivered
through email, Show quoted text
> the icon shows up on everyones desktop with the camel
icon, however, Show quoted text
> when they double click  the desktop icon, the
program doesnt launch. Have them run the executable from a DOS box and see if it prints any error messages. Cheers, Roderich
Download error1.PNG
image/png 3k

Message body is not shown because sender requested not to inline it.

On 2015-02-09 14:14:27, vidalch_1@yahoo.com wrote: Show quoted text
> > > Error is attached. I do not get the same error when I execute from > the command line.
The error most likely means that XSLoader.pm didn't get packed in. On your machine, it's of course available (though outside of the packed executable) so you don't get the error. Though that should be considered a bug, as the packed executable shouldn't use anything from the outside. Very strange, also @INC as given in the error message looks bogus. What versions of PAR, PAR::Packer and Module::ScanDeps are you using? Does the problem also occur with a minimalistic Tk program, e.g. examples/tiny from the Tk distribution? Cheers, Roderich
Am 2015-02-09 16:50:42, RSCHUPP schrieb: Show quoted text
> What versions of PAR, PAR::Packer and Module::ScanDeps are you using?
Could you also run contrib/extract_embedded/extract-embedded.pl (from the PAR::Packer distribution) on your packed executable like so: mkdir stage2 perl contrib/extract_embedded/extract-embedded.pl packed.exe stage2 and post what is printed? Cheers, Roderich