Tue Mar 09 20:38:55 2010: Request 55390 was acted upon. Transaction: Correspondence added by david.tul...@airservicesaustralia.com Queue: PAR-Packer Subject: Cannot package with GTK on Windows Broken in: 1.002 Severity: Important Owner: Nobody Requestors: david.tul...@airservicesaustralia.com Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=55390 >
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: 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 > lib/auto/Glib/Glib.dll 68a70 > lib/auto/Gtk2/Gtk2.dll 75a78 > lib/auto/Pango/Pango.dll 83a87 > 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/