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.
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
Sorry, this should have been filed against PAR::Packer.
I can't move it. So I have opened ticket #55390 there.
Hello,
Could somebody unsubscribe this robot?
Dave Howorth wrote:
> announcement via RT wrote:
>> Thank you for contacting NetZero.
Thank you for spamming us.
> Could somebody unsubscribe this robot?
I can't. It's not listed as a watcher! It shouldn't even be getting the
mails unless David's (the requestor)'s address is somehow triggering that.
Cheers,
Steffen
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.