Skip Menu |
 

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 55390
Status: open
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: david.tulloh [...] AirservicesAustralia.com
Cc:
AdminCc:

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



Subject: Cannot package with GTK on Windows
Download (untitled) / with headers
text/plain 2.1k
I am attempting to package a GTK program of hello world complexity (attached). Using Strawberry Perl v5.10.1 and the latest CPAN GTK libraries. The program works when executed from Perl directly. The PAR packaging works when done in Linux (for Linux). Running Windows XP. M:\>pp -r -o gtk_test.exe gtk_test.pl --lib c:\strawberry\perl\vendor\lib Can't load 'C:\DOCUME~1\TULLOH~1\LOCALS~1\Temp\par-TULLOH_DR\cache-747980e518612640bb53c4cf915453f938dc7a91\9790912d.dll' for module Pango: load_file:The specified module could not be found at C:/strawberry/perl/lib/DynaLoader.pm line 200. at C:\strawberry\perl\vendor\lib/PAR/Heavy.pm line 128 Compilation failed in require at Gtk2.pm line 31. BEGIN failed--compilation aborted at Gtk2.pm line 31. Compilation failed in require at script/gtk_test.pl line 1. BEGIN failed--compilation aborted at script/gtk_test.pl line 1. Directory of C:\DOCUME~1\TULLOH~1\LOCALS~1\Temp\par-TULLOH_DR\cache-747980e518612640bb53c4cf915453f938dc7a91 2010-03-09 09:41 AM 183,808 9790912d.dll Cracking the ZIP file open manually I can see the four GTK dlls are present, though they have been moved from site\lib\auto\ in the Perl tree to just lib\auto\ in the PAR file. Manually adding the libraries on the command line produced a different error. I'm not sure if it's the same issue failing at a different spot or a different problem. M:\>pp -r -o gtk_test.exe gtk_test.pl --lib c:\strawberry\perl\vendor\lib -l c:\strawberry\perl\site\lib\auto\Cairo\Cairo.dll -l c:\strawberry\perl\site\lib\auto\Glib\Glib.dll -l c:\strawberry\perl\site\lib\auto\Pango\Pango.dll -l c:\strawberry\perl\site\lib\auto\Gtk2\Gtk2.dll GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed at C:/strawberry/perl/lib/DynaLoader.pm line 223. cannot register alias Gtk2::Pango::Attribute for the unregistered type (null) at C:/strawberry/perl/lib/DynaLoader.pm line 223. Compilation failed in require at script/gtk_test.pl line 1. BEGIN failed--compilation aborted at script/gtk_test.pl line 1. If you are attempting to recreate this I saw reports online that the same issue occured with Camelbox Perl, which has the GTK libraries bundled with it. Installing GTK from CPAN was a bit fiddly.
Subject: gtk_test.pl
Download gtk_test.pl
text/x-perl 270b
use Gtk2 -init; # Gtk2->init; works if you didn't use -init on use my $window = Gtk2::Window->new ('toplevel'); my $button = Gtk2::Button->new ('Quit'); $button->signal_connect (clicked => sub { Gtk2->main_quit }); $window->add ($button); $window->show_all; Gtk2->main;
From: david.tulloh [...] AirservicesAustralia.com
Download (untitled) / with headers
text/plain 1.2k
Comments from Radek http://osdir.com/ml/lang.perl.par/2007-08/msg00028.html led me to look at downgrading Module::ScanDeps When I downgrade to Module::ScanDeps 0.73 using: Show quoted text
cpan> install S/SM/SMUELLER/Module-ScanDeps-0.73.tar.gz
I can successfully run with the following command line pp -r -o gtk_test.exe gtk_test.pl ^ --lib c:\strawberry\perl\vendor\lib ^ -l c:\strawberry\perl\site\lib\auto\Cairo\Cairo.dll ^ -l c:\strawberry\perl\site\lib\auto\Glib\Glib.dll ^ -l c:\strawberry\perl\site\lib\auto\Pango\Pango.dll ^ -l c:\strawberry\perl\site\lib\auto\Gtk2\Gtk2.dll Manually specifying the libraries is required. This fails in Module::ScanDeps 0.74 and the latest release, 0.96. It's not clear to me though if this is actually a Module::ScanDeps bug. Comparing the two archives I get: Only in 0.74/lib/auto/Glib: Glib.dll Only in 0.74/lib/auto/Gtk2: Gtk2.dll Only in 0.74/lib/auto/Pango: Pango.dll Only in 0.74/lib: gtk_test.pl diff -r 0.73/MANIFEST 0.74/MANIFEST 67a68 Show quoted text
> lib/auto/Glib/Glib.dll
68a70 Show quoted text
> lib/auto/Gtk2/Gtk2.dll
75a78 Show quoted text
> lib/auto/Pango/Pango.dll
83a87 Show quoted text
> lib/gtk_test.pl
That is, in the working version the dlls are included in the shlib directory. In the non-working version they are included in both the shlib directory and lib/auto/
Subject: Re: [rt.cpan.org #55390] Cannot package with GTK on Windows --> Ref #[1ML0Y6R4lM1cq4x]
Date: 10 Mar 2010 09:51:11 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: announcement [...] support.netzero.com
Download (untitled) / with headers
text/plain 641b
Hello, Thank you for contacting NetZero. This is an automated reply and no further response will be sent. Please do not reply to this email. If you are looking for help here are some useful links: * Online NetZero Help Center: http://www.netzero.com/support * Online Billing and Account Center: https://account.netzero.net * Reset/Retrieve your Password: http://my.netzero.com/s/resetpassword * Lookup Access Numbers in your area: http://my.netzero.com/s/numbers * Order/Download NetZero Software: http://www.netzero.com/support/start/download-index.html Thank you for choosing NetZero. Sincerely, NetZero Member Services
Subject: Re: Re: [rt.cpan.org #55390] Cannot package with GTK on Windows --> Ref #[1ML0Y6R4lM1cq4x]
Date: 11 Mar 2010 12:13:31 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: announcement [...] support.netzero.com
Download (untitled) / with headers
text/plain 641b
Hello, Thank you for contacting NetZero. This is an automated reply and no further response will be sent. Please do not reply to this email. If you are looking for help here are some useful links: * Online NetZero Help Center: http://www.netzero.com/support * Online Billing and Account Center: https://account.netzero.net * Reset/Retrieve your Password: http://my.netzero.com/s/resetpassword * Lookup Access Numbers in your area: http://my.netzero.com/s/numbers * Order/Download NetZero Software: http://www.netzero.com/support/start/download-index.html Thank you for choosing NetZero. Sincerely, NetZero Member Services
Subject: Re: Re: Re: [rt.cpan.org #55390] Cannot package with GTK on Windows --> Ref #[1ML0Y6R4lM1cq4x]
Date: 12 Mar 2010 15:59:31 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: announcement [...] support.netzero.com
Download (untitled) / with headers
text/plain 641b
Hello, Thank you for contacting NetZero. This is an automated reply and no further response will be sent. Please do not reply to this email. If you are looking for help here are some useful links: * Online NetZero Help Center: http://www.netzero.com/support * Online Billing and Account Center: https://account.netzero.net * Reset/Retrieve your Password: http://my.netzero.com/s/resetpassword * Lookup Access Numbers in your area: http://my.netzero.com/s/numbers * Order/Download NetZero Software: http://www.netzero.com/support/start/download-index.html Thank you for choosing NetZero. Sincerely, NetZero Member Services
Subject: Re: Re: Re: Re: [rt.cpan.org #55390] Cannot package with GTK on Windows --> Ref #[1ML0Y6R4lM1cq4x]
Date: 13 Mar 2010 16:54:19 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: announcement [...] support.netzero.com
Download (untitled) / with headers
text/plain 641b
Hello, Thank you for contacting NetZero. This is an automated reply and no further response will be sent. Please do not reply to this email. If you are looking for help here are some useful links: * Online NetZero Help Center: http://www.netzero.com/support * Online Billing and Account Center: https://account.netzero.net * Reset/Retrieve your Password: http://my.netzero.com/s/resetpassword * Lookup Access Numbers in your area: http://my.netzero.com/s/numbers * Order/Download NetZero Software: http://www.netzero.com/support/start/download-index.html Thank you for choosing NetZero. Sincerely, NetZero Member Services
Subject: Re: Re: Re: Re: Re: [rt.cpan.org #55390] Cannot package with GTK on Windows --> Ref #[1ML0Y6R4lM1cq4x]
Date: 14 Mar 2010 12:28:03 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: announcement [...] support.netzero.com
Download (untitled) / with headers
text/plain 641b
Hello, Thank you for contacting NetZero. This is an automated reply and no further response will be sent. Please do not reply to this email. If you are looking for help here are some useful links: * Online NetZero Help Center: http://www.netzero.com/support * Online Billing and Account Center: https://account.netzero.net * Reset/Retrieve your Password: http://my.netzero.com/s/resetpassword * Lookup Access Numbers in your area: http://my.netzero.com/s/numbers * Order/Download NetZero Software: http://www.netzero.com/support/start/download-index.html Thank you for choosing NetZero. Sincerely, NetZero Member Services
Subject: Re: Re: Re: Re: Re: Re: [rt.cpan.org #55390] Cannot package with GTK on Windows --> Ref #[1ML0Y6R4lM1cq4x]
Date: 16 Mar 2010 14:12:42 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: announcement [...] support.netzero.com
Download (untitled) / with headers
text/plain 641b
Hello, Thank you for contacting NetZero. This is an automated reply and no further response will be sent. Please do not reply to this email. If you are looking for help here are some useful links: * Online NetZero Help Center: http://www.netzero.com/support * Online Billing and Account Center: https://account.netzero.net * Reset/Retrieve your Password: http://my.netzero.com/s/resetpassword * Lookup Access Numbers in your area: http://my.netzero.com/s/numbers * Order/Download NetZero Software: http://www.netzero.com/support/start/download-index.html Thank you for choosing NetZero. Sincerely, NetZero Member Services
Subject: Re: Re: Re: Re: Re: Re: Re: [rt.cpan.org #55390] Cannot package with GTK on Windows --> Ref #[1ML0Y6R4lM1cq4x]
Date: 17 Mar 2010 12:07:37 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: announcement [...] support.netzero.com
Download (untitled) / with headers
text/plain 641b
Hello, Thank you for contacting NetZero. This is an automated reply and no further response will be sent. Please do not reply to this email. If you are looking for help here are some useful links: * Online NetZero Help Center: http://www.netzero.com/support * Online Billing and Account Center: https://account.netzero.net * Reset/Retrieve your Password: http://my.netzero.com/s/resetpassword * Lookup Access Numbers in your area: http://my.netzero.com/s/numbers * Order/Download NetZero Software: http://www.netzero.com/support/start/download-index.html Thank you for choosing NetZero. Sincerely, NetZero Member Services
Subject: Re: Re: Re: Re: Re: Re: Re: Re: [rt.cpan.org #55390] Cannot package with GTK on Windows --> Ref #[1ML0Y6R4lM1cq4x]
Date: 18 Mar 2010 08:26:46 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: announcement [...] support.netzero.com
Download (untitled) / with headers
text/plain 641b
Hello, Thank you for contacting NetZero. This is an automated reply and no further response will be sent. Please do not reply to this email. If you are looking for help here are some useful links: * Online NetZero Help Center: http://www.netzero.com/support * Online Billing and Account Center: https://account.netzero.net * Reset/Retrieve your Password: http://my.netzero.com/s/resetpassword * Lookup Access Numbers in your area: http://my.netzero.com/s/numbers * Order/Download NetZero Software: http://www.netzero.com/support/start/download-index.html Thank you for choosing NetZero. Sincerely, NetZero Member Services
Subject: Re: Re: Re: Re: Re: Re: Re: Re: Re: [rt.cpan.org #55390] Cannot package with GTK on Windows --> Ref #[1ML0Y6R4lM1cq4x]
Date: 18 Mar 2010 20:27:07 -0000
To: bug-PAR-Packer [...] rt.cpan.org
From: announcement [...] support.netzero.com
Download (untitled) / with headers
text/plain 641b
Hello, Thank you for contacting NetZero. This is an automated reply and no further response will be sent. Please do not reply to this email. If you are looking for help here are some useful links: * Online NetZero Help Center: http://www.netzero.com/support * Online Billing and Account Center: https://account.netzero.net * Reset/Retrieve your Password: http://my.netzero.com/s/resetpassword * Lookup Access Numbers in your area: http://my.netzero.com/s/numbers * Order/Download NetZero Software: http://www.netzero.com/support/start/download-index.html Thank you for choosing NetZero. Sincerely, NetZero Member Services


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.