Skip Menu |

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

Report information
The Basics
Id: 55358
Status: resolved
Priority: 0/
Queue: PAR-Dist

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

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



Subject: Cannot package GTK on Windows
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
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;
Subject: Re: [rt.cpan.org #55358] Cannot package GTK on Windows --> Ref #[1ML0X977iO03C4x]
Date: 9 Mar 2010 13:48:35 -0000
To: bug-PAR-Dist [...] rt.cpan.org
From: announcement [...] support.netzero.com
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
From: david.tulloh [...] AirservicesAustralia.com
Sorry, this should have been filed against PAR::Packer. I can't move it. So I have opened ticket #55390 there.
Subject: Re: Re: [rt.cpan.org #55358] Cannot package GTK on Windows --> Ref #[1ML0X977iO03C4x]
Date: 10 Mar 2010 10:06:03 -0000
To: bug-PAR-Dist [...] rt.cpan.org
From: announcement [...] support.netzero.com
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 #55358] Cannot package GTK on Windows --> Ref #[1ML0X977iO03C4x]
Date: 11 Mar 2010 12:47:39 -0000
To: bug-PAR-Dist [...] rt.cpan.org
From: announcement [...] support.netzero.com
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 #55358] Cannot package GTK on Windows --> Ref #[1ML0X977iO03C4x]
Date: 12 Mar 2010 14:37:17 -0000
To: bug-PAR-Dist [...] rt.cpan.org
From: announcement [...] support.netzero.com
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 #55358] Cannot package GTK on Windows --> Ref #[1ML0X977iO03C4x]
Date: 13 Mar 2010 16:54:43 -0000
To: bug-PAR-Dist [...] rt.cpan.org
From: announcement [...] support.netzero.com
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 #55358] Cannot package GTK on Windows --> Ref #[1ML0X977iO03C4x]
Date: 14 Mar 2010 12:27:16 -0000
To: bug-PAR-Dist [...] rt.cpan.org
From: announcement [...] support.netzero.com
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 #55358] Cannot package GTK on Windows --> Ref #[1ML0X977iO03C4x]
Date: 16 Mar 2010 14:12:12 -0000
To: bug-PAR-Dist [...] rt.cpan.org
From: announcement [...] support.netzero.com
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
Wrong queue, spam infested. Direct follow ups to #55390