in reply to Re: Fail to pp cairo, pango on windows
in thread Fail to pp cairo, pango on windows

This time, I included some related files, but still got a failure.

pp params:
D:\>pp -l c:\camelbox\site\lib\auto\Glib\Glib.dll -l c:\camelbox\site\lib\auto\Gtk2\Gtk2.dll -l c:\camelbox\site\lib\auto\Cairo\Cairo.dll -l c:\camelbox\site\lib\auto\Pango\Pango.dll -l c:\camelbox\lib\libcairo.dll.a -l c:\camelbox\lib\libcairo.dll.a -o Corr.exe mydoc\Corr.pl
Error message:
GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion `g_t +ype_from_name (name) == 0' failed at C:/camelbox/lib/DynaLoader.pm li +ne 226. cannot register alias Gtk2::Pango::Attribute for the unregistered type + (null) at C:/camelbox/lib/DynaLoader.pm line 226. Compilation failed in require at script/Corr.pl line 16. BEGIN failed--compilation aborted at script/Corr.pl line 16.

Replies are listed 'Best First'.
Re^3: Fail to pp cairo, pango on windows
by marto (Cardinal) on Nov 24, 2009 at 07:54 UTC

    I'm not a camelbox user, their mailing list has several threads on this topic which I found via seraching google. Perhaps you should ask over at http://code.google.com/p/camelbox/ either via IRC or their google group.

Re^3: Fail to pp cairo, pango on windows
by Anonymous Monk on Nov 24, 2009 at 12:10 UTC
    You don't want libcairo.dll.a What you want is to use lisdlls (or dependencywalker) to find which dlls are loaded, which for me turned out to be
    -l libglib-2.0-0.dll -l libgobject-2.0-0.dll -l libgthread-2.0-0.d +ll -l libcairo-2.dll -l libfontconfig-1.dll -l libexpat-1.dll -l +freetype6.dll -l libpng12-0.dll -l zlib1.dll -l libpango-1.0-0.dll + -l libgmodule-2.0-0.dll -l libpangocairo-1.0-0.dll -l libpangoft2 +-1.0-0.dll -l libpangowin32-1.0-0.dll -l libatk-1.0-0.dll -l libgd +k-win32-2.0-0.dll -l libgdk_pixbuf-2.0-0.dll -l libgio-2.0-0.dll - +l libgtk-win32-2.0-0.dll -l intl.dll
    But that didn't work It seems like PAR/Gtk2-perl teams could use an infusion of cash :)

    You should use the Cava packager, I've tested it just now and it worked.

      The Cava also don't work, with same error message...
        Hmm, well it works for me :/